Adyen Payment API
  1. Modifications
Adyen Payment API
  • Modifications
    • Change the authorised amount
      POST
    • Cancel an authorisation
      POST
    • Cancel or refund a payment
      POST
    • Capture an authorisation
      POST
    • Create a donation
      POST
    • Refund a captured payment
      POST
    • Cancel an authorisation using your reference
      POST
    • Cancel an in-person refund
      POST
  • General
    • Create an authorisation
      POST
    • Complete a 3DS authorisation
      POST
    • Complete a 3DS2 authorisation
      POST
    • Get the 3DS authentication result
      POST
    • Get the 3DS2 authentication result
      POST
  1. Modifications

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.

Request

Body Params application/json

Examples

Responses

🟢200OK - the request has succeeded.
application/json
Body

🟠400Bad Request - a problem reading or understanding the request.
🟠401Unauthorized - authentication required.
🟠403Forbidden - insufficient permissions to process the request.
🟠422Unprocessable Entity - a request validation error.
🔴500Internal Server Error - the server could not process the request.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/refund' \
--header 'Content-Type: application/json' \
--data-raw ''
Response Response Example
200 - Example 1
{
    "additionalData": {
        "property1": "string",
        "property2": "string"
    },
    "pspReference": "string",
    "response": "[capture-received]"
}
Modified at 2023-08-15 08:20:06
Previous
Create a donation
Next
Cancel an authorisation using your reference
Built with