内部转账
HTTP request 内部转账
- POST
/api/v3/rebate/affiliate/internalWithdrawal
权重(IP): 100, 权重(UID): 100
请求参数
| 参数名 | 参数类型 | 是否必须 | 描述 |
|---|---|---|---|
| toUserId | Long | 是 | 转入用户ID |
| coin | String | 是 | 币种类型(USDT, BTC) |
| amount | String | 是 | 转账金额(最多6位小数) |
| fromAccountType | String | 是 | 转出账户类型 (SPOT:现货钱包, FUND:资金钱包,默认SPOT) |
| toAccountType | String | 是 | 转入账户类型 (SPOT:现货钱包, FUND:资金钱包,默认SPOT) |
请求示例
curl -X POST "https://api-spot.weex.com/api/v3/rebate/affiliate/internalWithdrawal" \
-H "ACCESS-KEY:*******" \
-H "ACCESS-SIGN:*******" \
-H "ACCESS-PASSPHRASE:*****" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "Content-Type: application/json" \
-d '{
"toUserId": "11111111",
"coin": "USDT",
"amount": "1",
"fromAccountType": "SPOT",
"toAccountType": "SPOT"
}'
返回值
调用成功后返回转账流水 ID(字符串)。
返回示例
"1295851890224222208"