Credit Life Policy
Last updated
Last updated
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.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
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.
POST
https://sandbox.insurpass.com/api/merchant/credit_life_policies
This endpoint is used to get a particular customer's credit life policy detail.
PUT
https://sandbox.insurpass.com/api/merchant/credit_life_policies/{id}/terrminate
This endpoint is used to terminate a customer's credit life policy.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Authorization*
String
Bearer {$secret-key}/{$api-key}
Content-Type*
String
application/json
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
Authorization*
String
Bearer {$secret-key}/{$api-key}
Content-Type*
String
application/json
Authorization*
String
Bearer {$secret-key}/{$api-key}
Content-Type*
String
application/json
policy_number*
String
The unique number that identifies the purchased insurance policy - IN98570819
Authorization*
String
Bearer {$secret-key}/{$api-key}
Content-Type*
String
application/json