Credit lifecycle
Post purchases and usage charges, handle bucket allocation, issue refunds, and inspect the ledger.
Plans and allowances
Assign plans, consume recurring allowances, enforce entitlements, and observe plan changes.
Quotas and spend caps
Read quota state, trigger thresholds, count reservations, and reject usage above a plan limit.
Credit priority and expiry
Prioritize credit buckets, grant expiring value, run the expiry sweep, and audit the result.
Leases and financial safety
Reserve, renew, settle, release, and expire leases while enforcing account policy atomically.
Team credit pools
Create a shared team balance, enforce member spend caps, and preserve membership audit history.
Usage analytics
Query metered spend by account, model, and day, then inspect aggregate usage statistics.
Credit lifecycle events
Subscribe to typed credit events and verify post-commit success and business-failure semantics.