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
Cancel a payment link
This reference describes API version
2026-07-31. Send Commet-Version: 2026-07-31 with your request.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
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"