One payment for several eSIMs
make_esim_cartFor a trip to several countries (or several phones): turns 2 to 6 plan_ids from find_esim_plans into one cart link. The customer opens it, checks the eSIMs and pays once on Stripe; each eSIM comes in its own QR email and can be refunded on its own if never installed. 3 or more eSIMs in one cart are 5% off. Nothing is bought until the customer pays on the page.
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_ids": "<plan_ids>"
},
"name": "make_esim_cart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan_ids | Yes | plan_ids from find_esim_plans, one per eSIM, e.g. ['japan-5gb-30d', 'south-korea-3gb-30d']. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| plans | Yes | ||
| cart_url | Yes | Give this link to the customer: they pay for every eSIM in it at once. | |
| total_usd | Yes | What the cart page charges, with the 5% off that 3+ eSIMs get on most plans. A partner code may lower it on the page. |