Get checkout link
get_purchase_linkUse when the traveler has chosen a plan and wants to buy it. Returns a link straight to the checkout confirmation screen with the plan and days filled in. The traveler pays there themselves (no account or app needed, just an email address); this tool never takes payment. The QR code and one-tap install link are emailed and shown in My Page right after payment.
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": "get_purchase_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Trip length in days. Needed for daily plans (sets how many days are bought); ignored for fixed-GB plans. | |
| lang | No | Language of country names, reasons and of the checkout page the link opens: en, ja, zh-cn, zh-tw, ko, es or fr. Default en. The language never changes which plan or what price is returned: every plan carries price_jpy and price_usd (both always present) and price_as_of. | |
| plan_id | Yes | Required. The plan_id of the chosen plan, from recommend_plan or search_plans. |