Allows merchant to make informed decisions about pending loan applicants
POST (LIVE)
{{URL}}/dikript/analytics/api/v1/analysepdf
POST (TEST)
{{URL}}/dikript/test/api/v1/analysepdf
Request
Content-Type: multipart/form-data
Variable | Description | Required |
---|---|---|
file | pdf File | Yes |
password | pdf password | No |
statementType | CONSUMER / BUSINESS | No |
Header (LIVE)
Key | Description |
---|---|
x-api-key | Your Secret Key |
Header (TEST)
Key | Description |
---|---|
x-api-key | Your Public Key |
NOTE
The response is not instant, you have to either setup a webhook response or call the endpoint to get the details
Response
{
"status": true,
"message": "Successful",
"code": "200",
"apiVersion": "v1",
"transactionRef": "N202407051301381100",
"data": {
"key": 2,
"status": "PROCESSING",
"statementName": "DemoStatement",
"fullName": null,
"phoneNumber": null,
"accountType": null,
"accountBalance": null,
"accountNumber": null,
"accountName": null,
"bankName": null,
"spendAnalysis": null,
"behaviouralAnalysis": null,
"cashFlowAnalysis": null,
"incomeAnalysis": null
},
"error": null
}
{
"status": false,
"message": "Unsuccessful",
"code": "400",
"apiVersion": "v1",
"transactionRef": "N202401101345487388",
"data": "",
"error": {
"code": 400,
"message": null
}
}