Checkout Sales Order

Beta
POST/v1/sales/sales-orders/{id}/checkout

Idempotent with Idempotency-Key header. Learn more

Creates a hosted payment checkout session for a sales order.

Requires an active Stripe integration on the account and a customer that already exists in Stripe. The customer is charged a single amount covering every line on the order, including its freight and discount lines, and the checkout link is emailed to the address provided. Fails with a conflict if the order already has a payment.

Permissions requiredValues:sales_orders:update
The role behind your API key or agent must grant every one of these permissions.
idstring

Sales order ID.

emailstring

Email address to send the checkout link to.

objectstringenumValues:checkout_sales_order

Resource type identifier.

checkout_urlstring

URL of the hosted payment page where the customer completes the checkout.

Responses

200

Successful response for Checkout Sales Order