Cancel an in-person refund
This endpoint allows you to cancel an unreferenced refund request before it has been completed.
In your call, you can refer to the original refund request either by using the tenderReference
, or the pspReference
. We recommend implementing based on the tenderReference
, as this is generated for both offline and online transactions.
For more information, refer to Cancel an unreferenced refund.
Request Parameters
This field contains additional data, which may be required for a particular modification request.
The additionalData object consists of entries, each of which includes the key and value.
The merchant account that is used to process the payment.
The amount that needs to be captured/refunded. Required for /capture
and /refund
, not allowed for /cancel
. The currency
must match the currency used in authorisation, the value
must be smaller than or equal to the authorised amount.
Authentication data produced by an MPI (Mastercard SecureCode, Visa Secure, or Cartes Bancaires).
The original merchant reference to cancel.
The original pspReference of the payment to modify. This reference is returned in:
- authorisation response
- authorisation notification
Your reference for the payment modification. This reference is visible in Customer Area and in reports. Maximum length: 80 characters.
An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to split payments for platforms.
The transaction reference provided by the PED. For point-of-sale integrations only.
Unique terminal ID for the PED that originally processed the request. For point-of-sale integrations only.
Response parameters
After submitting a call, you receive a response message to inform you that your request was received and processed.
Depending on the HTTP status code of the response message, it is helpful to build some logic to handle any errors that a request or the system may return.