Skip to main content
GET
/
v1
/
account
/
billing
Get Billing Info
curl --request GET \
  --url https://api.beeble.ai/v1/account/billing \
  --header 'x-api-key: <api-key>'
{
  "billing_period_start": 1711929600,
  "billing_period_end": 1714521600,
  "prepaid_balance": 247.5,
  "current_period_usage": 89.4,
  "meters": [
    {
      "id": "<string>",
      "label": "<string>",
      "unit": "<string>",
      "total_usage": 123
    }
  ]
}

Authorizations

x-api-key
string
header
required

Response

200 - application/json

Successful Response

Current billing period details including usage breakdown and balance.

billing_period_start
integer | null

Billing period start (Unix timestamp)

Example:

1711929600

billing_period_end
integer | null

Billing period end (Unix timestamp)

Example:

1714521600

prepaid_balance
number | null

Prepaid balance in dollars

Example:

247.5

current_period_usage
number | null

Total usage cost in current period in dollars

Example:

89.4

meters
MeterUsage · object[]

Per-meter usage breakdown