NOTE
- Lite URL:
https://lite-api.jup.ag/recurring/v1/priceDeposit
- Pro URL:
https://api.jup.ag/recurring/v1/priceDeposit
CAUTIONPrice-based orders via API is deprecated.
Deposit Order
If you want to deposit funds into a price-based order, you need to do these steps:1
Get a list of the order accounts you want to deposit via
/getRecurringOrders
endpoint.2
Choose the order account to deposit by making a post request to the
/priceDeposit
endpoint to get the transaction to deposit into the order.3
Sign then send the transaction to the network either via
/execute
endpoint or by yourself.GET RECURRING ORDERSRefer to the
/getRecurringOrders
section to prepare the order account you want to deposit into.Deposit Order Response
Success Example ResponseExecute Deposit Order
To sign then send the transaction to the network to execute the deposit, you can use the/execute
endpoint or by yourself.
Refer to the Execute Order section for more details.