> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.videogen.io/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.videogen.io/_mcp/server.

# Billing account

GET https://api.videogen.io/v1/billing/account

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

Reference: https://docs.videogen.io/rest-api-reference/billing/get-billing-account

## Authentication

- `Authorization` header (bearer token, required) — API key from [app.videogen.io/api](https://app.videogen.io/api). The full key is only shown once when you create it.

## Response

### 200

Current account or order state.

- `teamId` (string, required)
- `teamName` (string, required)
- `creditsRemaining` (integer, required)
- `currency` (enum, required)
  - Allowed values: `usd`
- `purchaseLimitMinor` (integer, required) — 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.
- `accessExpiresAt` (integer, required) — Unix seconds when this credential's billing consent expires. API keys return 9007199254740, indicating no separate billing expiry; deleting the key revokes access.
- `canPurchase` (boolean, required)
- `purchaseRestriction` (string, optional, nullable)
- `creditPack` (BillingAccountResponseCreditPack, optional)

## Types

### BillingAccountResponseCreditPack

- `minimumCredits` (integer, required)
- `stepCredits` (integer, required)
- `maximumCredits` (integer, required)

## Examples

**Response**

```json
{
  "teamId": "string",
  "teamName": "string",
  "creditsRemaining": 1,
  "currency": "usd",
  "purchaseLimitMinor": 1,
  "accessExpiresAt": 1,
  "canPurchase": true,
  "purchaseRestriction": "string",
  "creditPack": {
    "minimumCredits": 1,
    "stepCredits": 1,
    "maximumCredits": 1
  }
}
```

**SDK Code**

```python
import requests

url = "https://api.videogen.io/v1/billing/account"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.json())
```