Refund a captured payment

post /refund

Refunds a payment that has previously been captured, returning a unique reference for this request. Refunding can be done on the full captured amount or a partial amount. Multiple (partial) refunds will be accepted as long as their sum doesn't exceed the captured amount. Payments which have been authorised, but not captured, cannot be refunded, use the /cancel method instead.

Some payment methods/gateways do not support partial/multiple refunds. A margin above the captured limit can be configured to cover shipping/handling costs.

For more information, refer to Refund.

This endpoint is part of our classic API integration. If using a newer integration, use the /payments/{paymentPspReference}/refunds endpoint under Checkout API instead.

Endpoint destination URL

https://pal-test.adyen.com/pal/servlet/Payment/v68/refund
Click to copy

Request parameters

additionalData [string] object

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.

merchantAccount string Required

The merchant account that is used to process the payment.

modificationAmount Required

The amount that needs to be refunded. The currency must match the currency used in authorisation, the value must be smaller than or equal to the authorised amount.

mpiData

Authentication data produced by an MPI (Mastercard SecureCode, Visa Secure, or Cartes Bancaires).

originalMerchantReference string

The original merchant reference to cancel.

originalReference string Required

The original pspReference of the payment to modify. This reference is returned in:

  • authorisation response
  • authorisation notification
reference string

Your reference for the payment modification. This reference is visible in Customer Area and in reports. Maximum length: 80 characters.

splits [Split] array

An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For details, refer to Providing split information.

tenderReference string

The transaction reference provided by the PED. For point-of-sale integrations only.

uniqueTerminalId string

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.

HTTP Responses

  • 200 - OK

    The request has succeeded.

    Show more Show less
  • 400 - Bad Request

    A problem reading or understanding the request.

    Show more Show less
  • 401 - Unauthorized

    Authentication required.

    Show more Show less
  • 403 - Forbidden

    Insufficient permissions to process the request.

    Show more Show less
  • 422 - Unprocessable Entity

    A request validation error.

    Show more Show less
  • 500 - Internal Server Error

    The server could not process the request.

    Show more Show less
  • Request
  • Click to copy
  • Response
  • Click to copy