

Welcome to Impact Life
==================
1. Onboarding
2. Add Dependent
3. Stop Deduction
4. Claims
5. T&C


User select "2. Add Dependent"

i,
Add Dependent
Select Policy No:
1. ABR09260000005
0. Back to Menu

ii,
Full Name: MARTIN BOADU DANSO
Total Premium: GHS 49.20

Enter No. of dependents to add (1):
0. Back to Menu


iii,
Dependent 1
Enter mobile money number: 0244229549

iv,
Dependent 1
Enter full name: Yaa Pee

v,
Dependent 1
Enter date of birth (YYYY-MM-DD):
1977-01-01

vi,
Dependent 1
Select gender:
1. Male
2. Female
0. Back to Menu

vii,
Dependent 1
Select relationship:
1. Mother
2. Father
3. Father-in-law
4. Mother-in-law
5. Spouse
0. Back to Menu

viii,
Add 1 dependent(s)
1. Yaa Pee

1. Confirm
2. Cancel
0. Back to Menu

Call API : abrabopa_mtn_ussd/api/endorsement_addlifes.php
Request : 
{
  "subscriptions_id": 206,
  "mobile_money_number": "233556534409",
  "full_name": "Mary Addy",
  "date_of_birth": "1985-05-20",
  "gender": "Female",
  "relationship": "Spouse"
}

Results : {
    "ok": true,
    "message": "Additional life added and premium updated successfully",
    "total_records": 1,
    "total_additional_lives": 2,
    "data": [
        {
            "subscriptions_id": 206,
            "mobile_money_number": "233556534409",
            "full_name": "MARTIN BOADU DANSO",
            "policy_number": "ABR09260000002",
            "total_premium": 32.16,
            "sum_assured": 6000
        },
        {
            "mobile_money_number": "233244663781",
            "full_name": "Yaw mensah",
            "date_of_birth": "1977-01-01",
            "gender": "Male",
            "relationship": "Father"
        },
        {
            "mobile_money_number": "233556534409",
            "full_name": "Mary Addy",
            "date_of_birth": "1985-05-20",
            "gender": "Female",
            "relationship": "Spouse"
        }
    ]
}




ix,
1 dependent(s) added.
1. Yaa Pee
Total Premium: GHS 80.40

1. Confirm
0. Back to Menu
Note :  Once user select "1. Confirm" call API : abrabopa_mtn_ussd/api/update_mandate.php

request : 
{
  "subscriptionId": "1776960769063",
  "productId": "27aa4ce0-54ec-4a0c-97cb-4491b7fdd5fb",
  "debitAmount": "7.20"
}

Results : 
{
    "ok": true,
    "pending": false,
    "message": "your request has been processed",
    "responseCode": "01",
    "subscriptionId": "1776960769063",
    "productId": "27aa4ce0-54ec-4a0c-97cb-4491b7fdd5fb",
    "providerHttpCode": 200
}

x,
Updated successfully.
Total Premium: GHS 80.40

0. Back to Menu