Parameters
This method takes no parameters.Returns
CreditBalance dataclass with the wallet snapshot.
True when the balance has fallen below the configured low-balance threshold. A good signal to surface a “top up” prompt to your operators.Per-source breakdown of the balance. Each
CreditBucket has:source_type(string): origin of the credits (e.g."paid","promo","redeem").balance(float): credits remaining in this bucket.expires_at(datetime | None): when this bucket expires, if applicable.Nonemeans the bucket does not expire.
Example
Raises
AuthenticationError: when the API key is missing or invalid.