cURL
curl --request GET \ --url https://test.deribit.com/api/v2/private/cancel_withdrawal \ --header 'Content-Type: application/json' \ --data ' { "jsonrpc": "2.0", "id": 7420, "method": "private/cancel_withdrawal", "params": { "currency": "BTC", "id": 1 } } '
{ "jsonrpc": "2.0", "id": 7420, "result": { "address": "2NBqqD5GRJ8wHy1PYyCXTe9ke5226FhavBz", "amount": 0.5, "confirmed_timestamp": null, "created_timestamp": 1550571443070, "currency": "BTC", "fee": 0.0001, "id": 1, "priority": 0.15, "state": "cancelled", "transaction_id": null, "updated_timestamp": 1550571443070 } }
Cancels withdrawal request
Scope: wallet:read_write
wallet:read_write
Try in API console
The currency symbol Currency, i.e "BTC", "ETH", "USDC"
"BTC"
"ETH"
"USDC"
BTC
ETH
USDC
USDT
EURR
The withdrawal id
1
Success response
The JSON-RPC version (2.0)
2.0
Show child attributes
The id that was sent in the request
Was this page helpful?