Cancel Payment
Cancel a pending authorized payment before completion to set its status to cancelled.
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
The unique identifier of the payment (UUID, 36 chars).
The unique identifier of the transaction (UUID, 36 chars).
Body
Identification of the payment transaction defined by the merchant (MAX 255; MIN 3).
Description of the cancellation.(MAX 255; MIN 3)
Reason for the cancellation. Values can be DUPLICATE, FRAUDULENT, and REQUESTED_BY_CUSTOMER.
DUPLICATE, FRAUDULENT, REQUESTED_BY_CUSTOMER Specifies additional data for required the transaction response
Response
200
"438bea6c-9061-4416-b824-469c3c05868d"
"CANCEL"
"SUCCEEDED"
"CARD"
""
"2024-06-06T14:03:08.384014Z"
"2024-06-06T14:03:08.453617Z"
"SUCCEEDED"
"Transaction successful"
false
false