Internal Withdrawal
HTTP request Internal Withdrawal
- POST /api/v2/rebate/affiliate/internalWithdrawal
Weight(IP): 100, Weight(UID): 100
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 | No | Type of the originating account (SPOT: spot wallet, FUND: funding wallet, Default: SPOT) | 
| toAccountType | String | No | Type of the target account (SPOT: spot wallet, FUND: funding wallet, Default: SPOT) | 
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
}