priceDeposit
POSThttps://lite-api.jup.ag/recurring/v1/priceDeposit
Request for a base64-encoded unsigned price-based recurring order deposit transaction to be used in POST /recurring/v1/execute
note
- Refer to Recurring API doc for more information
Request
- application/json
Bodyrequired
amountint64required
Possible values: >= 0
orderstringrequired
Base-58 account which is the Recurring Order account
userstringrequired
Responses
- 200
- 400
- 500
Deposit transaction created successfully
- application/json
- Schema
- Example (auto)
Schema
requestIdstringrequired
Required to make a request to /execute
transactionstringrequired
Unsigned base-64 encoded transaction
{
"requestId": "string",
"transaction": "string"
}
Bad request
Internal server error
- curl
- nodejs
- python
- rust
- CURL
curl -L 'https://lite-api.jup.ag/recurring/v1/priceDeposit' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"amount": 0,
"order": "string",
"user": "string"
}'
ResponseClear