Aiico

Certain properties obtain their values from supplementary endpoints. Refer to the Auxiliary page for a list of these additional endpoints.

Buy Personal Accident Cover Insurance (Yearly)

POST https://api.mycover.ai/v1/products/aiico/buy-personal-accident-cover

Request Body

Name
Type
Description

beneficiary_full_name*

string

Customer's legal full name

beneficiary_relation*

string

Customer's relation

first_name*

string

Customer's legal first name

last_name*

string

Customer's legal last name

email*

string

Customer's valid email address

phone_number*

string

Customer's valid phone number

date_of_birth*

string

Customer's date of birth

title*

string

Customer's title ('Mr', 'Mrs',...). Refer to miscellaneous link below to fetch list of titles

gender*

string

Customer's gender

unit*

number

Number of units

identification_name*

string

Customer's ID type ('Drivers license', 'National ID',...). Refer to miscellaneous link below to fetch ID types.

identification_url*

string

Image URL of the customer's ID

insurance_start_date*

string

This is the date you want the insurance to start

product_id*

string

ID of the product

{
   "responseCode":1,
   "responseText":"policy purchase successful",
   "data":{
      "first_name":"Darius",
      "last_name":"Beach",
      "email":"xerekyvo@mailinator.com",
      "phone":"08034543344",
      "dob":"2004-03-09",
      "customer_id":"57a05a83-1436-482d-a855-f412f2422457",
      "buyer_id":"57a05a83-1436-482d-a855-f412f2422457",
      "product_id":"bfee22e7-5aa1-4413-ba66-8ac5d550c69d",
      "product_category_id":"704f6261-3710-48e5-a894-ffc4d6bdc381",
      "distributor_id":"76d5970a-d46b-43df-beb3-8f3117b7a60f",
      "provider_id":"63dbfce7-a743-47bd-bc49-b95703054aa1",
      "activation_date":"2022-03-17",
      "start_date":"2022-03-17",
      "expiration_date":"Thu, 16 Mar 2023 23:00:00 GMT",
      "meta":{
         "policy_number":"1312100002201",
         "certificate_url":null,
         "provider_policy_id":0
      },
      "active":true,
      "genius_price":63000,
      "market_price":63000,
      "profit":12600,
      "purchase_id":"edfa3a23-cb34-429c-8d90-e8ae8070b923",
      "submitted_to_provider":true,
      "id":"b7e11d7f-3b18-461b-856b-902f133cc806",
      "created_at":"2022-03-18T13:33:58.936Z",
      "updated_at":"2022-03-18T13:33:58.936Z"
   }
}
Sample Request Payload
{
   "date_of_birth": "2004-03-09",
   "gender": "Male",
   "first_name": "Darius",
   "last_name": "Beach",
   "email":  "xerekyvo@mailinator.com",
   "phone_number": "08034543344",
   "beneficiary_full_name": "Xaviera Owen",
   "beneficiary_relation": "Cousin",
   "identification_name": "Drivers License",
   "identification_url": "https://via.placeholder.com/300/09f/fff.png",
   "insurance_start_date": "2022-03-17",
   "product_id": "bfee22e7-5aa1-4413-ba66-8ac5d550c69d",
   "title": "Chief",
   "unit": 42
}

Certain properties obtain their values from supplementary endpoints. Refer to the Auxiliary page for a list of these additional endpoints.

Last updated