---
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`

## Request

- Base URL: `https://openplatform.gateapi.io`
- URL: `https://openplatform.gateapi.io/withdraw/open/otc/api/order/detail`
- Auth: none declared. Required headers: `X-GatePay-Certificate-ClientId`, `X-GatePay-Signature`, `X-GatePay-Timestamp`, `X-GatePay-Nonce`

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), REFUND (refunded after successful off-ramp).
    - `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.
    - `finalFiatAmount` string: Final settled fiat amount.
    - `bankSlipInfo` string: Bank slip information.
    - `promCode` string: Promotion code passed when creating the order.
    - `refundAmount` string: Cryptocurrency amount refunded when the order is returned.
    - `tradeFee` string: Total amount of all fee items.
    - `feeCurrency` string: Currency in which each fee item is denominated.
    - `feeDetail` OtcQuoteFeeDetail[]: Fee breakdown.
      - `feeType` string: Fee type: `BANK` fee charged by the bank channel, `GATE_PAY` Gate Pay service fee amount, `SUBSIDY` promotional amount deducted from charged fees.
      - `amount` string: Amount for this fee item.

## Changes

- **2026-09-17** `873496ac0fbf`: 2 info
  - added the optional property `data/feeCurrency` to the response with the `200` status
  - added the optional property `data/feeDetail` to the response with the `200` status
- **2026-09-10** `e229d41eecc7`: 1 info
  - added the optional property `data/refundAmount` to the response with the `200` status

[Operation history](https://skmtc.dev/gate/apis/gatepay-otc-fiat-api/changes/withdraw/open/otc/api/order/detail/get.md)

---

[API](https://skmtc.dev/gate/apis/gatepay-otc-fiat-api.md) - [All operations](https://skmtc.dev/gate/apis/gatepay-otc-fiat-api/llms.txt) - [OpenAPI document](https://skmtc.dev/gate/apis/gatepay-otc-fiat-api/revisions/873496ac0fbf?raw)
