Skip to content

AutoTopUpView

A tenant’s auto top-up as its admins see it.

Kind: an object, used in responses.

Every field is present in a response; empty ones are null.

FieldTypeDescription
enabledbooleanCredit is bought automatically when the balance runs low.
thresholdAmountnumberCredit is bought when the balance falls below this.
topUpAmountnumberHow much is bought each time.
currencystringThe currency of the amounts.
hasSavedCardbooleanWhether a card was saved with a top-up. Without one, the billing account’s default card is charged.
lastSucceededAtUtcdatetime | nullWhen credit was last bought automatically.
suspendedAtUtcdatetime | nullSet when a charge failed and auto top-up stopped; saving the settings again restarts it.
suspendedReasonstring | nullWhy it stopped, as a stable code: plan-cannot-top-up (the plan can’t buy credit), no-payment-method (there’s no card to charge), or the card’s decline code from the payment provider, such as card_declined, insufficient_funds, expired_card or authentication_required. Null while it’s running.
{
"enabled": false,
"thresholdAmount": 0,
"topUpAmount": 0,
"currency": "...",
"hasSavedCard": false,
"lastSucceededAtUtc": "2026-10-26T12:00:00.0000000Z",
"suspendedAtUtc": "2026-10-26T12:00:00.0000000Z",
"suspendedReason": "..."
}