Checkout Sales Order
BetaPOST
/v1/sales/sales-orders/{id}/checkoutIdempotent 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.
idstringSales order ID.
emailstringEmail address to send the checkout link to.
objectstringenumValues:checkout_sales_orderResource type identifier.
checkout_urlstringURL of the hosted payment page where the customer completes the checkout.
Responses
200
Successful response for Checkout Sales Order