lifeInsurance
- base
- localhost
- dev
- prod
/v2/private/life/lifeInsurance
http://localhost:1350/v2/private/life/lifeInsurance
https://dev.everdays.com/v2/private/life/lifeInsurance
https://everdays.com/v2/private/life/lifeInsurance
Available Methods​
- POST
POST /v2/private/life/lifeInsurance​
This endpoint is used to save information on the life Insurance step in the life flow.
Params​
| Param | Type | Description |
|---|---|---|
| insuranceCover | Array Enum - ['payingFuneral', 'unpaidBills', 'replaceMyIncome', 'leavingForFamily', 'donation'] | The user's insurance covers |
| selections | Array | The user's leave financial legacy |
| relationshipStatus | Array Enum - ['married', 'divorced', 'dating', 'flySolo'] | The user's relationship status |
| haveChildren | String Enum - ['yesLiveWithMe', 'yesLiveOnTheirOwn', 'notYet', 'doNotWant'] | The user's childer status |
| workStatus | Boolean | The user's work status |
| annualIncome | Number | The user's totla annual income |
| setAside | Number | The user's set aside saving |
| propertyStatus | Array Enum - ['ownOutRight', 'ownedByBank', 'iRent'] | The user's property status |
Example request body
body: {
"insuranceCover": ["payingFuneral", "donation"],
"selections": [
{
"id": 2,
"title": "Spouse"
},
{
"id": 3,
"title": "Son"
}
],
"relationshipStatus": "married",
"haveChildren": "yesLiveWithMe",
"workStatus": true,
"annualIncome": "1000",
"setAside": "20000",
"propertyStatus": "ownOutRight"
}
Returns​
The entire user object.
Example return object with user.life
user: {
"life": {
"lifeInsurance": {
"objectiveCoverage": "payingBills",
"annualIncome": 1000,
"haveChildren": "yesLiveWithMe",
"insuranceCover": [
"payingFuneral",
"donation"
],
"leaveFinancialLegacy": {
"selections": [
{
"id": 2,
"title": "Spouse"
},
{
"id": 3,
"title": "Son"
}
]
},
"relationshipStatus": "married",
"setAside": 20000,
"workStatus": true
}
}
}