接入API

POST /api/v1/payout/query

请求

请求参数

名称类型是否必须描述
pidinteger(int64)项目编号
cidinteger(int64)订单编号
noncestring6位随机字符串
timestampinteger(int64)时间戳
signstring签名
请求示例
{
  "pid": 1382528827416576,
  "cid": 1382626461605888,
  "nonce": "sw7kv5",
  "timestamp": 1687853722065,
  "sign": "af825ddb839e6796d62977caf18d3394"
}

返回

返回数据

名称类型描述
codestring返回码
msgstring返回信息
dataobject返回数据

Response data Object

名称类型描述
pidinteger(int64)项目编号
chain_idstring链编号
token_idstring代币编号
currencystring币种标识
addressstring地址
amountstring金额
statusinteger(int32)状态
third_party_idstring调用方业务编号
remarkstring备注
txidstring交易hash
block_heightstring区块高度
block_timeinteger(int64)区块时间
返回示例
{
  "code": "00000",
  "msg": "ok",
  "data": {
    "pid": 1382528827416576,
    "address": "TXsmKpEuW7qWnXzJLGP9eDLvWPR2GRn1FS",
    "chain_id": "195",
    "token_id": "195",
    "currency": "TRX",
    "amount": "1.1",
    "third_party_id": "1e0fb3a0a9454ad8928d26b592e8b3c7",
    "remark": "payout",
    "status": 0,
    "txid": "6dd05b0972075542219a3fcc116c58feaf9480f1f698cc46c4367ded83955cfd",
    "block_height": "34527604",
    "block_time": 1686814482000
  }
}