---
title: "Get order details"
method: GET
path: "/order"
tags: ["Order"]
---

# Get order details

`GET /order`

Returns the order details for a given order ID

## Query parameters

- `id` string, string, required

## Response `200`

Order response

- object
  - `status` string, string
  - `data` Order
    - `orderId` string, string
    - `quoteId` string, string
    - `status` 'PAID' | 'PENDING' | 'EXPIRED' | 'FAILED', string
    - `currency` 'NGN' | 'KES', string
    - `paymentCollectionMethod` 'LIGHTNING' | 'ONCHAIN' | 'USDT', string
    - `isValid` boolean
    - `displayAmount` string, string
    - `paymentBtcDetail` string, string
    - `createdAt` string, date-time
    - `quote` Quote
      - `id` string, uuid
      - `exchangeRate` number
      - `usdToTargetCurrencyRate` number
      - `sourceCurrency` 'BTCSAT' | 'NGNKOBO' | 'KESCENT', string
      - `targetCurrency` 'NGNKOBO' | 'KESCENT', string
      - `transactionFeesInSourceCurrency` number
      - `transactionFeesInTargetCurrency` string, string
      - `amountInSourceCurrency` number
      - `amountInTargetCurrency` string, string
      - `paymentMethod` 'LIGHTNING' | 'ONCHAIN' | 'USDT', string
      - `expiry` string, date-time
      - `isValid` boolean
      - `createdAt` string, date-time
      - `updatedAt` string, date-time

## Other responses

- `400` — Unexpected error

## Changes

- **2024-06-15** `2830f1e470da` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/stealthmoney/apis/mavapay-api/changes/order/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.dev/stealthmoney/apis/mavapay-api/revisions/2830f1e470da?raw)
