cURL
curl --request GET \ --url https://console.vast.ai/api/v0/instances/balance/{id}/ \ --header 'Authorization: Bearer <token>'
{ "success": true, "refundable_deposit": 100, "total_discount": 10, "discount_months": 3 }
Retrieves the deposit details for a specified instance.
CLI Usage: vastai show deposit <id>
vastai show deposit <id>
API key must be provided in the Authorization header
The ID of the instance.
Success response
true
The refundable deposit amount.
100
The total discount applied.
10
The number of months the discount applies.
3