curl --request GET \
--url https://devapi.withedge.co/gateway/api/v1/account/virtual/transactions/{accountNumber} \
--header 'Authorization: Bearer <token>' \
--header 'requestId: <requestid>'
{
"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
}
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
A unique identifier for the request, used for idempotency.
Example: e0b9f8d0-7a57-4a67-a8b2-4d7c7b5a37c9
The page number to retrieve for paginated results.
Example: 1
The number of transactions to retrieve per page.
Example: 10
The account number of the virtual account whose transaction history is being requested.
Example: 1158745523
{
"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
}