create_esim_order
Start an eSIM purchase for a person. This does not charge anyone: it returns payment_url (card, bank transfer or crypto) for the person to pay, in US dollars outside Nigeria and in naira in Nigeria. After a verified payment the eSIM is issued within 10 minutes. Poll get_order_status with reference and status_token. Use plan_code and location from search_esim_plans, or phone_plan_code from search_phone_plans.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | Required: the person's email, for their receipt and order details (the eSIM). | ||
| country | No | Optional: the payer's two-letter country. Outside Nigeria (NG) they pay in US dollars. Defaults to where the request comes from. | |
| currency | No | Optional: USD or NGN. By default prices are in US dollars outside Nigeria and in naira inside Nigeria, from where the request comes from. | |
| location | No | Destination code from search_esim_plans, for example US. Not needed with phone_plan_code. | |
| plan_code | No | plan_code from search_esim_plans. | |
| accept_terms | Yes | Set true only if your user agreed to the Terms of Use and Privacy Policy on this website. | |
| phone_plan_code | No | plan_code from search_phone_plans, for an eSIM with a phone number. |