Pay Cart
Charge the account's saved card for this cart and create the order, with no person in the loop.
Preconditions: the cart is open, its quote is ready, it has a ship_to and a shipping_option_id, and the account has a card on file (GET /v1/account, saved on the website's account page) or the request names a Stripe PaymentMethod. The charge is the cart's totals.amount_total_cents. On success the cart becomes checked_out and the response carries order_id. An uncertain result returns 202 with status processing; a durable worker retries order creation with the same payment. Timeouts never trigger automatic refunds. Retrying a paid cart returns the existing payment.
Path parameters
Request body
Response
Already paid; the existing payment.
Changes
Changed in 1 of the 11 revisions of this API.1
- ○
endpoint added
endpoint-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○