Cancels a pending withdrawal request. This method allows you to cancel a withdrawal that has not yet been processed. Once a withdrawal is processed, it cannot be cancelled.
📖 Related Article: Managing Withdrawals
Scope: wallet:read_write
Request
- Base URLhttps://test.deribit.com/api/v2
- URLhttps://test.deribit.com/api/v2/private/cancel_withdrawal
- Authnone declared
Query parameters
Currency, i.e "BTC", "ETH", "USDC"
The currency symbol.
📖 Related Article: Using the currency Parameter
The withdrawal id
Response
Success response
Example response
{
"result": {
"address": "1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa",
"amount": 1,
"confirmed_timestamp": 1536569522277,
"created_timestamp": 1536569522277,
"fee": 0.000023,
"id": 1,
"priority": 1,
"transaction_id": "1b1fb5568515e2b79503501e3d3680b2d0838d5dfc2d15a04eb8cd9fbbe0b572",
"updated_timestamp": 1536569522277
}
}Changes
- breaking
added to the
response propertyoneOflist for the response status - breaking
the
response's property type changed fromobjectto no type for status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status
- breaking