v1

latestOpenAPI 3.1.02026-07-13897404.3 KB
Billing

show deposit

Retrieves the deposit details for a specified instance.

CLI Usage: vastai show deposit <id>

get/api/v0/instances/balance/{id}/

Path parameters

idinteger required

The ID of the instance.

Response

Success response

successboolean
refundable_depositnumber

The refundable deposit amount.

total_discountnumber

The total discount applied.

discount_monthsinteger

The number of months the discount applies.

Example response

{
  "success": true,
  "refundable_deposit": 100,
  "total_discount": 10,
  "discount_months": 3
}