内部转账
HTTP request 内部转账
- GET
/api/v1/rebate/affiliate/internalWithdrawal
限速规则:10次/1s
请求参数
参数名 | 参数类型 | 是否必须 | 描述 |
---|---|---|---|
toUserId | Long | 是 | 转入用户ID |
coin | String | 是 | 币种类型(USDT, BTC) |
amount | String | 是 | 转账金额(最多6位小数) |
fromAccountType | String | 是 | 转出账户类型 (SPOT:现货钱包, SPOT_V2:现货专业钱包, FUND:资金钱包) |
toAccountType | String | 是 | 转入账户类型 (SPOT:现货钱包, SPOT_V2:现货专业钱包, FUND:资金钱包) |
请求示例
curl -X POST "https://contract-openapi.weex.com/api/v1/rebate/affiliate/internalWithdrawal" \
-H "ACCESS-KEY:*******" \
-H "ACCESS-SIGN:*******" \
-H "ACCESS-PASSPHRASE:*****" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:zh-CN" \
-H "Content-Type: application/json" \
-d '{
"toUserId": "11111111",
"coin": "USDT",
"amount": "1",
"fromAccountType": "SPOT",
"toAccountType": "SPOT"
}'
返回参数
字段名 | 类型 | 字段说明 |
---|---|---|
id | String | 转账 ID |
返回示例
{
"code": "200",
"id": "1295851890224222208",
"timestamp": 1744681087121
}