Get the link to buy a plan
create_checkout_linkUse this when the traveler has picked a plan and wants to buy it. Pass the plan id. Returns a simabroad.com link; the traveler opens it and pays there (card, Apple Pay or Google Pay). This tool charges nothing and needs no personal details.
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_checkout_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan_id | Yes | Plan id from search_esim_plans. | |
| language | No | Language of the simabroad.com page the link opens. Default en. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| plan | No |