School Fees Policy
Initiate School Fees Policy
This method initiates the creation of a School Fees Insurance Policy.
POST
https://sandbox.insurpass.com/api/merchant/initiate_school_fee_policy
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Bearer {$secret-key}/{$api-key} |
Content-Type* | String | application/json |
Request Body
Name | Type | Description |
---|---|---|
id* | String | id from the product, this should be gotten from the product lists |
last_name* | String | Principal Customer's surname - Ezedibia |
phone_number* | numeric|digits:11 | 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 |
trustee_first_name* | String | First name of the trustee - Favour |
trustee_last_name* | String | Last name of the Trustee - Valentia |
trustee_phone_number* | numeric|digits:11 | Phone number of the truste - 09800098756 |
trustee_email* | Trustee's email address -email@domain.com | |
frequency* | String | |
frequency_type* | String | |
product_id* | String | |
beneficiary_lastname | String | The lastname of the Beneficiary - Hugh |
beneficiary_firstname | String | The firstname of the Beneficiary - Jackman |
beneficiary_address | String | The address of the Beneficiary- No 1, 19th Avenue. |
beneficiary_gender | String | The gender of the Beneficiary- Male/Female. |
beneficiary_dob | String | The Date of Birth of the Beneficiary 1999-01-01 |
bbeneficiary_phone_number | Number | The phone number of the Beneficiary - 08102223475 (digits:11) |
beneficiary_email | The email of the Beneficiary - email@domain.com | |
beneficiary_institution_name | String | The Educational Institution of the Beneficiary - Lagos State University |
beneficiary_institution_address | String | The Educational Institution's address of the Beneficiary - No 1, 19th Avenue. |
id_url | String | The Educational Institution's url of the Beneficiary - http://lagos.edu.ng |
id_type | String | The ID type of the Beneficiary - voters_card |
id_number | String | The ID number of the Beneficiary - t353363534 |
Verify School Fees Policy
This endpoints sends a token that verifies the creation of a School Fee Insurance policy.
POST
https://sandbox.insurpass.comapi/merchant/verify_school_fee_policy
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 School Fees Policies
This endpoint returns a list of all the school fees insurance policies
GET
https://sandbox.insurpass.comapi/merchant/get_merchant_shop_insure_policies
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Bearer {$secret-key}/{$api-key} |
Content-Type* | String | application/json |
School Fees Policy Details
This endpoint returns an object containing a single School Fees Policy
POST
https://sandbox.insurpass.com/api/merchant/school_fee_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 |
Last updated