Billing

Update auto top-up settings

Enable/disable and configure credit auto top-up. Requires a user credential with billing:manage.

put/billing/auto-top-up

Request

  • Base URL: https://api.sazabi.com/v1
  • URL: https://api.sazabi.com/v1/billing/auto-top-up
  • Auth: none declared

Request body

organizationIdstring

Organization to operate on. Auto-filled from CLI and SDK context when omitted. User tokens must supply it unless the credential's fixed scope resolves it; secret keys may omit it (the key's organization applies).

enabledboolean required
triggerCreditBalancestring required
topUpAmountstring required
cycleSpendingLimitstring required

Response

OK

supportedboolean required

Whether auto top-up is available for the account's plan.

enabledboolean required
triggerCreditBalancestring required
topUpAmountstring required
cycleSpendingLimitstring required
currencystring required
creditsToGrantstring nullable required
statusstring required

Changes

No recorded changes to this operation across all 54 revisions of this API.