billing

Get Account Status

Check if the authenticated user has a developer account with accepted Terms of Service.

get/v1/billing/account-status

Headers

authorizationstring

Response

Successful Response

has_accountboolean required
tos_accepted_atstring nullable
tos_versionstring nullable
tos_currentboolean

True when accepted terms match current version

billing_type'prepaid' | 'postpaid'

Billing type

spending_limitinteger nullable

Spending limit per billing period in dollars

subscription_status'active' | 'scheduled_cancel' | 'canceled' | 'none'

Metered subscription status

cancel_atstring nullable

ISO 8601 date when subscription will be canceled (scheduled_cancel only)

Example response

{
  "spending_limit": 5000
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.