Skip to navigation
REST API ReferenceEndpointsBilling

Billing account

Returns the current team, usable balance and explicit billing delegation. No charge or account changes.

Authentication

AuthorizationBearer

API key from app.videogen.io/api. The full key is only shown once when you create it.

Response

Current account or order state.
teamIdstring
teamNamestring
creditsRemaininginteger
currencyenum
Allowed values:
purchaseLimitMinorinteger

Per-purchase billing consent limit in minor currency units. API keys return 9007199254740991, indicating no additional per-key cap; credit-pack limits and team permissions still apply.

accessExpiresAtinteger

Unix seconds when this credential’s billing consent expires. API keys return 9007199254740, indicating no separate billing expiry; deleting the key revokes access.

canPurchaseboolean
purchaseRestrictionstring or nullOptional
creditPackobjectOptional