Create eSIM top-up checkout link
topup_esimRecharge an eSIM the customer already owns with more data: builds a cart and returns a checkout URL to pay by credit card on hungry-esim.com. The installed SIM keeps working — no new QR code is issued. Use this instead of create_checkout when the traveller already has one of our eSIMs. Does NOT charge — the user completes payment on the website. Get iccid from my_esims and package_code from list_esim_topups.
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": {
"iccid": "<iccid>",
"package_code": "<package_code>"
},
"name": "topup_esim"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iccid | Yes | ICCID of the eSIM to top up, from my_esims | |
| country | No | Customer's CHECKOUT country (ISO alpha-2) — sets checkout region/currency and URL locale. Defaults to US. | |
| package_code | Yes | Top-up package code from list_esim_topups |