Skip to main content
POST
Void an authorized payment

Authorizations

X-Suby-Api-Key
string
header
required

Secret API key. sk_live_… (production) or sk_sandbox_… (sandbox).

Path Parameters

id
string
required
Example:

"pay_abc123"

Response

Voided (status CANCELED, or PENDING pending webhook)

success
boolean
required
Example:

true

data
object
required

Endpoint-specific payload.

message
string