At checkout, call your travel insurance partner's quote endpoint with trip parameters: departure date, return date, destination country, total trip cost, and traveler ages.
Parse the returned plan options (e.g., basic, comprehensive, cancel-for-any-reason) including coverage limits for trip cancellation, medical expenses, and baggage loss.
Present the insurance offers inline in your checkout flow with a clear opt-in mechanism; regulations in many jurisdictions require insurance to be opt-in, not pre-checked.
If the user selects a plan, call the bind/purchase endpoint with traveler PII (name, date of birth, address) and payment details; receive a policy number and certificate PDF URL.
Store the policy number alongside the booking record and deliver the certificate PDF to the traveler by email.
Implement a cancellation path via the insurer's void/cancel endpoint within the free-look period (typically 10-15 days) if the traveler changes their mind.
Known gotchas
Travel insurance is regulated as an insurance product in most jurisdictions — selling it requires specific licensing or a licensed intermediary partnership; verify your compliance posture before going live.
Cancel-for-any-reason (CFAR) coverage must often be purchased within a short window of the initial trip deposit (commonly within 14-21 days); enforce this deadline in your UI.
Pre-existing medical condition exclusions are policy-specific; surface waiver eligibility criteria clearly to avoid customer disputes at claim time.
Give your agent this knowledge — and 200+ more routes
One MCP install gives any agent live access to the full route map, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp