P2P Order Management
P2P Order Management
Get Pending Orders
Rate limit: 10/sec/UID
Permission: UTA P2P (read)
Get the list of ongoing P2P orders (pending payment, pending release, or in appeal).
Request Parameters
orderIdOrder ID
sideTrade direction:
buy buy
sell sell. Returns all types if not provided
startTimeQuery start time. Unix timestamp in milliseconds
endTimeQuery end time. Unix timestamp in milliseconds
cursorCursor for pagination
limitNumber of items per page. Maximum: 10
Get Pending Orders › Response Parameters
Successful response
codemsgrequestTimeData list
nextIdNext page cursor ID
Get All Orders
Rate limit: 10/sec/UID
Permission: UTA P2P (read)
Get the full history of P2P orders with support for filtering by status, time range, and pagination via cursor. Maximum query range is 90 days; single query range cannot exceed 30 days.
Request Parameters
startTimeStart time. Unix timestamp in milliseconds, e.g. 1597026383085. Maximum query range: 90 days; single query range: 30 days
endTimeEnd time. Unix timestamp in milliseconds, e.g. 1597026383085
limitNumber of items per page. Default: 10
cursorCursor ID for pagination. Leave empty for the first request; pass the nextId returned in the previous response for subsequent requests
orderIdOrder ID
sideTrade direction:
buy buy
sell sell. Returns all types if not provided
statusOrder status:
pending_payment pending payment
pending_release pending release
completed completed
cancelled cancelled
in_appeal in appeal. Returns all statuses if not provided
Get All Orders › Response Parameters
Successful response
codemsgrequestTimeData list
nextIdNext page cursor ID
Get Order Info
Rate limit: 10/sec/UID
Permission: UTA P2P (read)
Get detailed information for a specific P2P order, including payment method details, buyer/seller info, and order status.
Request Parameters
orderIdOrder ID
Get Order Info › Response Parameters
Successful response
codemsgrequestTimeorderIdOrder ID
sideTrade direction:
buy buy
sell sell
tokenCryptocurrency
fiatFiat currency
priceTrade unit price
quantityTrade quantity in cryptocurrency
amountTrade amount in fiat currency
statusOrder status:
pending_payment pending payment
pending_release pending release
completed completed
cancelled cancelled
in_appeal in appeal
advIdCorresponding ad ID
remarkAd remarks
orderCancelCountdownRemaining countdown for order cancellation in seconds
feeFee
verifyCapitalWhether asset-verification order:
yes yes
no no
Payment method details. Only returned for non-asset-verification orders
Seller details
Buyer details
createdTimeOrder creation time in ms
updatedTimeOrder last update time in ms
Confirm Payment
Rate limit: 10/sec/UID
Permission: UTA P2P (read and write)
Mark a P2P order as paid. Call this endpoint after the buyer has completed the payment to notify the seller.
Request Parameters
orderIdOrder ID
Confirm Payment › Response Parameters
Successful response
codemsgrequestTimedataOperation result
Release Asset
Rate limit: 10/sec/UID
Permission: UTA withdrawal
Confirm coin release for a P2P sell order after verifying the buyer's payment. This endpoint requires the withdrawal IP whitelist to be configured.
Request Parameters
orderIdOrder ID
Release Asset › Response Parameters
Successful response
codemsgrequestTimedataOperation result
