Internal Withdrawal
HTTP request Internal Withdrawal
- POST
/api/v3/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/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"
}'
Response
Returns the transfer ID as a string when the request succeeds.
Response example
"1295851890224222208"