内部转账
HTTP request 内部转账
- POST /api/v2/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/v2/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
}