Leadway

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

Certain properties obtain their values from supplementary endpoints. Refer to the Auxiliary 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

NameTypeDescription

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

NameTypeDescription

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 Auxiliary page for a list of these additional endpoints.

pageAuxiliary

Last updated