Allows merchant to make informed decisions about pending loan applicants
POST (LIVE)
{{URL}}/dikript/analytics/api/v1/afford
POST (TEST)
{{URL}}/dikript/test/api/v1/afford
Request
Variable | Description | Required |
---|---|---|
key | Yes | |
percentageDebtToIncomeRatio | DTI | Yes |
loanTenureInMonths | Tenure in months | Yes |
{
"key":1,
"percentageDebtToIncomeRatio":0.3,
"loanTenureInMonths":3
}
Header (LIVE)
Key | Description |
---|---|
x-api-key | Your Secret Key |
Header (TEST)
Key | Description |
---|---|
x-api-key | Your Public Key |
Response
{
"status": true,
"message": "Successful",
"code": "200",
"apiVersion": "v1",
"transactionRef": "N202407051339273039",
"data": {
"monthlyAmountAffordable": 151421.75,
"totalAmountAffordable": 454265.26,
"percentageDebtToIncomeRatio": 0.3,
"loanTenureInMonths": 3,
"averageMonthlyLoanRepaymentAmount": 0
},
"error": null
}
{
"status": false,
"message": "Unsuccessful",
"code": "400",
"apiVersion": "v1",
"transactionRef": "N202401101345487388",
"data": "",
"error": {
"code": 400,
"message": null
}
}