Position Management
Important: This endpoint behaves differently based on the position ID parameter:
- With Position ID: Deposits into the specified existing position
- Without Position ID: Creates a new position (does NOT auto-reuse empty positions like Jupiter’s frontend)
This is for Jupiter Borrow (collateralized lending positions). For non-collateralized lending, use the Jupiter Earn endpoints.
Path Parameters
Vault ID to interact with.
Example:
"1"
Query Parameters
Optional position ID to deposit into. If provided, deposits into the existing position. If not provided, creates a new position. Note: We do NOT auto-reuse empty positions like Jupiter's frontend does.
Example:
"HfU5n6zHmHtJjR4e2vKBkw8TpnSfEjMqKpMa1Qy5Qwmv"