提币>发起
POST
/api/v1/payout
提币api
请求参数
Body 参数application/json
pid
integer <int64>
项目编号
currency
string
币种标识
address
string
地址
amount
string
金额
callback_url
string
回调地址
third_party_id
string
调用方业务编号
remark
string
备注
nonce
string
6位随机字符串
timestamp
integer <int64>
时间戳
sign
string
签名
示例
{
"pid": 1382528827416576,
"currency": "195@195",
"address": "TXsmKpEuW7qWnXzJLGP9eDLvWPR2GRn1FS",
"amount": "1.1",
"remark": "payout",
"third_party_id": "c9231e604da54469a735af3f449c880f",
"callback_url": "http://xxx.com/payout/callback",
"nonce": "hwlkk6",
"timestamp": 1688004243314,
"sign": "d6eef2de79e39f434a38efb910213ba6"
}
示例代码
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' \
--header 'Content-Type: application/json' \
--data-raw '{
"pid": 1382528827416576,
"currency": "195@195",
"address": "TXsmKpEuW7qWnXzJLGP9eDLvWPR2GRn1FS",
"amount": "1.1",
"remark": "payout",
"third_party_id": "c9231e604da54469a735af3f449c880f",
"callback_url": "http://xxx.com/payout/callback",
"nonce": "hwlkk6",
"timestamp": 1688004243314,
"sign": "d6eef2de79e39f434a38efb910213ba6"
}'
返回响应
🟢200OK
application/json
Body
code
string
必需
data
object (WithDrawVO)
必需
cid
integer <int64>
订单编号
msg
string
必需
ok
boolean
可选
示例
{
"code": "00000",
"msg": "ok",
"data": {
"cid": 1382688606330880
}
}
修改于 2023-08-01 01:20:16