Query Payment order

GET /payout/query

Request header parameter 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": "f08c4eb4bb514eb4281332828a31b670",// System order number
        "out_trade_no": "456dfacf5200bb52da53e5c512c1f229",// Merchant order number
        "assets": "USDT-TRC20",// Assets Type
        "amount": 10,// Quantity of Assets
        "exc_rate":1,// Assets execution exchange rate
        "cur_usdt_volume":10.1,// USDT quantity
        "rel_usdt_volume":10.1,// USDT quantity
        "f_rate_payout": 0.03,// fee-rate
        "g_rate_payout": 1.1,// fixed-fee
        "fee": 1.403,
        "notify_url": "https://test.com/notify?s=grewag124123",
        "from": "TUTL8aPJcBbHDvZWLZ6RMJCaMDqGc6yG3x",// Receiving address
        "to": "TUTL8aPJcBbHDvZWLZ6RMJCaMDqGc6yG3x",
        "status": 2,
        "callback": 3,
        "create_time": 1697797495// Creation time
        "payfor_time": 1697797495// Creation time
        "callbk_time": 1697797495// Creation time
    }
}

Last updated