Comprehensive Motor Policy
Initiate Comprehensive Motor Policy
This endpoint initiates the creation of a Comprehensive Motor insurance policy.
POST
https://sandbox.insurpass.com/api/merchant/comprehensive_motor_initiate_policy
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Bearer {$secret-key}/{$api-key} |
Content-Type* | String | application/json |
Request Body
Name | Type | Description |
---|---|---|
first_name* | string | Principal Customer's first name - Favour |
last_name* | string | Principal Customer's surname (Last name) - Ezedibia |
phone_number* | numeric | Principal Customer's phone number - 08102223475 (digits:11) |
email* | Principal Customer's email address -- email@domain.com | |
gender* | string | Principal Customer's gender - female, male |
product_id* | string | The unique number that identifies comprehensive motor insurance product you're purchasig - 3 |
speedometer_img* | string | image url displaying the speed of the vehicle - https://images.pexels.com/photos/10840765/pexels-photo-10840765.jpeg |
engine_img* | string | image url displaying the engine of the vehicle - https://images.pexels.com/photos/10840765/pexels-photo-10840765.jpeg |
interior_img* | string | image url displaying the interior (inside) of the vehicle - https://images.pexels.com/photos/10840765/pexels-photo-10840765.jpeg |
front_view_img* | string | image url displaying the front view of the vehicle - https://images.pexels.com/photos/10840765/pexels-photo-10840765.jpeg |
rear_view_img* | string | image url displaying the rear (back) view of the vehicle - https://images.pexels.com/photos/10840765/pexels-photo-10840765.jpeg |
left_side_view_img* | string | image url displaying the left side view of the vehicle - https://images.pexels.com/photos/10840765/pexels-photo-10840765.jpeg |
right_side_view_img* | string | image url displaying the right side view of the vehicle - https://images.pexels.com/photos/10840765/pexels-photo-10840765.jpeg |
vehicle_license_img* | string | image url of the vehicle's license - https://images.pexels.com/photos/10840765/pexels-photo-10840765.jpeg |
proof_of_ownership_img* | string | image url of the vehicle's proof of ownership doment - https://images.pexels.com/photos/10840765/pexels-photo-10840765.jpeg |
frequency_type* | string | yearly |
sum_insured* | numeric | The maximum amount that the insurance company can pay to the Principal customern in the event of an accident- 200,000 |
insurance_cover* | string | The type of comprensive insuranc being purchased: bronze |
tracker_value* | numeric | The monetary value of the car tracker - 200,000 |
diagnostic_cost* | numeric | The estimated amount it would cost to run a diagnostic test on the car - 200,000 |
duration* | numeric | |
vehicle_type* | string | Truck |
start_date* | format:Y-m-d | |
registration_no* | string | The vehicle registration number - 94422342424 |
vehicle_make* | numeric | Toyota |
vehicle_model* | numeric | Corona |
year_make* | format:Y | The year the vehicle manufactured - 2022 |
vehicle_color* | string | Blue<?php |
engine_no* | string | 52WVC10338 |
chasis_no* | string | 002352AD |
contact_person_name* | string | Salami Ibrahim |
contact_person_address* | string | 38, Atimi Busari |
contact_person_phone_no* | numeric | digits:11 - 09088876543 |
inspection_date* | format:Y-m-d | 2022-03-12 |
Verify Comprehensive Motor Policy
This endpoints sends a token that verifies the creation of a Comprehensive Motor insurance policy.
POST
https://sandbox.insurpass.com/api/merchant/comprehensive_motor_verify_policy
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Bearer {$secret-key}/{$api-key} |
Content-Type* | String | application/json |
Request Body
Name | Type | Description |
---|---|---|
token* | String | "token":"IDP163438169412711526" Note that after 15 minutes, the token expires and you will need to reinitiate |
The Initiate token expires in 15 minutes, and if a user does not verify his/her subscription after 15 minutes of initiation, the details of the subscription will be deleted.
List All Comprehensive Motor Policies
This endpoint returns a list of all the Comprehensive Motor insurance Policies
GET
https://sandbox.insurpass.com/api/merchant/get_comprehensive_motor_policies
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Bearer {$secret-key}/{$api-key} |
Content-Type* | String | application/json |
Comprehensive Motor Policy Details
This endpoint returns an object containing a single Comprehensive Motor Policy
POST
https://sandbox.insurpass.com/api/merchant/get_comprehensive_motor_policy_details
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Bearer {$secret-key}/{$api-key} |
Content-Type* | String | application/json |
Request Body
Name | Type | Description |
---|---|---|
Policy_number* | String | The unique number that identifies the purchased insurance policy - IN98570819 |
Comprehensive Motor Policy Quote
The endpoint return a quote for a Comprehensive Motor Policy policy.
POST
https://sandbox.insurpass.com/api/merchant/get_comprehensive_motor_policy_quote
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Bearer {$secret-key}/{$api-key} |
Content-Type | String | Authorization |
Request Body
Name | Type | Description |
---|---|---|
product_id* | numeric | The unique number that identifies credit life insurance product you're purchasig - 3 |
vehicle_value* | numeric | The worth of the vehicle - 200,000 |
Last updated