cURL
curl --request GET \ --url https://test.deribit.com/api/v2/private/cancel_transfer_by_id \ --header 'Content-Type: application/json' \ --data ' { "jsonrpc": "2.0", "id": 9187, "method": "private/cancel_transfer_by_id", "params": { "currency": "BTC", "id": 2 } } '
{ "jsonrpc": "2.0", "id": 9187, "result": { "amount": 0.2, "created_timestamp": 1550579457727, "currency": "BTC", "direction": "payment", "id": 2, "other_side": "2MzyQc5Tkik61kJbEpJV5D5H9VfWHZK9Sgy", "state": "cancelled", "type": "user", "updated_timestamp": 1550579457727 } }
Cancel transfer
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
Id of transfer
12
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?