Skip to main content
POST
Turn auto top-up on or off (CR4)

Authorizations

x-api-key
string
header
required

Required when the deployment sets SS_REQUIRE_AUTH=1

Body

application/json
enabled
boolean
required
amount_credits
integer
Required range: 500 <= x <= 100000
threshold_credits
integer
Required range: 0 <= x <= 100000

Response

The auto top-up after the change

account
string
amount_credits
integer
charged
object
customer
boolean
enabled
boolean
last_charge
string
last_charge_at_unix_ms
integer
last_error
string
provider
string
saved_method
boolean
threshold_credits
integer