提币>查询
POST
/api/v1/payout/query
提币api
请求参数
Body 参数application/json
pid
integer <int64>
项目编号
cid
integer <int64>
订单编号
nonce
string
6位随机字符串
timestamp
integer <int64>
时间戳
sign
string
签名
示例
{
"pid": 1382528827416576,
"cid": 1382626461605888,
"nonce": "sw7kv5",
"timestamp": 1687853722065,
"sign": "af825ddb839e6796d62977caf18d3394"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://xxx.xxxx.com/api/v1/payout/query' \
--header 'Content-Type: application/json' \
--data-raw '{
"pid": 1382528827416576,
"cid": 1382626461605888,
"nonce": "sw7kv5",
"timestamp": 1687853722065,
"sign": "af825ddb839e6796d62977caf18d3394"
}'
返回响应
🟢200OK
application/json
Body
code
string
必需
data
object
必需
pid
integer <int64>
项目编号
chain_id
string
链编号
token_id
string
代币编号
currency
string
币种标识
address
string
地址
amount
string
金额
status
integer <int32>
状态
third_party_id
string
调用方业务编号
remark
string
备注
txid
string
交易hash
block_height
string
区块高度
block_time
integer <int64>
区块时间
msg
string
必需
ok
boolean
可选
示例
{
"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
}
}
修改于 2023-07-31 08:11:23