Withdrawal
POST
/open-api/v1/wallet/withdrawalThis method allows to withdraws funds from the specified wallet to an external address. Only applicable to Parent Qualified Wallet or Parent Prime Wallet
API Key permission group : Enable Withdrawal
Enable Whitelisted Address Checking
Request
Header Params
open-apikey
string
required
OpenAPI key string
signature
string
required
Signature of the request
Body Params application/json
amount
string
required
Withdrawal amount
Example:
10.2
coinSymbol
string
Coin symbol
(in capital letters)
Example:
USDT
memo
string
optional
Memo/address tag
Example:
82486739
network
string
required
Network symbol
Example:
ETH
requestId
integer <int64>
required
Unique Identifier
Example:
1640995200000
timestamp
integer <int64>
required
Current Timestamp in millisecond
Example:
1640995200000
walletId
integer <int64>
Wallet ID for withdrawal
(From)
Example:
1325589336357780500
withdrawalAddress
string
Destination withdrawal address
(To)
Example:
0x25adb98b6dacd3a8bfeec5a321daa879b401eab3
toWalletIdStr
string
required
Destination wallet id
customizeFeeAmount
string
optional
User-specified fee, now support on QW/CW for ETH, BTC, XRP, TRON network
Example
{
"amount": 10.2,
"coinSymbol": "USDT",
"memo": 82486739,
"network": "ETH",
"requestId": 1640995200000,
"timestamp": 1640995200000,
"walletId": 1325589336357780500,
"withdrawalAddress": "0x25adb98b6dacd3a8bfeec5a321daa879b401eab3",
"toWalletIdStr": "string",
"customizeFeeAmount": "string"
}
Request samples
Responses
The operation succeeded(200)
Business error(200)
The client request is invalid(400)
Authentication failed (e.g., invalid token specified by the Authorization header)(401)
Authentication failed, but the operation is not allowed(403)
Requested resource does not exist(404)
Client request rate exceeded the limit(429)
System error(500)
The operation succeeded
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
orderViewId
string
required
status
integer <int32>
Status
10: Pending 20: Processing 30: Send success 40: Confirmed 99: Failed
Example:
0
transferType
integer <int32>
Transfer type
10: On chain transfers; 20: Internal transfers
Example:
10
ExampleSuccessful Test Examples
{
"data": {
"orderViewId": "23193685259147473522080001",
"status": 10,
"transferType": 20
},
"code": "000000",
"message": "Success"
Last modified: a year ago