查询订单

描述

订单查询

路径

POST open/api/payment/query

请求参数

参数名验签必选类型长度说明
appIdstring64appID
merchantOrderNostring64订单号
signstring256

返回参数

参数名验签类型长度说明
orderNoString64ACH 订单号
orderStatusString32订单状态
userIdString128用户ID
(email or phone number)
merchantOrderNoString64商户订单号(不可重複)
orderCurrencyString32订单币种(USD/EUR)
orderAmountString16订单金额 单位:美分
payCryptoRateString16支付币种汇率 (to USDT)
payFiatRateString16支付法币汇率 (to USD)
payCryptoCurrencyString32支付数币币种
payCryptoVolumeString16支付数币数量
payCryptoNetworkString32支付币种网络
addressString256用户转账地址
hxAddressString256用户转账hash
failReasonString256失败原因
feeString16手续费
settlementAmountString16入账金额
settlementCurrencyString16入账金额币种
customParamObject512扩展字段

订单状态

code码解释
INIT订单待支付
PROCESSING订单支付中
COMPLETED订单支付成功
TIMEOUT订单超时
FAILED订单支付失败
DELAY_SUCCESS订单超时,用户支付成功
DELAY_FAILED订单超时,用户支付失败

失败原因

code码解释
crypto or network inconsistent币种或网络错误
Your payment amount is lower than this order支付数币数量>实际支付数币数量
Due to fluctuations in the currency proce, your payment amount cannot fulfill this order价格波动不满足

返回参数示例

{
    "payCryptoCurrency": "ACH",
    "vCryptoNetwork": "BTC",
    "payCryptoRate": "123.4",
    "payCryptoVolume": "123",
    "payFaitRate": "1.23",
    "address": "adfdsafdsafdsafdsafadsfdsaf",
    "customParam": "customParam",
    "failReason": "crypto or network inconsistent",
    "fee": "1.1",
    "hxAddress": "aweweas",
    "merchantOrderNo": "9999999999",
    "orderAmount": "12",
    "orderCurrency": "EUR",
    "orderNo": "300217177567252640030",
    "orderStatus": "CLOSE",
    "userId": "[email protected]"
}