Menu
Cancel an authorised payment (POST /payments/{paymentPspReference}/cancels)
Cancel an authorised payment
POST
/payments/{paymentPspReference}/cancelsUse it in a workflow
- Add a step and choose the Adyen connector.
- Pick the Cancel an authorised payment (POST /payments/{paymentPspReference}/cancels) action (under Modifications).
- Fill in the fields below, then reference the result from later steps as
{{cancelAnAuthorisedPaymentPostPaymentsPaymentpspreferenceCancels.response.data}}.
Request
Path parameters
Headers
Request body
Enter the body as JSON in the step's Body field.
{
"merchantAccount": "string",
"applicationInfo": {
"adyenLibrary": {
"name": "string",
"version": "string"
},
"adyenPaymentSource": {
"name": "string",
"version": "string"
},
"externalPlatform": {
"integrator": "string",
"name": "string",
"version": "string"
},
"merchantApplication": {
"name": "string",
"version": "string"
},
"merchantDevice": {
"os": "string",
"osVersion": "string",
"reference": "string"
},
"shopperInteractionDevice": {
"locale": "string",
"os": "string",
"osVersion": "string"
}
},
"reference": "string"
}
Response
Returns 201 with an object. Read it in later steps with {{cancelAnAuthorisedPaymentPostPaymentsPaymentpspreferenceCancels.response.data.<field>}}.
{
"merchantAccount": "string",
"paymentPspReference": "string",
"pspReference": "string",
"status": "received",
"reference": "string"
}
Need more? See the Adyen guide for connection setup and behaviour shared by every action.
Was this page helpful?