create_checkout
Create a secure Stripe payment link for an Alt eSIM plan. Returns a payment URL the BUYER opens to pay (the agent never handles card details) AND a checkout_session_id. After the buyer pays, call get_qr_code with that checkout_session_id to fetch the eSIM QR and show it to the buyer. The QR is also emailed. Charged in USD. You MUST collect the buyer's real email.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Delivery email language (default 'en'). | |
| Yes | Buyer's email — the eSIM QR code is also sent here. | ||
| sku_or_id | Yes | The plan sku or id to buy. | |
| customer_code | No | Optional Alt customer code (format Alt-XXXXXXXX, shown on the buyer's altesim.com account page). If provided, the order is linked to that account and appears in its order history regardless of the delivery email used. |