Create checkout for the customer
create_checkoutCreate a pending customer-paid Stripe Checkout from a quote_id returned by prepare_order, only after the customer explicitly approved the displayed plan and price and accepted the terms. Requires the customer's email and customer_confirmed=true, terms_accepted=true; returns a checkout URL, NOT a paid eSIM, and fulfilment starts only after verified payment. Reuse one idempotency_key per intended purchase, including retries, to avoid duplicate orders; use purchase for other supported payment methods.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language for names and texts (default en). | |
| Yes | Customer email; the eSIM and receipt are sent there. | ||
| quote_id | Yes | From prepare_order. | |
| terms_accepted | Yes | true only if the customer accepted immediate delivery and the loss of the withdrawal right. | |
| idempotency_key | No | Unique per purchase (MCP). REST: send the Idempotency-Key header instead. | |
| customer_confirmed | Yes | true only if the customer explicitly confirmed this purchase. |