applicationWeb
- base
- localhost
- dev
- prod
/v2/private/purchase/truStage/application
http://localhost:1350/v2/private/purchase/truStage/application
https://dev.everdays.com/v2/private/purchase/truStage/application
https://everdays.com/v2/private/purchase/truStage/application
Available Methods​
- POST
POST /v2/private/purchase/truStage/application​
This endpoint will be used when the user selected a product on the solution page and this will generate a URL for the user application for TruStage.
Params​
| Param | Type | Description |
|---|---|---|
| coverageAmount | Number | The select coverageAmount for the policy |
| monthlyPrice | Number | The monthlyPrice for the policy |
| productCode | String | Code for the selected product |
| page | String | curent page name |
| topLevelProductCode | String | Top Level code for selected product |
Example request body
body: {
"monthlyPrice": 150,
"productCode": "2016 SITERM80",
"coverageAmount": 9000,
"page": "solution"
}
Returns​
The entire user object. user.purchase data will be updated and data will be saved to the truStage object.
Example return object with user.purchase.truStage
user: {
...,
"truStage": {
"appUrl": "https://apply.trustagedemo.com/eapp/trustageRequest?cunaid=yVAhPrLsWBOPCz1Hd%2BvrOj6XhQjEDxTIGx9dlm4hgSE%3D"
"applicationId": "CUNA17092643"
"defaultCoverage": {
"coverageAmount": 14000,
"monthlyPrice": 71.4
},
"externalTrackingId": "38b37247"
"pricing": [{…}]
"productSelected" : {
"coverageAmount": 14000,
"monthlyPrice":71.4,
"productCode": "2016 GA Whole Life",
"submittedOn": "2023-06-07T00:38:22.113Z",
"topLevelProductCode": "2016 GA Whole Life"
}
"status": "Approved"
}
}