Claims

Initiate Group Life Policy Claims

This endpoint is used to initiate group life insurance policy claim

POST https://sandbox.insurpass.com/api/merchant/group-life/claim/create-group-life-policy-claim

Headers

Name
Type
Description

Authorization*

String

Bearer {$secret-key}/{$api-key}

Content-Type*

String

application/json

Request Body

Name
Type
Description

product_id*

String

The unique number that identifies the group life product you're purchasig - 5

group_life_policy_id*

String

The unique number that identifies policy id for group life policy. - 3

policy_number*

String

Customer's policy number IN50565948

nature_of_claims*

String

The nature of the claims being made - Medical expense

incident_date*

yy-mm-dd

The date the incident took place. - 2021-11-20

incident_location*

String

The location where the incident took place. - Ajah

document*

String

Document with prove of incident. - base64image

{
   "success": true,
   "response_message": "Group life policy claim initiated successfully",
   "response_code": 200,
   "data": {
       "id": 28,
       "user_id": 12,
       "product_id": 2,
       "merchant_id": 1,
       "group_life_policy_id": 1,
       "policy_number": "IN50565948",
       "nature_of_claims": "Medical expense",
       "incident_date": "2021-11-20T00:00:00.000000Z",
       "incident_location": "Ajah",
       "document": "document_BdeLVkpu5hRIonrr4qPz2zrHRC4u1EgN.jpeg",
       "status": null, 
       "deleted_at": null,
       "created_at": "2021-12-06T12:47:32.000000Z",
       "updated_at": "2021-12-06T12:47:32.000000Z"
   }
}

Get all Group Life Policy Claims

This endpoint returns merchant group life policy claims

GET https://sandbox.insurpass.com/api/merchant/group-life/claim/get-merchant-claims·

Headers

Name
Type
Description

Authorization*

String

Bearer {$secret-key}/{$api-key}

Content-Type*

String

application/json

{
   "success": true,
   "response_message": "Group life policy claim fetched successfully",
   "response_code": 200,
   "data": {
       "current_page": 1,
       "data": [
           {
               "id": 24,
               "user_id": 12,
               "product_id": 2,
               "merchant_id": 1,
               "policy_id": 15,
               "policy_number": "IN50565948",
               "nature_of_claims": "Medical expense",
               "incident_date": "2021-11-20T00:00:00.000000Z",
               "incident_location": "Ajah",
               "document": "document_15.application/octet-stream",
               "status": true,
               "deleted_at": null,
               "created_at": "2021-12-03T10:04:57.000000Z",
               "updated_at": "2021-12-03T10:04:57.000000Z",
               "user": {
                   "id": 12,
                   "first_name": "John",
                   "middle_name": null,
                   "surname": "Doe",
                   "phone_no": "08135540787",
                   "email": "johndoed21393@gmail.com",
                   "address": null,
                   "gender": "Male",
                   "date_of_birth": "2021-02-12T00:00:00.000000Z",
                   "password": null,
                   "policy_no": "1234567",
                   "have_beneficiaries": false,
                   "enable": true,
                   "next_of_kin_full_name": null,
                   "merchant_user_id": null,
                   "user_type": "user",
                   "created_at": "2021-11-26T15:48:01.000000Z",
                   "updated_at": "2021-11-26T15:48:01.000000Z",
                                                   },
               "merchant": {
                   "id": 1,
                   "company_name": "Soretones Enterprises",
                   "email": "emmanuel.torty@insurpass.com",
                   "phone_no": "08030892639",
                   "address": "16 Muyilkuku Close, Baruwa, Ipaja, Lagos, Nigeria.",
                   "category_id": 2,
                    "username": "bimacred",
                   "enable": true,
                   "created_at": "2021-11-23T17:20:38.000000Z",
                   "updated_at": "2021-11-23T17:20:38.000000Z",
                                 }
           },

Group Life Policy Claim Details

This endpoint return merchant group life policy claim details.

GET https://sandbox.insurpass.com/api/merchant/group-life/claim/group-life-policy-claim-details/IN50565948

Headers

Name
Type
Description

Authorization*

String

Bearer {$secret-key}/{$api-key}

Content-Type*

String

application/json

{
   "success": true,
   "response_message": "Group life policy claim fetched successfully",
   "response_code": 200,
   "data": {
       "current_page": 1,
       "data": [
           {
               "id": 24,
               "user_id": 12,
               "product_id": 2,
               "merchant_id": 1,
               "policy_id": 15,
               "policy_number": "IN50565948",
               "nature_of_claims": "Medical expense",
               "incident_date": "2021-11-20T00:00:00.000000Z",
               "incident_location": "Ajah",
               "document": "document_15.application/octet-stream",
               "status": true,
               "deleted_at": null,
               "created_at": "2021-12-03T10:04:57.000000Z",
               "updated_at": "2021-12-03T10:04:57.000000Z",
               "user": {
                   "id": 12,
                   "first_name": "John",
                   "middle_name": null,
                   "surname": "Doe",
                   "phone_no": "08135540787",
                   "email": "johndoed21393@gmail.com",
                   "address": null,
                   "gender": "Male",
                   "date_of_birth": "2021-02-12T00:00:00.000000Z",
                   "password": null,
                   "policy_no": "1234567",
                   "have_beneficiaries": false,
                   "enable": true,
                   "next_of_kin_full_name": null,
                   "merchant_user_id": null,
                   "user_type": "user",
                   "created_at": "2021-11-26T15:48:01.000000Z",
                   "updated_at": "2021-11-26T15:48:01.000000Z",
                                                   },
               "merchant": {
                   "id": 1,
                   "company_name": "Soretones Enterprises",
                   "email": "emmanuel.torty@insurpass.com",
                   "phone_no": "08030892639",
                   "address": "16 Muyilkuku Close, Baruwa, Ipaja, Lagos, Nigeria.",
                   "category_id": 2,
                    "username": "bimacred",
                   "enable": true,
                   "created_at": "2021-11-23T17:20:38.000000Z",
                   "updated_at": "2021-11-23T17:20:38.000000Z",
                                 }
           },

Last updated