Menu
Create an order
Create an order
POST
/ordersUse it in a workflow
- Add a step and choose the Adyen connector.
- Pick the Create an order action (under Orders).
- Fill in the fields below, then reference the result from later steps as
{{createAnOrder.response.data}}.
Request
Headers
Request body
Enter the body as JSON in the step's Body field.
{
"amount": {
"currency": "string",
"value": 0
},
"merchantAccount": "string",
"reference": "string",
"expiresAt": "string"
}
Response
Returns 200 with an object. Read it in later steps with {{createAnOrder.response.data.<field>}}.
{
"amount": {
"currency": "string",
"value": 0
},
"expiresAt": "string",
"orderData": "string",
"remainingAmount": {
"currency": "string",
"value": 0
},
"resultCode": "Success",
"additionalData": {},
"fraudResult": {
"accountScore": 0,
"results": [
{
"accountScore": 0,
"checkId": 0,
"name": "string"
}
]
},
"pspReference": "string",
"reference": "string",
"refusalReason": "string"
}
Need more? See the Adyen guide for connection setup and behaviour shared by every action.
Was this page helpful?