Query Collection order

GET /payin/query

Request header parameters description

Name
Type
Required
Description

x-api-key

string

yes

appkey【Please go to the merchant backend to obtain】

x-api-nonce

string

yes

random string

x-api-timestamp

int(10)

yes

Unix Timestamp

x-api-signature

string

yes

Signature Hash value

(GET)Request parameters

Name
Type
Required
Description

sys_trade_no

string

pick one of two

System order number (sys_trade_no and out_trade_no can be selected, if both exist, the default is sys_trade_no)

out_trade_no

string

pick one of two

Merchant order number (sys_trade_no and out_trade_no can be selected. If both exist, the default is sys_trade_no)

Response example

{
    "code": 0,
    "message": "successful",
    "data": {
        "sys_trade_no": "22e829d72f3e4014865e0f497b7c6ef3",//System order number
        "out_trade_no": "sste5hl2ckhsvovlq91jt0yupxn6a9e0",//Merchant order number
        "assets": "USDT-TRC20",// Asset type
        "amount": 10.1,// Quantity of assets 
        "exc_rate": 1,// Assets execution exchange rate
        "ori_usdt_volume": 10.0,// origin collection amount of USDT
        "cur_usdt_volume": 10.06,// actual collection amount of USDT
        "rel_usdt_volume": 8.7582,// cur_usdt_volume - fee
        "f_rate_payin": 0.03,
        "g_rate_payin": 1.0,
        "fee": 1.3018,
        "status": 2,// Order Status
        "callback": 9,
        "from": "TBg6MAiEZmKdCw2MGBvPvBLUtJuLQYnbMZ",
        "to": "TBg6MAiEZmKdCw2MGBvPvBLUtJuLQYnbMZ",//Receiving address
        "payment_url": "https://op2p.upay.mobi?s=71be5eb0d5f8d398da5b129d9ce68194",// Payment page
        "create_time": 1697192048,// Creation time
        "expire_time": 1697193848,// Expiration
        "payfor_time": 1697192193,// Payment time
        "callbk_time": 1697797272// Callback notification time
    }
}

Last updated