Third Party Motor Policy
Initiate Third Party Motor Policy
This endpoint initiates the creation of a Third Party Motor insurance policy.
POST
https://sandbox.insurpass.com/api/merchant/third_party_motor_initiate_policy
This endpoint is used to purchase the third party insurance plan
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Bearer {$secret-key}/{$api-key} |
Content-Type* | String | application/json |
Request Body
Name | Type | Description |
---|---|---|
first_name* | String | First name of the principal customer - Kolawole |
last_name* | String | Last name of the Principal customer - Obi |
phone number* | numeric|digits:11 | Phone number of the Principal customer - 08176223567 |
email* | Email address of the Principal customer - email@domain.com | |
gender* | String | Gender of the Principal customer - female, male |
product_id* | String | The unique number that identifies third party motor insurance product you're purchasig - 5 |
vehicle_type* | String | Truck |
registration_no* | integer | The vehicle registration number - 94422342424 |
vehicle_make* | String | Toyota |
vehicle_model* | String | Corona |
year_make* | date_format:Y | The year the vehicle manufactured - 2022 |
engine_no* | String | 52WVC10338 |
chasis_no* | String | 002352AD |
certificate_no* | String | 908675689 |
vehicle_value* | numeric | The worth of the vehicle - 200,000 |
vehicle_front_side_image* | string | image url displaying the front side view of the vehicle - https://images.pexels.com/photos/10840765/pexels-photo-10840765.jpeg |
vehicle_back_side_image* | string | imagimage url displaying the back side view of the vehicle - https://images.pexels.com/photos/10840765/pexels-photo-10840765.jpege url |
vehicle_left_side_image* | string | image url displaying the leftt side view of the vehicle - https://images.pexels.com/photos/10840765/pexels-photo-10840765.jpeg |
vehicle_right_side_image* | string | image url displaying the right side view of the vehicle - https://images.pexels.com/photos/10840765/pexels-photo-10840765.jpeg |
Verify Third Party Motor Policy
This endpoints sends a token that verifies the creation of a Verify Third Party Motor insurance policy.
POST
https://sandbox.insurpass.com/api/merchant/third_party_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 | TPMI163438169412711526 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 Third Party Motor Policies
This endpoint returns a list of all the Third Party Motor insurance products
GET
https://sandbox.insurpass.com/api/merchant/third_party_motor_policies
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Bearer {$secret-key}/{$api-key} |
Content-Type* | String | application/json |
Third Party Motor Policy Details
This endpoint returns an object containing a single Third Party Motor Policy
POST
https://sandbox.insurpass.com/api/merchant/third_party_get_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 |
Third Party Motor Policy Quote
The endpoint return a quote for a Third Party Motor Policy.
POST
https://sandbox.insurpass.com/api/merchant/third_party_get_quote
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Bearer {$secret-key}/{$api-key} |
Content-Type* | String | application/json |
Request Body
Name | Type | Description |
---|---|---|
product_id* | numeric | The unique number that identifies credit life insurance product you're purchasig - 3 |
vehicleValue* | numeric | The worth of the vehicle - 200,000 |
Last updated