Payments
Cancel Payment
Cancels a pending payment before it completes, updating its status to cancelled.
POST
Cancel Payment
A payment with a PENDING status due to an AUTHORIZE transaction status can be canceled before it is completed if the payment is no longer required. Sending a cancel request will update the payment status to CANCELLED.
If you need a receipt for the canceled transaction, you can retrieve it after it has been created. To do this, use the Retrieve Payment by ID endpoint and check the
Alternative Payment MethodsAlternative payment methods such as PIX also support payment cancellation with a PENDING status. Reach out to your technical account manager for more information.
receipt_url field in the payment.transaction object. See The Payment Object for receipt, receipt_url, and receipt_language.
To use this endpoint, you have to provide an X-Idempotency-Key in your request. Check the Authentication page for more information.Authorizations
Path Parameters
Body
application/json
Response
201