---
title: "Get Account Transactions"
method: GET
path: "/accounts/{id}/transactions"
---

# Get Account Transactions

`GET /accounts/{id}/transactions`

Fetches all transactions of the specified account according to the query parameters.

## Path parameters

- `id` string, required

## Query parameters

- `page` integer
- `limit` integer
- `fromDate` string, date
- `toDate` string, date

## Response `200`

Account transactions fetched successfully.

- object
  - `statusCode` integer — Status code of the response. `200` indicates a successful request.
  - `message` string — Human-readable description of the result.
  - `data` object[] — Array of objects for the requested page.
    - `_id` string — Unique identifier of the object.
    - `business` string — Identifier of the business that owns this object.
    - `customer` string — Associated customer — an id, or a summary object on nested resources.
    - `card` string — Associated card — an id, or a summary object on nested resources.
    - `account` string — Associated account — an id, or a summary object on nested resources.
    - `authorization` string — Identifier of the authorization this transaction belongs to.
    - `type` string — Type of the object.
    - `amount` integer — Amount in the minor currency unit (e.g. kobo).
    - `fee` integer — Fee charged, in the minor currency unit.
    - `vat` integer — VAT charged, in the minor currency unit.
    - `currency` string — ISO 4217 currency code (e.g. `NGN`).
    - `merchantAmount` integer — Amount in the merchant's currency.
    - `merchantCurrency` string — Merchant's ISO 4217 currency code.
    - `status` string — Current status of the object.
    - `transactionMetadata` object — Channel and reference metadata for the transaction.
      - `channel` string — Channel the transaction occurred on (`web`, `pos`, `atm`).
      - `type` string — Type of the object.
      - `reference` string — Unique reference assigned to the object.
    - `createdAt` string, date-time — ISO 8601 timestamp of when the object was created.
    - `updatedAt` string, date-time — ISO 8601 timestamp of when the object was last updated.
    - `__v` integer — Internal document version (Mongo).
  - `pagination` object — Pagination metadata for the result set.
    - `total` integer — Total number of records matching the query across all pages.
    - `pages` integer — Total number of pages available for the current query.
    - `page` integer — Current page index (zero-based; matches the `page` query parameter).
    - `limit` integer — Maximum number of records returned per page (matches the `limit` query parameter).

## Other responses

- `400` — Validation error.
- `401` — Authentication failed — missing or invalid API key.

---

[API](https://skmtc.net/sudo/apis/sudo-sandbox-api.md) · [All operations](https://skmtc.net/sudo/apis/sudo-sandbox-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sudo/sudo-sandbox-api/versions/52be624fcb53/schema)
