Shop Insurance Policy
Initiate Shop Insurance Policy
This method initiates the creation of a Shop Insurance Policy.
POST
https://sandbox.insurpass.com/api/merchant/initiate_shop_insure_policies
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Bearer {$secret-key}/{$api-key} |
Content-Type* | String | application/json |
Request Body
Name | Type | Description |
---|---|---|
number_of_staff* | numeric | Number of workers in the shop - 10 |
product_id* | String | The unique number that identifies comprehensive motor insurance product you're purchasig - 3 |
email* | Principal Customer's email address -- email@domain.com | |
first_name* | string | Principal Customer's first name - Favour |
avg_value_shop | string | Value of the shop - 500,000 |
phone_number* | numeric|digits:11 | Principal Customer's phone number - 08102223475 |
occupation* | String | Principal Customer's occupation - Product Manager |
gender* | String | Principal Customer's gender - female, male |
type_of_goods_sold* | String | Type of goods sold in the shop - Jewelry |
shop_address* | string | Address where the shop is located. - 7 Oshola street, Agege, Lagos |
wall_construction_material* | string | The material used to build the wall of the shop - Ceramic |
last_name* | string | Principal Customer's surname - Ezedibia |
shop_duration* | numeric | How long the shop has been in existence - 5 |
roof_construction_materiall* | string | The material used to build the roof of the shop - Zinc |
Verify Shop Insurance Policy
This endpoints sends a token that verifies the creation of a Shop policy.
POST
https://sandbox.insurpass.com/api/merchant/verify_shop_insure_policies
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Bearer {$secret-key}/{$api-key} |
Content-Type* | String | application/json |
Request Body
Name | Type | Description |
---|---|---|
token* | String | 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 Shop Insurance Policies
This endpoint returns a list of all the shop insurance products
GET
https://sandbox.insurpass.com/api/merchant/get_merchant_shop_insure_policies
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Bearer {$secret-key}/{$api-key} |
Content-Type* | String | application/json |
Shop Insurance Policy Details
This endpoint returns an object containing a single Shop Insurance Policy
POST
https://sandbox.insurpass.com/api/merchant/get_shop_insure_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 |
Retrieve Shop Insurance Report
This endpoint returns an object containing a merchant's number of policies and claims
GET
https://sandbox.insurpass.com/api/merchant/shop_insure_policy_report
This endpoint returns an object containing a merchant's number of policies and claims for the shop insurance product.
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Bearer {$secret-key}/{$api-key} |
Content-Type* | String | application/json |
Last updated