Aiico
Buy Aiico Travel Cover Insurance
Get Travel Cover Premium
POST
https://api.mycover.ai/v1/products/aiico/compute-travel-cover-price
Request Body
first_name*
String
Customer first name
last_name*
String
Customer last name
email*
String
Customer email
phone_number*
String
Customer phone number
date_of_birth*
String
Customer date of birth
start_date*
String
This is the date you want the insurance to start (Departure date)
end_date*
String
This is the date you want the insurance to end (Return date)
destination_country*
String
destination country
product_id*
String
product id
Response
{
"responseCode": 1,
"responseText": "price computed successfully",
"data": 25222
}
// Sample payload
{
"first_name": "Clarkson",
"last_name": "Igwe",
"email": "[email protected]",
"phone_number": "07064378577",
"date_of_birth": "1988-04-30",
"destination_country": "Canada",
"start_date": "2025-02-13",
"end_date": "2025-02-15",
"product_id": "bfd0f39c-0b8a-452f-a876-78bef8dde1da"
}
Buy Travel Cover
POST
https://api.mycover.ai/v1/products/aiico/buy-travel-cover
Request Body
nok_full_name*
String
Next of kin full name
nok_address*
String
Next of kin address
nok_relationship*
String
Relationship with next of kin
title*
String
Get titles from miscellaneous section.
pre_medical*
Boolean
If customer has a medical condition, this is to be set to true
passport_number*
String
International passport number
passport_image_url*
String
File url response received from the file upload endpont
first_name*
String
Customer first name
last_name*
String
Customer last name
email*
String
Customer email
phone_number*
String
Customer phone number
date_of_birth*
String
Customer date of birth
start_date*
String
This is the date you want the insurance to start (Departure date)
end_date*
String
This is the date you want the insurance to end (Return date)
destination_country*
String
destination country
product_id*
String
product id
{
"responseCode": 1,
"responseText": "policy purchase successful",
"data": {
"id": "e305eb29-3daa-4ec4-9987-4114c72643de",
"app_mode": "test",
"active": true,
"first_name": "Clarkson",
"last_name": "Igwe",
"email": "[email protected]",
"dob": "1988-04-30",
"phone": "07064378577",
"start_date": "2022-12-09T00:00:00.000Z",
"expiration_date": "2022-12-30T00:00:00.000Z",
"activation_date": "2022-12-09T00:00:00.000Z",
"distributor_id": "92e39bc5-6110-4dcb-8583-bc50c2e6922b",
"customer_id": "c88899ad-b8b6-4501-b13a-4b4e39548f53",
"buyer_id": "c88899ad-b8b6-4501-b13a-4b4e39548f53",
"product_id": "bfd0f39c-0b8a-452f-a876-78bef8dde1da",
"product_category_id": "f3933c0d-ef7c-4287-90bd-744cf00c8426",
"provider_id": "63dbfce7-a743-47bd-bc49-b95703054aa1",
"meta": {
"payload": {
"wef": "2022-12-09",
"wet": "2022-12-30",
"name": "Clarkson Igwe",
"excess": 50,
"smsTel": "07064378577",
"medical": null,
"noKaddr": "4 breadfruit street gbagada",
"nokName": "Emeka Igwe",
"premium": 31970.32,
"titleId": "10439e44-98cf-e711-83b7-44850015c0e7",
"lastName": "Igwe",
"pryEmail": "[email protected]",
"countryId": "8333ae6c-98e4-e711-83bb-44850015c0e4",
"firstName": "Clarkson",
"productId": "cb00e3f3-9feb-e711-a2be-005056a02281",
"transDate": "2022-12-09",
"preMedical": true,
"sumAssured": 200000,
"dateOfBirth": "1988-04-30",
"passportUrl": "https://via.placeholder.com/300/09f/fff.png",
"passportNumber": "AB4824929",
"noKrelationship": "Brother"
},
"policy_number": "160132052301",
"certificate_url": null,
"provider_policy_id": 0
},
"genius_price": 31970.32,
"market_price": 31970.32,
"purchase_id": "b0940376-77d2-46de-a4cf-7cb9059afbc4",
"profit": 6394.063999999999,
"submitted_to_provider": true,
"updated_at": "2023-09-13T09:14:47.039Z",
"created_at": "2023-09-13T09:14:47.039Z",
"deleted_at": null,
"inspection_id": null
}
}
{
"nok_full_name": "Emeka Igwe",
"nok_address": "4 breadfruit street gbagada",
"nok_relationship": "Brother",
"title": "Mr",
"pre_medical": true,
"passport_number": "AB4824929",
"passport_image_url": "https://via.placeholder.com/300/09f/fff.png",
"first_name": "Clarkson",
"last_name": "Igwe",
"email": "[email protected]",
"phone_number": "07064378577",
"date_of_birth": "1988-04-30",
"start_date": "2022-12-09",
"end_date": "2022-12-30",
"destination_country": "Canada",
"product_id": "bfd0f39c-0b8a-452f-a876-78bef8dde1da"
}
Last updated
Was this helpful?