Create Order
paypal.create_order
ActionBusiness appsconnection required
Calls the PayPal Orders v2 API POST /v2/checkout/orders.
Create a PayPal checkout order (returns an approval link).
Connection
- Required
- Yes — the node will not save without one
- Auth type
- OAuth 2.0
- Providers
- PayPal
- Secret shape
- {"client_id", "client_secret"}
- Config it needs
- environment
- Resolved by
- config.connection_id, else node.connection_id
Configuration
3 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
amount Amount, e.g. 49.99. Supports {{ }}. | string | Yes | — | — | — |
currency Currency code. | string | No | USD | — | — |
description Order description. | string | No | — | — | — |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"currency": "USD"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
ok | boolean | — |
id | string | — |
status | string | — |
approve_url | string | — |
{
"approve_url": "",
"id": "",
"ok": false,
"status": ""
}Related PayPal nodes
See Create Order run in a workflow.
In a technical demo we add the PayPal connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.