余额查询

说明

查询余额详情以及实时状态

接口地址

POST https://api.ttpay.io/v1/merchant/balance

接口参数

接口返回

返回示例

{
    "code": 0,
    "msg": "ok",
    "request_id": "08250916-a677-4a36-a090-323807ac644c",
    "data": {
     "merchant_id": 167,
        "mch_id": "7787768757",
        "network": "TRC20",
        "chain": "TRON",
        "balance": "54670000",
        "currency": "USDT",
        "decimal": 6,
        "create_time": 1724237814113,
        "modify_time": 1724239248394,
        "cash_time": 0
    }
}

代码示例

curl --location --request GET 'https://api.ttpay.io/v1/merchant/balance
--header 'Authorization: '
--header 'User-Agent: TTPay API (https://ttpay.io)'
--header 'Content-Type: application/json'
--data-raw ''

Last updated