---
title: "Get transaction details"
method: GET
path: "/transaction"
tags: ["Transaction"]
---

# Get transaction details

`GET /transaction`

Returns the transaction details for a given transaction ID or transactions associated with an order

## Query parameters

- `id` string, string
- `orderId` string, string
- `hash` string, string

## Response `200`

Transaction response

- object
  - `status` string, string
  - `data` TransactionResponse
    - `id` string, uuid
    - `ref` string
    - `hash` string
    - `amount` number
    - `fees` number
    - `currency` 'NGN' | 'KES' | 'BTC' | 'ZAR' | 'USDT'
    - `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

## Changes

- **2026-08-20** `842376cab855` — 1 warning
  - added the new `USDT` enum value to the `data/currency` response property for the response status `200`
- **2025-02-25** `f3878f349317` — 1 info
  - removed the `TRANSFER` enum value from the `data/type` response property for the response status `200`
- **2025-02-01** `7b7e4fa5fe46` — 8 breaking, 2 warning, 3 info
  - the `data/amount` response's property type/format changed from `number`/`number` to `number`/`` for status `200`
  - the `data/autopayout` response's property type/format changed from `boolean`/`boolean` to `boolean`/`` for status `200`
  - the `data/currency` response's property type/format changed from `string`/`string` to `string`/`` for status `200`
  - the `data/fees` response's property type/format changed from `number`/`number` to `number`/`` for status `200`
  - …9 more
- **2025-02-01** `c220a3435512` — 2 warning, 1 info
  - removed the optional property `data/transactionMetadata/eProviderRef` from the response with the `200` status
  - added the new `ZAR` enum value to the `data/currency` response property for the response status `200`
  - removed the `USD` enum value from the `data/currency` response property for the response status `200`
- **2024-06-16** `05948c6d9492` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/stealthmoney/apis/mavapay-api/changes/transaction/get.md)

---

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