Create order
create_orderCreate a crypto invoice for one new eSIM. Before calling, confirm the plan with the person and tell them when validity starts and the plan notes (number plans: validity starts at installation; Europe number is French +33; UK number plan: install only after arrival). Returns order_id, order_token, the exact amount and the address. The person must send exactly that amount on that network before expires_at. Then poll get_order. Unpaid invoices per client are limited; cancel unused ones with cancel_order.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Optional partner/referral code | |
| coin | Yes | Coin code from list_payment_coins, e.g. "USDT", "BTC", "XMR" | |
| network | No | Network from list_payment_coins, e.g. "tron", "solana". Required for USDT (several networks). | |
| plan_id | Yes | plan_id from list_plans | |
| quantity | No | Resellers with an API key only: number of identical eSIMs on one invoice (1-50). Omit otherwise. | |
| client_ref | No | Resellers only: your own order reference, returned as is. |