Cancel or refund a payment
Cancels a payment if it has not been captured yet, or refunds it if it has already been captured. This is useful when it is not certain if the payment has been captured or not (for example, when using auto-capture).
Do not use this endpoint for payments that involve:
- Multiple partial captures.
- Split data either at time of payment or capture for Adyen for Platforms.
Instead, check if the payment has been captured and make a corresponding /refund or /cancel call.
For more information, refer to Cancel or refund.
This endpoint is inactive and is no longer supported for new integrations.
- If you are building a new integration, use the Checkout API /payments/{paymentPspReference}/reversals endpoint instead.
- If you have an existing integration using this endpoint, reach out to your Adyen contact and migrate to the Checkout API.
The Checkout API enables your online payments integration to accept all supported payment methods, use the latest features, and access more benefits.
Request body
Response
OK - the request has succeeded.
Changes
Changed in 4 of the 51 revisions of this API.1433
- ●
added the new
Errorenum value to theresponseresponse property for the response status200response-property-enum-value-added
- ●
added the new
Refusedenum value to theresponseresponse property for the response status200response-property-enum-value-added
- ●
- ●
added the new
Authorisedenum value to theresponseresponse property for the response status200response-property-enum-value-added
- ●
- ▲
the request's body type/format changed from
/toobject/request-body-type-changed
- ▲
the response's body type/format changed from
/toobject/for status200response-body-type-changed
- ▲
the response's body type/format changed from
/toobject/for status400response-body-type-changed
- ▲
the response's body type/format changed from
/toobject/for status401response-body-type-changed
- ▲
the response's body type/format changed from
/toobject/for status403response-body-type-changed
- ▲
the response's body type/format changed from
/toobject/for status422response-body-type-changed
- ▲
the response's body type/format changed from
/toobject/for status500response-body-type-changed
- ▲
- ▲
the request's body type/format changed from
object/to/request-body-type-changed
- ▲
the response's body type/format changed from
object/to/for status200response-body-type-changed
- ▲
the response's body type/format changed from
object/to/for status400response-body-type-changed
- ▲
the response's body type/format changed from
object/to/for status401response-body-type-changed
- ▲
the response's body type/format changed from
object/to/for status403response-body-type-changed
- ▲
the response's body type/format changed from
object/to/for status422response-body-type-changed
- ▲
the response's body type/format changed from
object/to/for status500response-body-type-changed
- ○
removed the
Authorisedenum value from theresponseresponse property for the response status200response-property-enum-value-removed
- ○
removed the
Errorenum value from theresponseresponse property for the response status200response-property-enum-value-removed
- ○
removed the
Refusedenum value from theresponseresponse property for the response status200response-property-enum-value-removed
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲