This end point enables the caller to get analytical information a given individual based on his transaction history for a specified period.
Request Data Description
# | Field Name | Data Type | Max Length | Required | Description |
1 | phoneNo | String | YES | This field specify the phone number of the individual we want to get the available KYC information for. |
Request Body Description
# | Field Name | Data Type | Max Length | Required | Description |
2 | startDate | Date | YYYY-MM-dd | Yes | This field specify the beginning of your report. The analysis will cover all records between the value specified in this field and the endDate field. |
3 | endDate | Date | YYYY-MM-dd | Yes | This field specified the report end date |
Request Endpoint: {{baseurl}}/api/v1/request/ils/{{msisdn}}/analysis
NOTE: Change the {{msisdn}} in the url to a valid msisdn for the individual you seek to get their transaction history analysi
Headers
HTTP Method: POST
Authentication: User Access Token or Client Access Token
Content-Type: application/json
Sample Request
Request: {
"startDate": "2010-01-01",
"endDate": "2021-01-01"
}
Sample Response
Response: {
"responseCode": "00",
"responseMessage": Successful,
“data”:{
"totalCount": 6
"totalSum": 500000
"transactionTypeAnalysisList": [
{
"transactionType": "POS_WITHDRAWAL",
"transactionCount":4,
"transactionAmount": 200000
},
{
"transactionType": "CASH_WITHDRAWAL",
"transactionCount":2,
"transactionAmount": 300000
}
]
}
}