account

Billing Overview

Changed on
get/account/billing/overview

Request

  • Base URL
    https://api.beatra.ai (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Headers

authorization, string nullable

Response

Successful Response

BillingOverviewResponse 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, ActivePassItem 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, AccountSubscriptionItem nullable
recent_grants, CreditGrantSummaryItem[] required
active_grants, CreditGrantSummaryItem[]
ledger, LedgerEntry[] required
starter_usage, StarterUsageItem nullable

How much of this period's Starter plan has been used, and since when.

Changes

    • info

      added the optional property active_grants to the response with the status

    • info

      added the optional property ledger/items/grant_created_at to the response with the status

    • info

      added the optional property ledger/items/grant_source_type to the response with the status