Credit Life Policy
Create Credit Life Policy
CREATE CREDIT LIFE POLICY
POST
https://sandbox.insurpass.com/api/merchant/credit_life_policies
This endpoint allows a merchant to subscribe their customers to the Credit Life Insurance Plan.
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Bearer {$secret-key}/{$api-key} |
Content-Type* | String | application/json |
Request Body
Name | Type | Description |
---|---|---|
borrower_email* | string | Principal Customer's email address -email@domain.com |
borrower_first_name* | string | Principal Customer's first name - Favour |
borrower_last_name* | string | Principal Customer's surname - Ezedibia |
borrower_bvn* | string 11-digit | Principal Customer's bvn - 22222222222 |
borrower_id_url* | string | image url for the prinipal customer's means of ID - https://images.pexels.com/photos/10840765/pexels-photo-10840765.jpeg |
borrower_date_of_birth* | string | yy-mm-dd - 2022-09-12 |
borrower_phone_number* | string | digits - 11 - 0811234567 |
borrower_gender | Principal Customer's gender - Male, Female | |
loan_amount* | INTEGER | The amount Principal customer borrowed - 200,000 |
loan_tenor* | string | The length of time that will be taken by the borrower to repay the loan along with the interest - 3 Months |
loan_start_date* | The first date of the loan tenor - 2022-09-12 - Date FORMAT YYYY-MM-DD | |
loan_interest_rate* | The interest rate of the loan - 5% | |
quotation_date* | Date FORMAT YYYY-MM-DD | |
loan_end_date* | The last date of the loan tenor - 2022-09-12 |
Retrieve all Credit Life Policies subscribed to
ALL CREDIT LIFE POLICIES
GET
https://sandbox.insurpass.com/api/merchant/credit_life_policies
This endpoint allows a merchant to retrieve the details of every credit life insurance policy subscribed to on their platform.
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Bearer {$secret-key}/{$api-key} |
Content-Type* | String | application/json |
Retrieve Credit Life Policy Details
CREDIT LIFE POLICY DETAIL
POST
https://sandbox.insurpass.com/api/merchant/credit_life_policies
This endpoint is used to get a particular customer's credit life policy detail.
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 |
Terminate Credit Life Policy
TERMINATE CREDIT LIFE POLICY
PUT
https://sandbox.insurpass.com/api/merchant/credit_life_policies/{id}/terrminate
This endpoint is used to terminate a customer's credit life policy.
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Bearer {$secret-key}/{$api-key} |
Content-Type* | String | application/json |
Last updated