Payments
Cancel a payment link
Cancel a pending payment link so it can no longer be paid. Only a link that has not been paid or started processing can be canceled; canceling an already canceled link is a no-op. Charges cannot be canceled.
POST
cURL
Cancel a pending payment link so it can no longer be paid. Only a link that has not been paid or started processing can be canceled; canceling an already canceled link is a no-op. Charges cannot be canceled.
Authorizations
Headers
Unique key used to safely retry this write for 24 hours without applying it twice.
Required string length:
1 - 200API version used by this reference. Send this header to select this contract explicitly.
Path Parameters
Response
Success
Charge context captured for new payments. Null for historical payments with no captured context.
Available options:
link, charge Available options:
pending, processing, succeeded, requires_action, failed, canceled Available options:
stripe, commet, dlocal Required range:
-9007199254740991 <= x <= 9007199254740991Required range:
-9007199254740991 <= x <= 9007199254740991Required range:
-9007199254740991 <= x <= 9007199254740991Allowed value:
"payment"