Customized checkout check

GET /api/v1/cashier/query

(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": "ok",
    "data": {
        "sys_trade_no": "22e829d72f3e4014865e0f497b7c6ef3",//System order number
        "out_trade_no": "sste5hl2ckhsvovlq91jt0yupxn6a9e0",//Merchant order number
        "assets": "TRC20-USDT",//Transaction Type
        "usdt_quantity":10,//usdt quantity
        "exc_rate":1,//execution exchange rate
        "quantity": 10,//Number of transactions
        "status": 1,//Order Status
        "to": "TNBRPUdTi6JZTPjn1Pr3MbL7kVJmW9Qz6k",//Transaction payment address
        "payment_url": "https://xxx.test.com",//Transaction page payment url
        "redirect_url": "",//Synchronous jump address after payment is completed
        "create_time": 1697192048,//creation time
        "expire_time": 1697193848,//Expiration
        "payfor_time": 1697192193,//Payment time
        "callbk_time": 0,//Asynchronous callback time
        "server_time": 1697797038//Server current time
    }
}

Last updated