CreditBalance

A subscription's usage credits for one feature (unit credits) or currency (dollar balance). The CreditBalance type in Bunny's GraphQL API and its fields.

Name Type Description
account Account  
accountId ID  
available Float Credits usable on the account current date, which is simulated while fast-forwarded
balance Float Credits remaining across all grants, including scheduled ones
currencyId ID Set for a dollar balance
denomination String The currency code or unit name
feature Feature  
featureId ID Set for unit credits: the feature they prepay
id ID  
lastSequence Int  
pendingTopUpInvoiceId ID The auto top-up invoice waiting to be paid; no second top-up starts meanwhile
pendingTopUps List (CreditTopUp) Top-ups, auto or by hand, whose invoice is waiting to be paid
state CreditBalanceState  
subscription Subscription  
subscriptionId ID