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. The checkout is built from the order's lines, and the checkout link is emailed to the provided address. 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.
Also set as the customer email on the payment provider's checkout session.
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