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
  • Buy Third-party Auto
  • Buy Comprehensive Auto

Was this helpful?

  1. api reference
  2. Products
  3. Auto

Leadway

Connect any or all of the following endpoints to buy and manage products from Leadway.

PreviousAiicoNextMyCoverGenius

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 Third-party Auto

Use this end-point to buy comprehensive auto insurance from Leadway.

POST https://api.mycover.ai/v1/products/leadway/buy-third-party

Request Body

Name
Type
Description

vehicle_make*

string

Make of the vehicle

vehicle_model*

string

Model of the vehicle

address*

string

Customer's valid physical address

city*

string

Customer's valid city of residence

state*

string

Customer's valid state of residence

gender*

string

Gender of the customer

vehicle_registration_number*

string

Vehicle plate number

engine_number*

string

Vehicle engine number

chassis_number*

string

Vehicle chassis number

vehicle_year_manufactured*

string

Year vehicle was manufactured

vehicle_type*

string

Type of vehicle (bodyTypes from feature list response). Check miscellaneous link below

vehicle_color*

string

Color of vehicle (Check feature list response)

vehicle_value*

string

Cost of the vehicle

first_name*

string

Customer's legal first name

last_name*

string

Customer's legal last name

email*

string

Customer's valid email address

dob*

string

Customer's valid date of birth

phone*

string

Customer's valid phone number

product_id*

string

The product ID

{
   "responseCode":1,
   "responseText":"policy purchase successful",
   "data":{
      "id":"65b09302-26de-42b4-80d9-8b137130d3dd",
      "first_name":"Flynn",
      "last_name":"Knowles",
      "email":"zagyfiwi@mailinator.com",
      "phone":"+1 (637) 901-9226",
      "dob":"2004-03-18",
      "customer_id":"5789b330-2077-496b-bcf9-e75152f2b925",
      "buyer_id":"5789b330-2077-496b-bcf9-e75152f2b925",
      "product_id":"a72c4e3c-e868-4782-bb35-df6e3344ae6c",
      "product_category_id":"978ced0d-0e05-4de6-b43a-b408c0e8b95e",
      "purchase_id":"a9e83085-bc1d-44a7-b974-f68066e72a8e",
      "distributor_id":"76d5970a-d46b-43df-beb3-8f3117b7a60f",
      "provider_id":"63dbfce7-a743-47bd-bc49-b95703054aa1",
      "activation_date":"01-Jan-0001",
      "start_date":"01-Jan-0001",
      "expiration_date":"01-Jan-0001",
      "market_price":5000,
      "genius_price":5000,
      "profit":1000,
      "meta":{
         "vehicle_registration_number":"akd223gf",
         "policy_number":"110502532201",
         "certificate_url":null,
         "provider_policy_id":0
      },
      "active":false,
      "submitted_to_provider":false,
      "created_at":"2022-03-08T15:34:58.682Z",
      "updated_at":"2022-03-08T15:34:58.682Z"
   }
}
Sample Request Payload
{
  "vehicle_make": "1",
  "vehicle_model": "2925",
  "address": "close 4 festac town lagos",
  "city": "festac",
  "state": "Lagos",
  "engine_number": "2GR0455283",
  "chassis_number": "JTNBK40K303034861",
  "vehicle_year_manufactured": "2019",
  "vehicle_type": "Car",
  "vehicle_color": "Red",
  "vehicle_value": 2700000,
  "vehicle_registration_number": "akd543gf",
  "gender": "Male",
  "first_name": "Deji",
  "last_name": "Adebola",
  "email": "deji.adebola@gmail.com",
  "dob": "1988-04-15",
  "phone": "07064378577",
  "product_id": "b112027d-5b49-4196-95c5-12b62b79878f"
}

Buy Comprehensive Auto

POST https://api.mycover.ai/v1/products/leadway/buy-comprehensive

Request Body

Name
Type
Description

vehicle_make*

string

Make of the vehicle

vehicle_model*

string

Model of the vehicle

address*

string

Customer's valid physical address

city*

string

Customer's valid city of residence

state*

string

Customer's valid state of residence

gender*

string

Gender of the customer

vehicle_registration_number*

string

Vehicle plate number

engine_number*

string

Vehicle engine number

chassis_number*

string

Vehicle chassis number

vehicle_year_manufactured*

string

Year vehicle was manufactured

vehicle_type*

string

Type of vehicle (bodyTypes from feature list response). Check miscellaneous link below

vehicle_color*

string

Color of vehicle (Check feature list response)

vehicle_value*

string

Cost of the vehicle

first_name*

string

Customer's legal first name

last_name*

string

Customer's legal last name

email*

string

Customer's valid email address

dob*

string

Customer's valid date of birth

phone*

string

Customer's valid phone number

product_id*

string

The product ID

{
   "responseCode":1,
   "responseText":"policy purchase successful",
   "data":{
      "id":"65b09302-26de-42b4-80d9-8b137130d3dd",
      "first_name":"Flynn",
      "last_name":"Knowles",
      "email":"zagyfiwi@mailinator.com",
      "phone":"+1 (637) 901-9226",
      "dob":"2004-03-18",
      "customer_id":"5789b330-2077-496b-bcf9-e75152f2b925",
      "buyer_id":"5789b330-2077-496b-bcf9-e75152f2b925",
      "product_id":"a72c4e3c-e868-4782-bb35-df6e3344ae6c",
      "product_category_id":"978ced0d-0e05-4de6-b43a-b408c0e8b95e",
      "purchase_id":"a9e83085-bc1d-44a7-b974-f68066e72a8e",
      "distributor_id":"76d5970a-d46b-43df-beb3-8f3117b7a60f",
      "provider_id":"63dbfce7-a743-47bd-bc49-b95703054aa1",
      "activation_date":"01-Jan-0001",
      "start_date":"01-Jan-0001",
      "expiration_date":"01-Jan-0001",
      "market_price":5000,
      "genius_price":5000,
      "profit":1000,
      "meta":{
         "vehicle_registration_number":"akd223gf",
         "policy_number":"110502532201",
         "certificate_url":null,
         "provider_policy_id":0
      },
      "active":false,
      "submitted_to_provider":false,
      "created_at":"2022-03-08T15:34:58.682Z",
      "updated_at":"2022-03-08T15:34:58.682Z"
   }
}
{
  "vehicle_make": "1",
  "vehicle_model": "2925",
  "address": "close 4 festac town lagos",
  "city": "festac",
  "state": "Lagos",
  "engine_number": "2GR0455283",
  "chassis_number": "JTNBK40K303034861",
  "vehicle_year_manufactured": "2019",
  "vehicle_type": "Car",
  "vehicle_color": "Red",
  "vehicle_value": 2700000,
  "vehicle_registration_number": "akd543gf",
  "gender": "Male",
  "first_name": "Deji",
  "last_name": "Adebola",
  "email": "deji.adebola@gmail.com",
  "dob": "1988-04-15",
  "phone": "07064378577",
  "product_id": "304845dd-9032-4981-9ffa-595de9ab7eba"
}

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

📦
🚘
Auxiliary
Auxiliary
Auxiliary