更新监听钱包

说明

更新监听模式下的钱包

接口地址

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

接口参数

名称位置类型必选说明
app_idheaderstring应用ID,示例值:8e4b8c2e7cxxxxxxxx1a1cbd3d59e0bd
mch_idbodystring商户ID,示例值:1234567890
namebodystring钱包备注,在监听钱包模式下,可用作标识一用户一钱包唯一信息,如用户ID
wallet_addressbodystring钱包地址,示例值:TQjxEW2Z3pxxxxxxxxxxxxgJUrWXVAC92T
chainbodystring所属公链,示例值:TRONETHEREUMBSC查看支持公链

参数示例

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

接口返回

名称类型必选说明
codeintegertrue业务状态码
msgstringtrue状态说明
request_idstringtrue
dataWalletDetailfalse

返回示例

{
    "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
    }
}
上次更新: