Withdrawal (V2)
POST
/open-api/v2/wallet/withdrawalThis method enables the withdrawal of funds from the specified wallet to an external address or a Ceffu wallet. The withdrawal endpoint is applicable only to parent Qualified wallet ID or Cosign wallet or parent Prime wallet ID. To indicate the destination address, either 'withdrawalAddress' or 'ToWalletIdStr' must be provided. If the destination address is a Ceffu wallet address, the whitelisted address verification will be bypassed.
IMPORTANT NOTES: The amount field in Withdrawal (v2) endpoint means withdrawal amount excluded network fee in v2, that is exact amount receiver will receive. Please use
Get Withdrawal History v2
andGet Withdrawal Detail (v2)
together withWithdrawal (v2)
.
API Key permission group : Enable Withdrawal
, Enable Whitelisted Address Checking
请求参数
OpenAPI key string
Signature of the request
{}
示例代码
Responses
response data, maybe null
'000000' indicates success, while any others indicate failure.
When the code is '000000' (success), it represents the details of the response. Otherwise, it represents the details of the error.
{
"data": {
"orderViewId": "24073614526151542000320001",
"status": 10,
"transferType": 10
},
"code": "000000",
"message": "Success"
}