cURL
curl --request POST \ --url https://api.jup.ag/recurring/v1/priceWithdraw \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "inputOrOutput": "In", "order": "<string>", "user": "<string>", "amount": "<string>" } '
{ "requestId": "e5f6a7b8-c9d0-1234-ef01-345678901234", "transaction": "AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAEN..." }
Request for a base64-encoded unsigned price-based recurring order withdrawal transaction. Price-based recurring orders are deprecated, please use time-based recurring orders instead
Get API key via https://portal.jup.ag
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
Was this page helpful?