添加监听钱包

说明

添加监听模式下的钱包

接口地址

POST https://api.ttpay.io/v1/wallet/insert

接口参数

参数示例

{
  "mch_id": "1234567890",
  "app_id": "8e4b8c2e7cxxxxxxxx1a1cbd3d59e0bd",
  "wallet_address": "TQjxEW2Z3pxxxxxxxxxxxxgJUrWXVAC92T",
  "chain": "TRON",
  "name": "28713"
}

接口返回

返回示例

{
    "code": 0,
    "msg": "ok",
    "request_id": "60eeeab2-7896-4f80-8088-4251d262dea6",
    "data": {
        "app_id": "8e4b8c2e7cxxxxxxxx1a1cbd3d59e0bd",
        "mch_id": "1234567890",
        "name": "28713",
        "chain": "TRON",
        "wallet_address": "TQjxEW2Z3pxxxxxxxxxxxxgJUrWXVAC92T",
        "create_time": 1675236993,
        "last_time": 0
    }
}

代码示例

curl --location --request POST 'https://api.ttpay.io/v1/wallet/insert' \
--header 'Authorization: <Authorization>' \
--header 'User-Agent: TTPay API (https://ttpay.io)' \
--header 'Content-Type: application/json' \
--data-raw '<body data here>'

Last updated