mycover.ai
  • Home
  • Distributor
  • 🚀Getting Started
    • Quickstart
    • Environments
    • Authentication
    • Testing
    • Errors
    • Go Live Checklist
    • FAQs
  • 🔌Libraries & SDKs
    • Javascript
    • Vue 2
    • Vue 3
    • React
    • Flutter
    • Android
    • React Native
    • iOS
  • 📦api reference
    • Products
      • 🚘Auto
        • Aiico
        • Leadway
        • MyCoverGenius
        • Sovereign Trust
        • Coronation
        • Tangerine
        • Sanlam
      • ♥️Health
        • Hygeia
          • Hyprime Insurance
          • Hybasic Insurance
        • Bastion
          • Bastion Health
          • MediSure
        • Malaria Cover
      • 💞Personal Accident Cover
        • Aiico
        • Leadway
        • Sanlam
      • 🏠Content (Home/Office)
        • Aiico
        • Coronation
        • Sanlam
      • ✈️Travel
        • Allianz
        • Aiico
      • 💵Life Insurance
        • Credit Life
        • SME Flex
        • Flex Life
      • 🚚Goods In Transit
        • Goods In Transit (GIT)
        • Goods In Transit (GIT) On-demand
      • 💻Gadget
        • Sovereign Trust Insurance
        • Coronation
        • Tangerine
      • 🛳️Marine Insurance ✨
        • MyCoverGenius Import Marine Cover
        • Marine Cover
    • Policies
    • Claims
      • Credit Life
    • Wallet
    • Transactions
    • Customers
    • Auxiliary
      • Products
        • Bulk Purchase
  • 🧳Services
    • Webhooks
      • Validation
      • Purchase Webhook
      • Renewal Webhook
    • Messaging
Powered by GitBook
On this page

Was this helpful?

  1. api reference
  2. Products
  3. Personal Accident Cover

Aiico

PreviousPersonal Accident CoverNextLeadway

Last updated 1 year ago

Was this helpful?

Certain properties obtain their values from supplementary endpoints. Refer to the 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 page for a list of these additional endpoints.

📦
💞
Auxiliary
Auxiliary