Skip to main content
GET
Get Instance Balance

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Path Parameters

id
integer
required

The ID of the instance.

Response

Returns {success: true, refundable_deposit, total_discount, discount_months}.

success
boolean

True on success

refundable_deposit
number

Amount in USD that would be refunded if the instance is deleted now

total_discount
number

Total discount earned so far from the prepayment

discount_months
number

Number of months of discount remaining