Submit a cart for purchase
Accepts the shopper-approved quote and starts the purchase; returns 202 with purchase_id. Follow progress with GET /v1/carts/{cart_id}/purchase (also accepts a cart session token), GET /v1/purchases/{purchase_id} (needs orders:read) or webhooks. Requires checkout:write (API key or cart session token) and an Idempotency-Key: retrying with the same key and body returns the original purchase_id with duplicate: true. Fails with 409 approval_mismatch unless approved_total_minor equals the quote total, and with 409 quote_expired, quote_stale, quote_not_active or merchant_unavailable when a new quote is needed. A coupon_rejected or coupon_unverifiable refusal durably invalidates the unaccepted quote before returning. A competing accepted submission is replayed for the same key and payload; another key gets an ordinary conflict and must reconcile the cart’s purchase. After acceptance, the cart and receipt stay immutable. A terminal payment failed: coupon_validation_failed purchase with explicit payment: null proves Money fenced first payment and permits a fresh cart. For coupon failures without a payment, an omitted payment property remains unknown.
Headers
Required. A client-generated key that identifies this operation so it can be retried safely. Repeating the request with the same key and the same body returns the original result instead of performing the action again; reusing a key with a different body is rejected with 409. After a timeout or network error, retry with the same key, never a new one.
Body
What happens if some merchants fail to accept their part of the order. Allowed values: allow_partial (keep the accepted merchant orders and refund the rest). New purchases accept only allow_partial; all_or_cancel appears only on historical purchases.
"allow_partial"
Response
Successful Response