Copy {
"success": true,
"response_message": "Group life Policy initiated successfully",
"response_code": 200,
"data": {
"id": 57,
"user_id": 12,
"product_id": 2,
"merchant_id": 1,
"policy_number": "IN93809537",
"group_name": "group life policy group",
"group_type": "User",
"group_contact_address": "rojojo store makurdi",
"first_person_name": "John",
"first_person_phone": "2636373737",
"second_person_name": "Peter",
"second_person_phone": null,
"start_date": null,
"end_date": null,
"status": true,
"deleted_at": null,
"created_at": "2021-12-03T22:24:44.000000Z",
"updated_at": "2021-12-03T22:24:44.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",
"principal_policy_no": null,
"nin_number": null,
"id_url": null,
"profile_url": null,
"company_id": null,
"verify_phone": 0,
"verify_email": 0,
"town": null,
"state_of_residence": null,
"transaction_pin": null,
"occupation": null
},
"product": {
"id": 2,
"name": "Malaria Care Plan Plus",
"details": "some details",
"beneficiaries": true,
"max_beneficiaries": 3,
"provider_id": 1,
"logo_url": "logo.png",
"enable": true,
"created_at": "2021-11-23T17:20:38.000000Z",
"updated_at": "2021-11-23T17:20:38.000000Z",
"service_id": 2,
"product_class_id": 2
},
"group_life_members": [
{
"id": 15,
"policy_id": 57,
"full_name": "Lasisi Modupela",
"gender": "male",
"occupation": "software Engineer",
"date_of_birth": "2021-01-12T00:00:00.000000Z",
"next_of_kiln": "Oson",
"phone_number": "08135540787",
"policy_type": "group-life",
"deleted_at": null,
"created_at": "2021-12-03T22:24:44.000000Z",
"updated_at": "2021-12-03T22:24:44.000000Z"
},
{
"id": 16,
"policy_id": 57,
"full_name": "Adebayo Ademola",
"gender": "male",
"occupation": "software Engineer",
"date_of_birth": "2021-01-12T00:00:00.000000Z",
"next_of_kiln": "shimi",
"phone_number": "08135540787",
"policy_type": "group-life",
"deleted_at": null,
"created_at": "2021-12-03T22:24:44.000000Z",
"updated_at": "2021-12-03T22:24:44.000000Z"
}
]
}
}