Skip to main content
The POST /recurring/v1/cancelOrder endpoint cancels an active recurring order and returns remaining funds to the user. The endpoint supports one cancellation per transaction. Retrieve order accounts via /getRecurringOrders first, then sign and submit the cancel transaction. If you want to cancel order(s), you need to do these steps:
1
Get a list of the order accounts you want to cancel via /getRecurringOrders endpoint.
2
Choose the order account to cancel by making a post request to the /cancelOrder endpoint to get the transaction to cancel the order.
3
Sign then send the transaction to the network either via /execute endpoint or by yourself.
GET RECURRING ORDERSRefer to the /getRecurringOrders section to prepare the list of order accounts you want to cancel.
NOTEThe /cancelOrder endpoint only supports 1 cancellation per transaction.
CAUTIONPrice-based orders via API is deprecated.

Cancel Order Response

Success Example Response
Failed Example Response

Execute Cancel Order

To sign then send the transaction to the network to execute the cancellation, you can use the /execute endpoint or by yourself. Refer to the Execute Order section for more details.