Skip to main content
POST
Cancel a payment

Authorizations

X-API-Key
string
header
required

Path Parameters

id
string
required

Body

application/json
reason
string
required
Required string length: 1 - 500

Response

Payment cancelled

id
string
required
externalId
string
required
status
enum<string>
required
Available options:
draft,
awaiting_approval,
approved,
awaiting_buyer,
buyer_kyc_pending,
buyer_kyc_approved,
buyer_kyc_rejected,
fx_quoted,
fx_expired,
on_ramp_pending,
on_ramp_failed,
fiat_received,
on_chain_confirmed,
offramp_pending,
offramp_failed,
settled,
partial_payment,
expired,
cancelled,
restored,
manual_review
amount
string
required
currency
string
required
hostedPaymentUrl
string
required
buyer
object
required
returnUrl
string | null
required
metadata
object | null
required
display
object | null
required
paymentChain
string | null
required
paymentAddress
string | null
required
brlSettledAmount
string | null
required
fxRateAtSettlement
string | null
required
expiresAt
string | null
required
cancelReason
string | null
required
createdAt
string
required
updatedAt
string
required
affiliate
object | null