POST
Turn extra usage on or off

Authorizations

x-api-key
string
header
required

The API key to authenticate requests.

Body

application/json
enabled
boolean
required

Whether to go on past your credits at the extra-usage price.

monthlyCapUsd
integer

The most extra usage may cost in a month, in US dollars (10 to 500, in steps of 10). Required to turn it on.

Required range: 10 <= x <= 500Must be a multiple of 10

Response

How extra usage stands now.

available
boolean
required

Whether the plan can use extra usage: a paid plan whose payment is up to date.

enabled
boolean
required

Whether extra usage is on: credits go on past the plan's at $2 for every 100.

monthlyCapUsd
number | null
required

The most extra usage may cost in a month, in US dollars, or null when it is off.

usedUsd
number | null
required

What extra usage has cost so far this month, in US dollars, or null when there is nothing to read.