Skip to main content
POST

Path Parameters

cart_token
string
required

Opaque cart token returned by the create-cart response. It scopes the request to a single cart and is the credential for these endpoints — cart-token authentication carried in the path, with no bearer token or API key.

Body

application/json
funding_source
string
required

PayPal funding source (e.g. paypal, Venmo, apple_pay).

is_pay_later
boolean
required
payment_token_id
string

Fastlane single-use payment token; presence switches the order to the Fastlane capture flow.

is_app_switch
boolean
expected_total
string

The cart total the client showed the shopper, as a decimal string in the cart currency's major unit ("141.74"). Requires expected_currency.

Required for a Fastlane or Apple Pay order (charged at create) while the company's quote-failure policy is enabled: omitting it, or sending it malformed, answers 422 with an expected_total or expected_currency error before the cart is repriced and before any provider call. When it no longer matches the cart, the response is 409 with meta.code = cart_total_changed and nothing is charged; retry with the total in meta.cart. Optional, and ignored, otherwise.

Pattern: ^\d{1,12}(\.\d{1,5})?$
Example:

"141.74"

expected_currency
string

ISO 4217 code of the currency the shopper was shown. Requires expected_total.

Response

Order created

Success body for PayPal order creation. authorization_id and payment_uuid are present only for Fastlane orders (when payment_token_id is supplied).

success
boolean
required

true when the PayPal order was created.

order_id
string | null
required

PayPal order id; pass it to the client SDK to approve, then to the authorize endpoint. null when PayPal rejected the order — treat a 201 with a null order id as a failure.

meta
object
required

Standard response metadata included on every response.

authorization_id
string

PayPal capture id (Fastlane orders only).

payment_uuid
string

Fluid payment reference (slug), returned for Fastlane orders only. This is the reference the Cart checkout complete_cart step (POST /api/checkout/v2026-04/carts/{cart_token}/complete, Checkout endpoints reference) consumes as its payment_uuid query parameter.