Get the purchase link for an offer
get_purchase_linkCreates a HelloSafe purchase link for one offer from a search_travel_insurance result. The link opens the HelloSafe subscription page for that offer, where the traveller enters their details and pays; nothing is bought or charged by this tool. Links expire after 30 days.
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": {
"session_id": "<session_id>",
"offer_id": "<offer_id>"
},
"name": "get_purchase_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offer_id | Yes | offer_id chosen by the traveller. | |
| session_id | Yes | session_id returned by search_travel_insurance. |