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<float>
required

Amount of credits to prepay

Example:

500

Response

Successfully applied prepayment

success
boolean
Example:

true

timescale
number<float>

Number of months the prepayment will cover

Example:

3.5

discount_rate
number<float>

Applied discount rate (0.0-0.4)

Example:

0.3