Menu
Cancel an order
Cancel an order
POST
/orders/cancelUse it in a workflow
- Add a step and choose the Adyen connector.
- Pick the Cancel an order action (under Orders).
- Fill in the fields below, then reference the result from later steps as
{{cancelAnOrder.response.data}}.
Request
Headers
Request body
Enter the body as JSON in the step's Body field.
{
"merchantAccount": "string",
"order": {
"orderData": "string",
"pspReference": "string"
}
}
Response
Returns 200 with an object. Read it in later steps with {{cancelAnOrder.response.data.<field>}}.
{
"pspReference": "string",
"resultCode": "Received"
}
Need more? See the Adyen guide for connection setup and behaviour shared by every action.
Was this page helpful?