POST
/
sapi
/
v1
/
cancel
curl --request POST \
  --url https://openapi.odyssey.trade/sapi/v1/cancel \
  --header 'Content-Type: application/json' \
  --data '{
  "orderId": "<string>",
  "symbol": "<string>"
}'
{
  "orderId": "<string>",
  "symbol": "<string>",
  "status": "NEW"
}

Body

application/json
orderId
string
required
symbol
string
required

Response

200
application/json
Successful Response

Response of the request: :class:odyssey_exchange_api.requests.SpotCancelOrderRequest.

Contains an order id, asset symbol and order status.

orderId
string
required
symbol
string
required
status
enum<string>
required
Available options:
NEW,
New Order,
Partially Filled,
Filled,
Cancelled,
PENDING_CANCEL,
Partially Filled/Cancelled,
REJECTED