TheDocumentation Index
Fetch the complete documentation index at: https://dev.jup.ag/docs/llms.txt
Use this file to discover all available pages before exploring further.
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:
Choose the order account to cancel by making a post request to the
/cancelOrder endpoint to get the transaction to cancel the order.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.Cancel Order Response
Success Example ResponseExecute 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.