跳到主要内容

获取订单详情

获取订单交易的详细信息,包括交易状态、支付信息、用户信息、商家统计等

HTTP请求

  • GET /api/v3/fiat/order/detail

接口权限要求: P2P 账户读

请求参数

参数名类型必填描述
advOrderNostring订单交易唯一标识

返回参数

参数类型说明
advNostring交易单编号
advOrderNostring广告编号
tradableQuantityBigDecimal交易数量
priceBigDecimal成交价格
amountBigDecimal交易金额(法币)
coinNamestring币种名称
statestring订单状态,见枚举 OrderDealState
payTimeLimitlong付款截止时间(毫秒时间戳)
allowComplainTimelong允许申诉时间(毫秒时间戳)
sidestring交易方向:BUY / SELL
fiatUnitstring法币单位
createTimelong创建时间(毫秒时间戳)
updateTimelong更新时间(毫秒时间戳)
paymentInfoarray广告绑定的支付方式列表
paymentInfo[].idinteger支付方式 ID
paymentInfo[].payMethodinteger支付方式类型
paymentInfo[].bankNamestring银行名称
paymentInfo[].accountstring账号
paymentInfo[].bankAddressstring银行地址
paymentInfo[].payeestring收款人
paymentInfo[].extendstring扩展信息(JSON 字符串)
confirmPaymentInfoobject买方确认付款时选择的支付方式(结构同 paymentInfo 元素)
userInfoobject对手方用户信息
userInfo.accountstring账号(脱敏)
userInfo.realNamestring真实姓名
userInfo.mobilestring手机号(脱敏)
userInfo.merchantboolean是否为商家
userInfo.countryCodestring国家代码
userInfo.nickNamestring昵称
userInfo.kycLevelstringKYC 等级:NONE / PRIMARY / ADVANCED
userInfo.imIdstringIM 用户 ID
userInfo.memberIdstring会员 ID
userInfo.registryTimelong注册时间(毫秒时间戳)
userInfo.hasMobileboolean是否绑定手机
userInfo.hasEmailboolean是否绑定邮箱
userInfo.badgestring用户徽章
userInfo.merchantTypestring商家类型
userFiatStatisticsobject对手方交易统计
userFiatStatistics.totalBuyCountinteger总买单数
userFiatStatistics.totalSellCountinteger总卖单数
userFiatStatistics.doneLastMonthCountinteger近 30 天完成订单数
userFiatStatistics.avgBuyHandleTimenumber平均买单处理时间(分钟)
userFiatStatistics.avgSellHandleTimenumber平均卖单处理时间(分钟)
userFiatStatistics.lastMonthCompleteRatestring近 30 天完成率
userFiatStatistics.completeRatestring总完成率
complainedboolean是否已申诉
blockUserboolean是否已屏蔽该用户
spotCountinteger现货交易次数
unreadCountinteger未读消息数

响应

{
"msg": "success",
"code": 0,
"data": {
"advNo": "d1375000622702411776",
"advOrderNo": "a1370592216728096768",
"tradableQuantity": 0.9345,
"price": 107,
"amount": 100,
"coinName": "USDT",
"state": "PAID",
"paymentInfo": [
{
"id": 921,
"payMethod": 1,
"bankName": "123",
"account": "124",
"bankAddress": "133",
"payee": "123",
"extend": "{}"
}
],
"payTimeLimit": 1737880040000,
"allowComplainTime": 1737879163000,
"side": "BUY",
"fiatUnit": "RUB",
"createTime": 1737879140000,
"updateTime": 1737879143000,
"confirmPaymentInfo": {
"id": 921,
"payMethod": 1,
"bankName": "123",
"account": "124",
"bankAddress": "133",
"payee": "123",
"extend": "{}"
},
"userInfo": {
"account": "da***2@mexc.com",
"realName": "gg hgg",
"mobile": "+22*******51",
"merchant": true,
"countryCode": "GB",
"nickName": "Common-user-14146765509",
"kycLevel": "ADVANCED",
"imId": "14146765509",
"memberId": "b929d3c3085444e9afac52c0cd8ab977",
"registryTime": 1710142298000,
"hasMobile": true,
"hasEmail": true,
"badge": "0",
"merchantType": "normal"
},
"userFiatStatistics": {
"totalBuyCount": 27,
"totalSellCount": 3,
"doneLastMonthCount": 0,
"avgBuyHandleTime": 0.1,
"avgSellHandleTime": 2.06,
"lastMonthCompleteRate": "0",
"completeRate": "0.2500"
},
"complained": false,
"blockUser": false,
"spotCount": 0,
"unreadCount": 0
}
}