Binance API / SAPI / C2C
BINANCE SAPI · C2C

Get User Order Detail API

Retrieve detailed information for a specific peer-to-peer (C2C) order, including counterparty parameters, trade amounts, execution status, and payment configuration details.

ENDPOINT
POST /sapi/v1/c2c/orderMatch/getUserOrderDetail
Authentication USER_DATA / SIGNED
API Group C2C / Order Match
Method POST
Response JSON

Overview

This endpoint returns the comprehensive lifecycle state and transaction properties for an individual C2C (P2P) order using its order identifier (adOrderNo). It supplies order matching details, price and volume metrics, buyer/seller credentials, and payment methods.

Automated trading systems, reconciliation scripts, and webhook listeners use this endpoint to confirm incoming payment requirements, monitor counterparty actions, and verify trade completion status.

i

Payment Data Privacy Rules

• Completed Orders (≤ 90 days old): Full payment method name, account numbers, and banking details are returned.
• Cancelled Orders OR Orders > 90 days old: Only the payment method name is returned; specific sensitive account details are masked.

01

Request Parameters

Parameters accepted in Body and HTTP Headers.

ParameterInTypeRequiredDescription
clientTypeHeaderSTRINGRequiredClient Device Type initiating the request (e.g., WEB, APP, WEB_MOBILE).
adOrderNoBodySTRINGRequiredUnique order number identifier to query details for.
x-gray-envHeaderSTRINGOptionalEnvironment flag identifier used for internal gray/stage testing.
x-trace-idHeaderSTRINGOptionalCustom client trace ID for request lifecycle tracking and debugging.
x-user-idHeaderSTRINGOptionalTarget user identifier for context validation.

02

Request Example

Example POST request using cURL to fetch order details.

cURL BASH
curl -X POST \
'https://api.binance.com/sapi/v1/c2c/orderMatch/getUserOrderDetail' \
-H 'clientType: WEB' \
-H 'Content-Type: application/json' \
-d '{
  "adOrderNo": "202608161234567890"
}'

03

Response

Example response returned on successful execution.

RESPONSE 200 OK
{
    "code": "000000",
    "message": "success",
    "data": {
        "orderNumber": "202608161234567890",
        "advNo": "1122334455667788",
        "tradeType": "BUY",
        "asset": "USDT",
        "fiat": "USD",
        "fiatSymbol": "$",
        "amount": "100.00",
        "totalPrice": "101.50",
        "unitPrice": "1.015",
        "orderStatus": "COMPLETED",
        "createTime": 1786953600000,
        "counterPartNickName": "CryptoTraderPro",
        "payMethods": [
            {
                "payId": 123456,
                "payType": "BANK",
                "payMethodName": "Bank Transfer",
                "fields": {
                    "account": "1234567890",
                    "bankName": "Chase Bank"
                }
            }
        ]
    },
    "success": true
}

Response Fields

FieldTypeDescription
codeSTRINGStandard Binance status code ("000000" indicates success).
data.orderNumberSTRINGUnique identifier of the C2C trade order.
data.tradeTypeSTRINGTrade direction from user perspective (BUY or SELL).
data.assetSTRINGCryptocurrency asset being traded (e.g., USDT, BTC).
data.fiatSTRINGFiat currency code (e.g., USD, EUR, KES).
data.amountSTRINGTotal cryptocurrency volume in the order.
data.totalPriceSTRINGTotal fiat settlement amount to be paid or received.
data.unitPriceSTRINGEffective price per unit of cryptocurrency.
data.orderStatusSTRINGCurrent order state (e.g., TRADING, BUYER_PAYED, COMPLETED, CANCELLED).
data.payMethodsARRAYList of active payment methods bound to this order.

04

How It Works

Workflow for fetching individual C2C order details.

01 Order Identification Pass order number inside JSON body payload.
 
02 Send POST Request Query /sapi/v1/c2c/orderMatch/getUserOrderDetail.
 
03 Parse State & Pay Info Extract order status, total price, and payment fields.
 
04 Trigger Execution Logic Initiate automated banking transfers or asset release.

Common Use Cases

Automated Payout Matching

Inspect recipient banking and account numbers to automatically initiate external B2C/fiat payouts.

Status Polling & Sync

Periodically synchronize order status transitions across external merchant databases and accounting systems.

Order Reconciliation

Verify transaction amounts, fees, and counterparty nicknames for accounting logs and trade dispute tracking.

💬
Telegram WhatsApp