Request Parameters

NameDescriptionType
cancel_sideOrder Side

- all : both ask and bid sides (default)
- ask : only ask side
- bid : only bid side
String
pairsMarket pair list to cancel (ex. SGD-BTC,SGD-ETH)

*A maximum of 20 pairs can be canceled per request.
*If pairs are passed, only orders in those market pairs will be canceled.
(e.x. if cancel_side = all, pairs = SGD-BTC,SGD-ETH, only pending orders in SGD-BTC and SGD-ETH markets will be canceled)
String
excluded_pairsExcluded market pair list. (ex. SGD-BTC,SGD-ETH)

*A maximum of 20 excluded_pairs can be passed per a request.
*If excluded_pairs are passed, orders in those market pairs will be ignored.
(e.x. if cancel_side =ask, excluded_pairs = SGD-BTC, pending orders except in SGD-BTC market will be canceled.
String
quote_currenciesQuote unit list to cancel. (ex. SGD,BTC)

*If quote_currencies are passed, only orders in those quote units will be canceled.
(e.x. if cancel_side =bid, quote_currencies = SGD, pending orders with only bid side in all SGD market pairs will be canceled.
String
countA maximum number of orders to cancel. (default : 20, max : 300)Number
order_bySorting method

- asc : requesting cancellation in the order of oldest first.
- desc : requesting cancellation in the order of newest first. (default)
String

*If no parameters are passed, a maximum of 20 recent orders, regardless of their sides, will be canceled.

❗️

This API only accepts the query parameter format. Please note that requesting with body is not supported.

❗️

Please Note That

  • Either pairs or quote_currencies can be passed. If neither is passed, pending orders in all markets will be requested to cancel.
  • Depending on order_by field, if asc, orders will be canceled in the order of oldest creation time, and if desc(default), orders will be canceled in the newest creation time will be canceled, up to specified count.
  • Only orders with WAIT status will be canceled. Orders with WATCH status cannot be canceled in this API.
    → Please use Order List Cancel(DELETE /v1/orders/uuids) or Order Cancel(DELETE /v1/order) instead to cancel orders with WATCH status.
  • This API has a separate rate limit : 1 request per 2 seconds
  • Since trades could be occurred during the cancellation process, their remaining volumes at the time of request could be differ from the volume after cancellation is completed.
  • If a market pair is included in pairs or quote_currencies but also is included in excluded_pairs, orders for that pair will not be canceled as per the request. (excluded_pairs first)

Response

필드설명타입
successinformation of orders successfully requested for cancellationObject
success.countThe number of orders successfully requested for cancellationNumber
success.ordersList of the orders successfully requested for cancellationArray[Object]
success.orders.uuidUUID of the orderString
success.orders.identifierUser custom value for query

*Provided only for orders created after October 18, 2024
String
success.orders.marketMarket pair of the orderString
failedinformation of orders failed to request for cancellationObject
failed.countThe number of orders failed to request for cancellationNumber
failed.ordersList of the orders failed to request for cancellationArray[Object]
failed.orders.uuidUUID of the orderString
failed.orders.identifierUser custom value for query

*Provided only for orders created after October 18, 2024
String
failed.orders.marketMarket pair of the orderString

❗️

Cancellation Failure

Cancellation requests could fail for some orders due to reasons such as the order already being completely filled or canceled before the request, or temporary market suspension (rebranding, etc).

Language