Use Cancel Order to cancel orders already placed on the exchange.

Cancel Order


Request

KeyTypeValueRequired
typestringcancelorderYes
securitystringThe trading pair to cancelYes
refnostringThe reference order id to cancelYes

Response

KeyTypeValueRequired
typestringcancelorderYes
resultstring"OK" for successful cancellation. For unsuccessful cancellations, this field will be populated with the reason for the rejectionYes
securitystringThe trading pair to cancelYes
refnostringThe reference order id to cancelYes
# Request
{
  "type":"cancelorder",
  "security":"BTCUSD",
  "refno":"3XXF0329A0B0"
}

# Response - Success
{
  "result":"OK",
  "refno":"3XXF0329A0B0",
  "security":"BTCUSD",
  "type":"cancelorder"
}

# Response - Success
{
  "result":"order not found",
  "refno":"3XXF0329A0B0",
  "security":"BTCUSD",
  "type":"cancelorder"
}