# List User's Transactions

## List Transactions Paged

<mark style="color:blue;">`GET`</mark> `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 |

{% tabs %}
{% tab title="200 If the status returned is "success", the data will be an array of the following structure" %}

```javascript
{
  "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"
}
```

{% endtab %}
{% endtabs %}

{% hint style="info" %}
Remember to include the authentication parameters in the header of your request
{% endhint %}
