Internal Withdrawal
HTTP request Internal Withdrawal
- GET
/api/v2/rebate/affiliate/internalWithdrawal
Rate limit: 10 requests/second
Request parameters
Parameter | Parameter Type | Required | Description |
---|---|---|---|
toUserId | Long | Yes | Transfer-in user ID |
coin | String | Yes | Currency type (USDT, BTC) |
amount | String | Yes | Transfer amount (Up to 6 decimal places) |
fromAccountType | String | Yes | Selected withdrawal account type (SPOT: spot wallet, SPOT_V2: spot pro wallet, FUND: fund wallet) |
toAccountType | String | Yes | Selected receiving account type (SPOT: spot wallet, SPOT_V2: spot pro wallet, FUND: fund wallet) |
Request example
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"
}'
Response parameters
Field Name | Type | Description |
---|---|---|
id | String | Withdrawal ID |
Response example
{
"code": "200",
"id": "1295851890224222208",
"timestamp": 1744681087121
}