Skip to main content
POST
/
priceWithdraw
priceWithdraw
curl --request POST \
  --url https://lite-api.jup.ag/recurring/v1/priceWithdraw \
  --header 'Content-Type: application/json' \
  --data '{
  "amount": "<string>",
  "inputOrOutput": "In",
  "order": "<string>",
  "user": "<string>"
}'
{
  "requestId": "<string>",
  "transaction": "<string>"
}

Body

application/json

DEPRECATED: Price-based recurring orders are deprecated

inputOrOutput
enum<string>
required
Available options:
In,
Out
order
string
required

Base-58 account which is the Recurring Order account

user
string
required
amount
string<int64> | null

If no amount is provided, it will withdraw the entire amount

Response

Withdraw transaction created successfully

requestId
string
required

Required to make a request to /execute

transaction
string
required

Unsigned base-64 encoded transaction

I