Skip to main content
Replace automatic credit top-up settings

Authorizations

Authorization
string
header
required

BoxRouter API key; never an upstream provider key.

Body

application/json
enabled
boolean
required
threshold_minor
integer
required

Start one top-up when available credit falls below this US-cent trigger level.

Required range: x >= 0
amount_minor
integer
required

Top-up in whole US cents, within the current purchase_bounds_minor.

Required range: x >= 1

Response

Workspace auto top-up settings after evaluation.

enabled
boolean
required
threshold_minor
integer | null
required

Start one top-up when available credit falls below this US-cent trigger level; null until configured.

Required range: x >= 0
amount_minor
integer | null
required

Top-up in whole US cents, within current purchase_bounds_minor; null until configured.

Required range: x >= 1
email_delivery
enum<string>
required

Whether SMTP and a verified workspace-owner address are configured for auto-top-up failure notices; configured does not guarantee successful delivery.

Available options:
configured,
log_only
last_attempt
object

Most recent top-up attempt, if one has been made.

disabled_reason
enum<string>

Why auto top-up was disabled after a decline, required authentication, or removal of the last saved card.

Available options:
payment_declined,
authentication_required,
payment_method_required,
refund_accepted,
all_cards_failed