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

Authorizations

x-api-key
string
header
required

Get API key via https://portal.jup.ag

Body

application/json

DEPRECATED: Price-based recurring orders are deprecated

amount
integer<int64>
required
Required range: x >= 0
order
string
required

Base-58 account which is the Recurring Order account

user
string
required

Response

Deposit transaction created successfully

requestId
string
required

Required to make a request to /execute

transaction
string
required

Unsigned base-64 encoded transaction