Menu
Create order
Create order
POST
/v2/checkout/ordersUse it in a workflow
- Add a step and choose the PayPal connector.
- Pick the Create order action (under Orders).
- Fill in the fields below, then reference the result from later steps as
{{createOrder.response.data}}.
Request
Headers
Request body
Enter the body as JSON in the step's Body field.
{
"intent": "CAPTURE",
"purchase_units": [
null
],
"payer": null,
"payment_source": {
"token": {
"id": "string",
"type": "BILLING_AGREEMENT"
},
"paypal": null,
"bancontact": null,
"blik": null,
"eps": null,
"giropay": null,
"ideal": null,
"mybank": null,
"p24": null,
"sofort": null,
"trustly": null,
"apple_pay": null
},
"application_context": null
}
Response
Returns 200 with an object. Read it in later steps with {{createOrder.response.data.<field>}}.
Need more? See the PayPal guide for connection setup and behaviour shared by every action.
Was this page helpful?