Create an eSIM order (returns a payment link)
create_esim_orderCreate an eSIM order and get pay_url. Nothing is charged by this call: a person must open pay_url and pay in cryptocurrency on NOWPayments. The server sets the price from the current quote. Before calling, confirm the plan with the person and that their phone supports eSIM and is not locked to an operator: an installed eSIM cannot be refunded. After the payment confirms, get_order returns the install data.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"plan_id": "<plan_id>"
},
"name": "create_esim_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan_id | Yes | id from list_esim_plans | |
| pay_with | No | Optional coin code from list_payment_coins, e.g. usdttrc20. The payment page then opens with that coin selected. |