Skip to main content
PUT
Prepay Instance

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Path Parameters

id
integer
required

ID of the instance to prepay for

Body

application/json
amount
number

Amount of credits to prepay

Example:

500

Response

Returns {success: true, timescale: , discount_rate: } on successful prepay.

success
boolean

True when prepayment was applied

timescale
number

Effective rental period in months covered by the deposit

discount_rate
number

Discount rate applied to the prepaid amount (0–1)