Appearance
!--methodPOST--!/createInsuranceDetails ā
Provide details for the insurance policy.
Broker APIPersonal LoanAuto Loan
š Authentication ā
- Bearer Token - Your API token
š Content-Type ā
| Request | application/json |
| Response | application/json |
š¦ Request Body ā
hash RequiredCustomer's hash
stringinsurance RequiredArray of insurance details
Array<object>min: 1insurance_type RequiredInsurance's type
'property' | 'extended_warranty' | 'gap'amount RequiredInsurance's amount
numberterm RequiredInsurance's term in months
numbermin: 1|max: 99ā¹ļø Examples ā
Request
json
{
"hash": "NCXVOMMEdCLamtCqofOkU1WE9nIxz2UWzFoBMp1y7CsJAAljKifTD1sXekUW",
"insurance": [
{
"insurance_type": "gap",
"insurer": "Nada (20)",
"amount": 5000,
"term": 18
}
]
}Response
json
{
"success": true
}json
{
"message": "The insurer is not matched with the records"
}json
{
"message": "Unauthenticated."
}