Skip to main content
POST
/
api
/
v1
/
order
/
cancel
Cancel Order
curl --request POST \
  --url https://api.ekiden.fi/api/v1/order/cancel \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "sub_account_address": "<string>",
  "symbol": "BTCUSDC",
  "order_id": "<unknown>",
  "order_link_id": "<unknown>"
}
'
{
  "order_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "order_link_id": "<unknown>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Request to cancel an order.

sub_account_address
string
required
symbol
string
required
Example:

"BTCUSDC"

order_id
null | string<uuid>

Response

200 - application/json

Order canceled

Response for canceling an order.

order_id
string<uuid>
required