v1
latestOpenAPI 3.1.02026-07-2022194782.1 KBModifications
Refund or cancel a payment
Refunds a payment if it has already been captured, and cancels a payment if it has not yet been captured. Returns a unique reference for this request. You get the outcome of the request asynchronously, in a CANCEL_OR_REFUND webhook.
The reversed amount is always the full payment amount.
Do not use this request for payments that involve multiple partial captures.
For more information, refer to Reversal.
post/payments/{paymentPspReference}/reversals
Path parameters
paymentPspReferencestring required
The pspReference of the payment that you want to reverse.
Headers
Idempotency-Keystring
A unique identifier for the message with a maximum of 64 characters (we recommend a UUID).
Request body
Response
Created - the request has been fulfilled and has resulted in one or more new resources being created.