Allianz
Buy Allianz Travel Cover Insurance
Certain properties obtain their values from supplementary endpoints. Refer to the Auxiliary page for a list of these additional endpoints.
Buy Travel Cover
POST
https://api.mycover.ai/v1/products/buy-travel
Request Body
{
"responseCode": 1,
"responseText": "Price computed successfully",
"data": {
"id": "5d283f0e-2abe-46c7-b931-ca4b5400dc54",
"app_mode": "test",
"active": true,
"first_name": "Wale",
"last_name": "Adenuga",
"email": "lo.wale9023@gmail.com",
"dob": "1996-03-11",
"phone": "08034567891",
"start_date": "2023-12-14T00:00:00.000Z",
"expiration_date": "2024-12-14T00:00:00.000Z",
"activation_date": "2023-12-14T00:00:00.000Z",
"distributor_id": "92e39bc5-6110-4dcb-8583-bc50c2e6922b",
"customer_id": "03130bc1-51aa-4dc6-9dcf-647b2e2b62d1",
"buyer_id": "03130bc1-51aa-4dc6-9dcf-647b2e2b62d1",
"product_id": "c0e104ad-0b8a-452f-a876-78bef8dde1db",
"product_category_id": "f3933c0d-ef7c-4287-90bd-744cf00c8426",
"provider_id": "63dbfce7-a743-47bd-bc49-b95703054aa1",
"meta": {
"payload": {
"Email": "lo.wale9023@gmail.com",
"Address": "32, Ajewole Street, Igando Road",
"QuoteId": 26765,
"StateId": 25,
"Surname": "Adenuga",
"TitleId": 7,
"ZipCode": "100252",
"GenderId": 1,
"FirstName": "Wale",
"NextOfKin": {
"Address": "32, Ajewole Street, Igando Road",
"FullName": "Kehinde Adenuga",
"Telephone": "09134526789",
"Relationship": "Wife"
},
"Telephone": "08034567891",
"MiddleName": "Wale",
"Occupation": "Business man",
"PassportNo": "B50485649",
"DateOfBirth": "11-Mar-1996",
"Nationality": "Nigeria",
"MaritalStatusId": 2,
"MedicalCondition": null,
"IdentificationPath": null,
"PreExistingMedicalCondition": false
},
"policy_number": "VASNGS200000568",
"certificate_url": null,
"provider_policy_id": null
},
"genius_price": 2641,
"market_price": 2641,
"purchase_id": "bfaca5e5-fc33-470b-bb98-75e83ed3f6c6",
"profit": 528.2,
"submitted_to_provider": true,
"updated_at": "2023-12-14T11:46:22.440Z",
"created_at": "2023-12-14T11:46:22.440Z",
"deleted_at": null,
"inspection_id": null
}
}
Sample Payload
{
"first_name": "Wale",
"last_name": "Adenuga",
"phone_number": "08034567891",
"email": "lo.wale9023@gmail.com",
"gender": "Male",
"date_of_birth": "1996-03-11",
"title": "Chief",
"address": "32, Ajewole Street, Igando Road",
"state": "Lagos State",
"nationality": "Nigeria",
"passport_number": "B50485649",
"occupation": "Businessman",
"marital_status": "Married",
"nok_full_name": "Kehinde Adenuga",
"nok_address": "32, Ajewole Street, Igando Road",
"nok_relationship": "Wife",
"nok_phone_number": "09134526789",
"departure_date": "2023-12-15",
"arrival_date": "2023-12-16",
"destination": "France",
"num_of_passengers": 1,
"product_id": "c0e104ad-0b8a-452f-a876-78bef8dde1db"
}
Compute Travel Premium
POST
https://api.mycover.ai/v1/products/allianz/compute-travel-premium
This endpoint will calculate the premium for travel insurance.
Body
Response
{
"responseCode": 1,
"responseText": "Price computed successfully",
"data": 3932
}
// Sample payload
{
"email": "testemail@gmail.com",
"phone_number": "+2349055104478",
"date_of_birth": "1997-03-11",
"departure_date": "2024-07-28",
"arrival_date": "2024-07-31",
"destination": "Canada",
"num_of_passengers": 1,
"product_id": "c0e104ad-0b8a-452f-a876-78bef8dde1db"
}
Certain properties obtain their values from supplementary endpoints. Refer to the Auxiliary page for a list of these additional endpoints.
Last updated