cURL
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>" }
Request for a base64-encoded unsigned price-based recurring order withdrawal transaction to be used in POST /recurring/v1/execute. Price-based recurring orders are deprecated, please use time-based recurring orders instead.
POST /recurring/v1/execute
DEPRECATED: Price-based recurring orders are deprecated
In
Out
Base-58 account which is the Recurring Order account
If no amount is provided, it will withdraw the entire amount
amount
Withdraw transaction created successfully
Required to make a request to /execute
/execute
Unsigned base-64 encoded transaction