发起提现申请
POST/withdraw/apply
商户发起提现申请,需要在管理后台进行审批。交易成功后,系统会向商户提供的回调地址发送提现结果通知。
Request
- application/json
Body
required
提现申请表单
chainId int32required
链 ID
此为平台内部 ID,不是链上或者钱包里的链 ID,可以从查询链列表接口获取
currencyId int32required
货币 ID
可以从查询货币列表接口获取
withdrawAddress stringrequired
提现地址
仅对专业版商户:可包含多个地址,用,
分隔,与提现金额一一对应
withdrawAmount stringrequired
提现金额
注:是实际金额,必须为正数,可为小数
仅对专业版商户:可包含多个金额,用,
分隔,与提现地址一一对应
outTradeNo string
商户订单号
注:不支持传入空字符串或仅包含空格的字符串
notifyUrl uri
商户回调地址
必须为公网可访问的 HTTPS 协议地址,否则无法接收到回调通知
Responses
- 200
- 201
- 401
- 403
- 404
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
code int32required
状态码
msg stringrequired
成功或错误提示
description string
错误提示详情
data
object
required
withdrawId int32required
提现订单 ID
{
"code": 0,
"msg": "string",
"description": "string",
"data": {
"withdrawId": 0
}
}
{
"code": 200,
"msg": "success",
"data": {
"withdrawId": 35
}
}
Created
Unauthorized
Forbidden
Not Found
Loading...