POST
/
v1
/
private
/
cancel
curl --request POST \
  --url https://api.doppapp.com/v1/private/cancel \
  --header 'Content-Type: application/json' \
  --header 'x-auth-token: <x-auth-token>' \
  --data '{
  "instrument_name": "<string>",
  "order_id": 1,
  "order_type": "Buy"
}'
{
  "tx_hash": "<string>"
}

Headers

x-auth-token
string
default:
your-token
required

Market makers authentication token

Body

application/json
instrument_name
string
required
order_id
integer
required
Required range: x > 0
order_type
enum<string>
required
Available options:
Buy,
Sell

Response

200 - application/json
Order cancelled successfully
tx_hash
string
required