1. Home
  2. Interswitch Data Service
  3. Profile Analysis
  4. Get An Individual Transaction History

Get An Individual Transaction History

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 NameData TypeMax LengthRequiredDescription
1phoneNoString
YESThis field specify the phone number of the individual we want to get the available KYC information for.

Request Body Description

#Field NameData TypeMax LengthRequiredDescription
2startDateDateYYYY-MM-ddYesThis field specify the beginning of your report. The analysis will cover all records between the value specified in this field and the endDate field.
3endDateDateYYYY-MM-ddYesThis 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

]
}
}

Was this article helpful to you? Yes 1 No

How can we help?