a1pay
  • Introduction
  • Request Authentication
  • User Login
  • User Signup
  • List User's Transactions
  • Initialize Payment
  • List User's Cards
  • Query a Transaction
  • Requery a Transaction
  • Charge Card
  • OTP Validation
  • Accept Payment Using A1Pay
    • Introduction
    • Initialize Payment
    • Query Status With Your Reference
    • Query Status With A1Pay Reference
    • Sample Integration Codes
Powered by GitBook
On this page

List User's Transactions

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

List Transactions Paged

GET https://a1pay.net/api/transactions/fetchpaged

This endpoint allows you to get a list of user's previous transactions

Query Parameters

Name
Type
Description

UserId

integer

ID of logged in user

Size

integer

The number of transactions to return

LastFetchedId

integer

The ID of the last transaction fetched. Pass zero if calling this method for the first time

{
  "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@yahoo.com",
  "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

PreviousUser SignupNextInitialize Payment

Last updated 4 years ago