account
Billing Overview
Changed onget/account/billing/overview
Request
- Base URLhttps://api.beatra.ai (the document declares no server; this is the origin it was published from)
- Authnone declared
Headers
authorization, string nullable
Response
Successful Response
Billing Overview Response required
balance_credits, string required
expiring_credits, string required
non_expiring_credits, string required
next_expiry_at, string date-time nullable
next_expiry_credits, string
active_pass, Active Pass Item nullable
The plan pass the account currently holds, if any.
Validity is decided by the clock, not the balance: a customer who has spent every credit still holds the pass they paid for until it lapses. Tying the identity to remaining_credits > 0 would make spending feel like losing something, which is exactly the wrong incentive on a prepaid product.
active_subscription, Account Subscription Item nullable
recent_grants, Credit Grant Summary Item[] required
active_grants, Credit Grant Summary Item[]
ledger, Ledger Entry[] required
starter_usage, Starter Usage Item nullable
How much of this period's Starter plan has been used, and since when.
Changes
- info
added the optional property
active_grantsto the response with the status - info
added the optional property
ledger/items/grant_created_atto the response with the status - info
added the optional property
ledger/items/grant_source_typeto the response with the status
- info