Skip to main content

cancelOrder

POST 

https://lite-api.jup.ag/recurring/v1/cancelOrder

Request for a base64-encoded unsigned recurring order cancellation transaction to be used in POST /recurring/v1/execute

note
  • recurringType is used to denote the type of recurring order, can be time or price
  • Refer to Recurring API doc for more information

Request

Bodyrequired

    orderstringrequired

    Base-58 account which is the Recurring Order account

    recurringTypeCloseRecurringType (string)required

    Possible values: [time, price]

    userstringrequired

Responses

Recurring order closed successfully

Schema
    requestIdstringrequired

    Required to make a request to /execute

    transactionstringrequired

    Unsigned base-64 encoded transaction

curl -L 'https://lite-api.jup.ag/recurring/v1/cancelOrder' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"order": "string",
"recurringType": "time",
"user": "string"
}'
Request Collapse all
Base URL
https://lite-api.jup.ag/recurring/v1
Body required
{
  "order": "string",
  "recurringType": "time",
  "user": "string"
}
ResponseClear

Click the Send API Request button above and see the response here!