Skip to main content
PUT
Update auto-recharge

Authorizations

Authorization
string
header
required

Use a Runcrate API key with the rc_live_* prefix as the bearer token. Create one at https://www.runcrate.ai/dashboard/api-keys.

Body

application/json
enabled
boolean
required
Example:

true

threshold_usd
number
required

Top up when the balance falls below this, in USD.

Required range: 20 <= x <= 5000
Example:

25

target_usd
number
required

Top up to this balance, in USD. Above threshold_usd, and at most the key's daily top-up cap.

Required range: 50 <= x <= 10000
Example:

100

Response

The saved settings.

data
object
required