> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gate.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Deposit Detail

> Query detail for a fiat recharge order.

## Overview

This page documents the `GET /open/otc/api/recharge/detail` endpoint. The full schema, parameters, and examples are rendered from the linked OpenAPI definition above.

## Notes

* Authentication uses the standard GatePay signed headers.
* This page documents the standard merchant endpoint.
* For shared signing rules, see [/api-reference/version/100/en/common/securityAndSignature](/api-reference/version/100/en/common/securityAndSignature).


## OpenAPI

````yaml api-reference/version/100/en/openapi/otc-fiat-openapi.json GET /open/otc/api/recharge/detail
openapi: 3.1.0
info:
  title: GatePay OTC Fiat API
  description: Reference for OTC fiat withdrawal and deposit APIs.
  version: 2.1.0
servers:
  - url: https://openplatform.gateapi.io
security: []
paths:
  /open/otc/api/recharge/detail:
    get:
      summary: Query OTC Recharge Order Detail
      description: Query detail for a fiat recharge order.
      parameters:
        - $ref: '#/components/parameters/X-GatePay-Certificate-ClientId'
        - $ref: '#/components/parameters/X-GatePay-Signature'
        - $ref: '#/components/parameters/X-GatePay-Timestamp'
        - $ref: '#/components/parameters/X-GatePay-Nonce'
        - name: X-GatePay-MerchantId
          in: header
          required: true
          schema:
            type: integer
            format: int64
          description: Merchant ID.
        - name: orderId
          in: query
          required: false
          schema:
            type: string
          description: >-
            Gate OTC order ID. At least one of orderId or clientOrderId is
            required.
        - name: clientOrderId
          in: query
          required: false
          schema:
            type: string
          description: >-
            Merchant custom order ID. At least one of orderId or clientOrderId
            is required.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OtcRechargeDetailResponse'
components:
  parameters:
    X-GatePay-Certificate-ClientId:
      name: X-GatePay-Certificate-ClientId
      in: header
      required: true
      schema:
        type: string
      description: Merchant application client ID used to identify the calling app.
    X-GatePay-Signature:
      name: X-GatePay-Signature
      in: header
      required: true
      schema:
        type: string
      description: >-
        HMAC signature generated from the request according to GatePay signing
        rules.
    X-GatePay-Timestamp:
      name: X-GatePay-Timestamp
      in: header
      required: true
      schema:
        type: string
      description: Unix timestamp used for replay protection and signature verification.
    X-GatePay-Nonce:
      name: X-GatePay-Nonce
      in: header
      required: true
      schema:
        type: string
      description: Random nonce used together with the timestamp to prevent replay attacks.
  schemas:
    OtcRechargeDetailResponse:
      type: object
      properties:
        code:
          type: string
          description: Business response code.
        status:
          type: string
          description: Top-level request status.
        errorMessage:
          type: string
          description: Error message when the request fails.
        data:
          $ref: '#/components/schemas/OtcRechargeOrder'
          description: Order detail payload.
    OtcRechargeOrder:
      type: object
      properties:
        orderId:
          type: string
          description: Gate OTC order ID.
        otcOrderId:
          type: string
          description: OTC order ID.
        currency:
          type: string
          description: Cryptocurrency code.
        amount:
          type: string
          description: Cryptocurrency amount.
        fiatCurrency:
          type: string
          description: Fiat currency code.
        fiatAmount:
          type: string
          description: Fiat amount.
        cfRate:
          type: string
          description: Exchange rate.
        bankId:
          type: string
          description: Bank ID.
        bankNumber:
          type: string
          description: Bank number.
        paid:
          type: boolean
          description: Whether the order has been paid.
        status:
          type: string
          description: Current order status.
        card_info:
          $ref: '#/components/schemas/OtcCardInfo'
          description: Gate OTC collection bank information.
        createTime:
          type: integer
          format: int64
          description: Order creation timestamp (epoch millis).
        promoCode:
          type: string
          description: Promotion code.
        transferRemark:
          type: string
          description: Required remittance remark.
        paymentReceiptFileUrl:
          type: string
          description: Payment receipt file URL.
    OtcCardInfo:
      type: object
      properties:
        id:
          type: integer
          format: int64
          description: Card info record ID.
        uid:
          type: integer
          format: int64
          description: Merchant UID.
        entity:
          type: string
          description: Entity name.
        bank_account_name:
          type: string
          description: Collection bank account holder name.
        bank_name:
          type: string
          description: Collection bank name.
        bank_country:
          type: string
          description: Collection bank country.
        bank_address:
          type: string
          description: Collection bank address.
        bank_code:
          type: string
          description: Bank code.
        branch_code:
          type: string
          description: Branch code.
        iban:
          type: string
          description: Collection IBAN or account number.
        swift:
          type: string
          description: Collection SWIFT or BIC code.
        remittance_line_number:
          type: string
          description: Bank routing or remittance line number.
        agent_bank_name:
          type: string
          description: Agent bank name if applicable.
        agent_bank_swift:
          type: string
          description: Agent bank SWIFT if applicable.
        transferRemark:
          type: string
          description: Required remittance remark or payment reference.
        memo:
          type: string
          description: Memo.
        is_default:
          type: boolean
          description: Whether this is the default card.
        bank_id:
          type: string
          description: Bank ID.

````