---
title: "Get all transactions"
method: GET
path: "/transactions"
tags: ["Transaction"]
---

# Get all transactions

`GET /transactions`

Returns all transactions with pagination and filtering options

## Query parameters

- `page` integer
- `limit` integer
- `txId` string, uuid
- `accountName` string
- `status` 'SUCCESS' | 'PENDING' | 'FAILED'
- `type` 'WITHDRAWAL' | 'DEPOSIT'
- `currency` 'NGN' | 'KES' | 'ZAR'
- `minAmount` integer
- `maxAmount` integer
- `startDate` string, date-time
- `endDate` string, date-time

## Response `200`

Transaction response with pagination

- object
  - `status` string
  - `message` string
  - `count` integer — Total number of transactions
  - `nextPage` boolean — Whether there is a next page available
  - `currentPage` integer — Current page number
  - `remainingPage` integer — Number of remaining pages
  - `totalPages` integer — Total number of pages
  - `data` TransactionResponse[]
    - `id` string, uuid
    - `ref` string
    - `hash` string
    - `amount` number
    - `fees` number
    - `currency` 'NGN' | 'KES' | 'BTC' | 'ZAR'
    - `type` 'WITHDRAWAL' | 'DEPOSIT'
    - `status` 'SUCCESS' | 'PENDING' | 'FAILED'
    - `autopayout` boolean
    - `createdAt` string, date-time
    - `updatedAt` string, date-time
    - `metadata` object
      - `id` string, uuid
      - `merchantId` string, uuid
      - `merchantName` string
      - `bankName` string
      - `bankAccountNumber` string
      - `reference` string
      - `customerInternalFee` number
      - `order` object
        - `id` string
        - `settledQuoteId` string, uuid
        - `amount` number
        - `currency` 'NGN' | 'KES' | 'ZAR'
        - `paymentMethod` 'LIGHTNING'
        - `status` 'PAID' | 'PENDING' | 'EXPIRED' | 'FAILED'
        - `quote` object
          - `id` string, uuid
          - `exchangeRate` number
          - `usdToTargetCurrencyRate` number
          - `paymentBtcDetail` string
          - `paymentMethod` 'LIGHTNING'
          - `totalAmount` number
          - `equivalentAmount` number
          - `expiry` string, date-time
          - `sourceCurrency` 'BTCSAT'
          - `targetCurrency` 'NGNKOBO' | 'KESCENT' | 'ZARCENT'
          - `paymentCurrency` 'NGNKOBO' | 'KESCENT' | 'ZARCENT'
          - `customerInternalFee` number

## Other responses

- `400` — Unexpected error

---

[API](https://skmtc.net/stealthmoney/apis/mavapay-api.md) · [All operations](https://skmtc.net/stealthmoney/apis/mavapay-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/stealthmoney/mavapay-api/revisions/94cb0ddffad0/schema)
