Overview
Checkout is the bridge between a cart (items + shipping) and payment. The Commerce checkout flow is intentionally stepwise so you can validate totals before creating an invoice.Authentication
Requires a commerce-scoped API key:x-commerce-api-key: ck_....
Request
Endpoints:POST /api/commerce/merchant/checkout/estimatePOST /api/commerce/merchant/checkout/addressPOST /api/commerce/merchant/checkout/invoice
Playground (interactive reference)
Example (create invoice):Response
Representative invoice creation response:Errors
400invalid checkout payload401missing/invalid commerce auth
Examples
Recommended flow:- Estimate (
/estimate) → 2) Address (/address) → 3) Invoice (/invoice)

