Travel Insurance
This guide walks you through issuing travel insurance policies using the Inshuwa API.
Overview
The travel insurance workflow:
- Create a policyholder
- Select a travel product and package
- Generate a travel quotation
- Pay and issue the policy
- Download the policy certificate
Step 1: Create a Policyholder
Register the traveler:
http
POST /api/v1/policyholders/individualsStep 2: Select a Travel Product
Browse travel insurance products:
http
GET /api/v1/products/travelEach product contains packages with destination coverage, benefits, and premium amounts. Note the packageId.
Step 3: Create a Quotation
Generate a travel insurance quotation:
http
POST /api/v1/quotations/travelRequest body:
json
{
"packageId": "string",
"clientId": "string",
"destination": "South Africa",
"startDate": "2024-06-01",
"policyHolder": {
"firstName": "Jane",
"lastName": "Doe",
"email": "jane@example.com",
"phoneNumber": "260971234567"
},
"beneficiaries": []
}Step 4: Issue the Policy
Issue the travel policy with payment:
http
POST /api/v1/quotations/{quoteId}/travelInstant Issue (One Step)
Create, quote, and issue a travel policy with payment in one call:
http
POST /api/v1/quotations/travel/instant-issueStep 5: Download the Certificate
http
GET /api/v1/quotations/{policyId}/travel/documents/certificatePolicy Renewal
Renew a travel policy with payment:
http
POST /api/v1/policies/travel/{policyId}/renew/payView Travel Policies
http
GET /api/v1/quotations/travel/policies
GET /api/v1/quotations/travel/policies/{policyId}