Query Collection order

GET /api/v1/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,
    "msg": "successful",
    "data": {
        "sys_trade_no": "22e829d72f3e4014865e0f497b7c6ef3",//System order number
        "out_trade_no": "sste5hl2ckhsvovlq91jt0yupxn6a9e0",//Merchant order number
        "assets": "TRC20-USDT",// Asset type
        "quantity": 10,// Quantity of assets 
        "exc_rate": 1,// Assets execution exchange rate
        "usdt_quantity":10.06,// Quantity of USDT
        "origin_usdt_quantity":10.06,// Origin USDT quantity
        "status": 2,// Order Status
        "to": "TBg6MAiEZmKdCw2MGBvPvBLUtJuLQYnbMZ",//Receiving address
        "payment_url": "https://cashier.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