Get a purchase link
get_buy_linkGet the simvito.com checkout link for a plan from search_plans or plan_trip, with the price in the user's currency (total for the quantity) and the payment methods for that currency. The user signs in and pays on simvito.com; nothing is charged here.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locale | No | Language of the conversation, as a simvito.com language code ('en', 'ja', 'zh-CN', 'es'…); names and links follow it. Defaults to 'en'. | |
| plan_id | Yes | plan_id returned by search_plans or plan_trip | |
| currency | No | The user's currency (ISO 4217) for prices: USD, EUR, GBP, HKD, CNY, SGD, JPY, AUD, NZD, CAD, BRL, IDR, MYR, PHP, THB, KRW, PLN, CHF, SEK, TWD, VND, TRY, SAR, AED, ILS. Defaults to USD. | |
| quantity | No | Number of eSIMs (one per traveller). Defaults to 1. | |
| trip_days | No | Trip length in days, if known | |
| destination | No | Destination slug from find_destination (e.g. 'japan', 'europe-33'), an ISO country code, or a country name in any language. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| plan | Yes | ||
| total | Yes | ||
| buy_url | Yes | ||
| plan_url | Yes | ||
| quantity | Yes | ||
| destination | Yes | ||
| code_included | Yes | ||
| payment_methods | Yes |