---
title: "Query OTC Withdrawal Order Detail"
method: GET
path: "/withdraw/open/otc/api/order/detail"
---

# Query OTC Withdrawal Order Detail

`GET /withdraw/open/otc/api/order/detail`

Query the detail of an OTC withdrawal order.

## Query parameters

- `orderId` string
- `clientOrderId` string

## Headers

- `X-GatePay-Certificate-ClientId` string, required
- `X-GatePay-Signature` string, required
- `X-GatePay-Timestamp` string, required
- `X-GatePay-Nonce` string, required

## Response `200`

Success

- OrderResponse
  - `code` string — Business response code.
  - `status` string — Top-level request status.
  - `errorMessage` string — Error message when the request fails.
  - `data` OrderRecord
    - `orderId` string — Gate OTC order ID.
    - `status` string — Current order status. Available values: PROCESSING (in processing), DISPATCHED (payout dispatched), DONE (completed), FAIL (failed).
    - `cryptoCurrency` string — Cryptocurrency code.
    - `fiatCurrency` string — Fiat currency code.
    - `cryptoAmount` string — Cryptocurrency amount.
    - `fiatAmount` string — Fiat amount.
    - `fiatRate` string — Settlement fiat rate.
    - `bankAccountId` string — Bank account ID associated with the order.
    - `clientOrderId` string — Merchant-defined order ID.
    - `type` string — OTC order type such as BUY or SELL.
    - `createTime` integer — Order creation timestamp.
    - `updateTime` integer — Last update timestamp.
    - `errMsg` string — Failure reason.
    - `tradeFee` string — Fee amount.
    - `finalFiatAmount` string — Final settled fiat amount.
    - `bankSlipInfo` string — Bank slip information.
    - `promCode` string — Promotion code passed when creating the order.

---

[API](https://skmtc.net/gate/apis/gatepay-otc-fiat-api.md) · [All operations](https://skmtc.net/gate/apis/gatepay-otc-fiat-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gate/gatepay-otc-fiat-api/revisions/c57d5cf03098/schema)
