Get checkout link
get_checkout_linkGet the link to buy one plan. It opens the plan on the store's own checkout page, where the traveller enters an e-mail and pays; no payment happens in the chat. After payment the store shows the eSIM (QR code or one-tap install) and e-mails it.
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": {
"destination": "<destination>",
"plan_id": "<plan_id>"
},
"name": "get_checkout_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan_id | Yes | plan_id from list_plans. | |
| currency | No | ISO 4217 code of the currency the traveller wants to pay in (e.g. "BRL", "KZT", "EUR"). Used when buyer_country is not known. | |
| destination | Yes | Destination id from find_destination. | |
| buyer_country | No | ISO 3166-1 alpha-2 code of the country where the traveller lives or pays from (e.g. "BR", "AE", "KZ", "RU", "US"). Picks the store, currency and payment methods. |