> ## Documentation Index
> Fetch the complete documentation index at: https://doc.withedge.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Transaction History

> This endpoint enables you to retrieve the transaction history for a virtual account generated by you.

# Transaction History

Use this endpoint to fetch the transaction history of a specific virtual account. Pagination parameters are supported to handle large datasets.

***

## Request Parameters

<ParamField header="requestId" type="string" required>
  A unique identifier for the request, used for idempotency.\
  **Example:** `e0b9f8d0-7a57-4a67-a8b2-4d7c7b5a37c9`
</ParamField>

<ParamField query="page" type="integer" required>
  The page number to retrieve for paginated results.\
  **Example:** `1`
</ParamField>

<ParamField query="pageSize" type="integer" required>
  The number of transactions to retrieve per page.\
  **Example:** `10`
</ParamField>

<ParamField path="accountNumber" type="string" required>
  The account number of the virtual account whose transaction history is being requested.\
  **Example:** `1158745523`
</ParamField>

<ResponseExample>
  ```json
  {
  	"statusCode": 00,
  	"message": "Transaction History Successfully Retrieved",
  	"data": [
  		{
        "amount": "15,000",
        "accountNumber": "1158745523",
        "accountName": "Bruce Banner",
        "sourceAccountNumber": "1234567890",
        "sourceAccountName": "Steve Rogers",
        "date": "2024-09-10"
      }
  	],
  	"errors": [],
  	"currentPage": 1,
  	"pageSize": 10,
  	"previousPage": 0,
  	"total": 2
  }
  ```
</ResponseExample>
