List User's Transactions

Call this endpoint to access a list of current user's transactions page by page

get
List Transactions Paged

https://a1pay.net/api/transactions/fetchpaged
This endpoint allows you to get a list of user's previous transactions
Request
Response
Request
Query Parameters
UserId
required
integer
ID of logged in user
Size
required
integer
The number of transactions to return
LastFetchedId
required
integer
The ID of the last transaction fetched. Pass zero if calling this method for the first time
Response
200: OK
If the status returned is "success", the data will be an array of the following structure
{
"id": "723419",
"TransactionCode": "5210C7",
"PayerNumber": "CFB/08/09/146167",
"TransType": "Actual School Fees Payment",
"SurName": "JOHN",
"FirstName": "SOLOMON",
"OtherNames": "UYOVWISIVWOHWO ",
"Amount": "44500.00",
"PhoneNumber": "080xxx",
"EmailAddress": "[email protected]",
"ProgrammeName": "Undergraduate Regular",
"Faculty": "CLINICAL MEDICINE",
"Department": "MEDICINE",
"Level": "600",
"SessionName": "2018/2019",
"BatchNo": "111101",
"Pin": "0",
"SerialNumber": "0",
"ExpiryDate": "2018-10-14T12:50:52.413",
"CreateDate": "2018-10-11T12:50:53.210",
"AmountPaid": "44500.00",
"collectingbank": "Unity Bank PLC",
"PaymentDate": "2018-10-11T13:29:48.010",
"HasPaid": "1",
"SemesterID": "0",
"ClientID": "1",
"TransStatus": "3",
"College": "",
"IntTransactionCode": "41125210C7",
"BRANCH_NAME": "339: Abraka Branch, Abraka",
"TELLER_ID": "t02080",
"ActualPayDate": "2018-10-11T12:20:26",
"SwitchID": "1",
"SwitchResponseDate": "2018-10-11T13:29:47.803",
"ClientFeedbackTrials": "1"
}

Remember to include the authentication parameters in the header of your request