GET
/
api
/
v0
/
instances
/
balance
/
{id}
/
show deposit
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
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
integer
required

The ID of the instance.

Response

Success response

success
boolean
Example:

true

refundable_deposit
number

The refundable deposit amount.

Example:

100

total_discount
number

The total discount applied.

Example:

10

discount_months
integer

The number of months the discount applies.

Example:

3