Cancel Withdrawal
Cancel a pending withdrawal request.
HTTP Request
POST /api/v1/spot/account/cancel-withdraw
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| orderId | string | Yes | Withdrawal order ID |
Request Example
curl -X POST "https://open-api.bydoxe.com/api/v1/spot/account/cancel-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 '{
"orderId": "12345"
}'
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| code | string | Response code |
| msg | string | Response message |
| requestTime | number | Request timestamp in milliseconds |
| data | string | Result message (or null) |
Response Example
Success Response
{
"code": "00000",
"msg": "success",
"requestTime": 1732000000000,
"data": "success"
}
Error Codes
| Code | Message |
|---|---|
| 40001 | Invalid orderId |
| 40002 | Unauthorized |
| 40004 | Withdraw order not found |
| 40006 | Cannot cancel withdraw with status: status |
| 50000 | System error |