Skip to main content

Withdraw

Submit a withdrawal request to transfer coins to an external address.

HTTP Request

POST /api/v1/spot/account/withdraw

Request Parameters

ParameterTypeRequiredDescription
addressstringYesWithdrawal address
coinSymbolstringYesCoin symbol to withdraw (e.g., USDT)
networkstringYesNetwork/chain (e.g., ETH, TRC20)
quantitystringYesWithdrawal amount
pinCodestringYesPIN code for verification
destinationTagstringNoDestination tag/memo (for certain coins)
otpCodestringNoOTP code (if 2FA enabled)

Request Example

curl -X POST "https://open-api.bydoxe.com/api/v1/spot/account/withdraw" \
-H "ACCESS-KEY: your-api-key" \
-H "ACCESS-SIGN: your-signature" \
-H "ACCESS-PASSPHRASE: your-passphrase" \
-H "ACCESS-TIMESTAMP: 1659076670000" \
-H "Content-Type: application/json" \
-d '{
"address": "0x1234567890abcdef1234567890abcdef12345678",
"coinSymbol": "USDT",
"network": "ETH",
"quantity": "100.00",
"pinCode": "123456"
}'

Response Parameters

ParameterTypeDescription
codestringResponse code
msgstringResponse message
requestTimenumberRequest timestamp in milliseconds
dataobjectWithdrawal result data
> idnumberWithdrawal order ID
> coinSymbolstringCoin symbol
> quantitystringWithdrawal amount
> feestringWithdrawal fee
> addressstringWithdrawal address
> destinationTagstringDestination tag (if applicable)
> createdAtstringCreation time in milliseconds

Response Example

Success Response

{
"code": "00000",
"msg": "success",
"requestTime": 1732000000000,
"data": {
"coinSymbol": "USDT",
"quantity": "100.00",
"fee": "1.00",
"address": "0x1234...",
"createdAt": "1763459280833",
"destinationTag": null,
"id": 12345
}
}

Error Codes

CodeMessage
40002Unauthorized
40005Insufficient balance
40007Withdrawal is restricted for 24 hours
40008PIN code not set
40009PIN code is required
40010Invalid PIN code
40011OTP code is required for KYC level 3 users
40012Invalid OTP code
40013OTP is not registered
40014User email is required for OTP verification
40034Maximum withdrawal amount is max
43003Coin not found
43004Withdrawal not available for this coin
43005Minimum withdrawal amount is min
43006Wallet not found
4300824-hour withdrawal limit exceeded
43009Destination tag is required for XRP
43010Invalid network ID: id
43011Invalid address format
50000System error