发起内部划转(沿用现有内部提币流程)
请求URL
POST https://cloud-api.wooxpro.com/transfer/transfer-gateway/private/internalTransfer
请求限制
参见 速率限制详细请求参数
请求
响应详情
响应
错误码
注意:以下错误码将在后续版本调整。
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
发起内部划转(沿用现有内部提币流程)
POST https://cloud-api.wooxpro.com/transfer/transfer-gateway/private/internalTransfer
请求
curl
-H 'X-API-KEY:{{AccessKey}}'
-H 'X-API-TIMESTAMP:{{currentTime}}'
-H 'X-API-SIGN:{{SIGN}}'
-X POST -d '{
"uid":"123456",
"coin":"USDT",
"amount":10.5,
"accountType":"SPOT"
}'
https://cloud-api.wooxpro.com/transfer/transfer-gateway/private/internalTransfer
| 参数 | 类型 | 是否必填 | 描述 |
|---|---|---|---|
| uid | String | 必填 | 收款用户 userId(字符串格式的数字),不能为空 |
| coin | String | 必填 | 币种名称,例如 USDT、BTC |
| amount | Number | 必填 | 金额,必须大于 0 |
| accountType | String | 必填 | 不支持 CONTRACT;如果环境不支持资金账户,则仅允许 SPOT(例如:SPOT、FUND、CONTRACT) |
响应
{
"code": 1000,
"message": "Ok",
"trace": "0cc6f4c48b8c42538e908d3195aa109c",
"data": {
"id": "withdrawId"
}
}
| 字段 | 类型 | 描述 |
|---|---|---|
| id | String | 划转操作 ID |
注意:以下错误码将在后续版本调整。
| errMsg | code |
|---|---|
| Ok | 1000 |
| Failure | -1 |
| Invalid request | -3 |
| User not login | -6 |
| Balance not enough | -2105 |
| Sub-account does not support withdraw | -2112 |
| Internal Withdraw forbidden | -2302 |
| The withdrawal user and the target user cannot be the same | 3014 |
| toUserCid is not in agent system. | -1 / -3 |
| You are not an invited user. | -1 |