---
title: "Account"
permalink: "/docs/api-v2/account"
description: "RevenueCat API v2 endpoint reference for Account."
original_source: "openapi-spec/api-v2.yaml"
---

> **AI agents:** This is the Markdown version of a RevenueCat documentation page. For the complete documentation index, see [llms.txt](https://www.revenuecat.com/docs/llms.txt).


# Account | REST API v2 Reference (2.0.0)

Download OpenAPI specification:[Download](https://www.revenuecat.com/docs/redocusaurus/openapi-v2-account.yaml)

RevenueCat API v2 endpoint reference for Account.

## <a id="tag/Account"></a>Account

Part of the [REST API v2 Reference](/docs/api-v2).

Operations about the authenticated account.

#### Endpoints

-   [Get account billing](#tag/Account/operation/get-account-billing) — `GET /account/billing`
-   [List account billing invoices](#tag/Account/operation/list-account-billing-invoices) — `GET /account/billing/invoices`

## <a id="tag/Account/operation/get-account-billing"></a>Get account billing

get/account/billing

https://api.revenuecat.com/v2/account/billing

This endpoint requires the following permission(s): `account:billing:read`. This endpoint belongs to the **Account** domain, which has a default rate limit of **60 requests per minute**.

##### Authorizations:

_BearerAuth_

### Responses

**200**

Success

**400**

Bad request

**401**

Unauthorized

**403**

Access denied

**404**

Not found

**423**

Locked

**429**

The request could not be completed because the rate limiting domain for this endpoint is currently at its limit for this project.

**500**

Internal server error

**503**

Internal server error

### Response samples

Content type

application/json

 

```json
{
  "object": "account_billing",
  "current_plan": "pro",
  "current_period": {
    "starts_at": 1658399423658,
    "ends_at": 1661077823658
  },
  "tracked_revenue": {
    "current_period_tracked_revenue": 12345,
    "last_30d_tracked_revenue": 23456
  },
  "has_payment_method": true
}
```

## <a id="tag/Account/operation/list-account-billing-invoices"></a>List account billing invoices

get/account/billing/invoices

https://api.revenuecat.com/v2/account/billing/invoices

This endpoint requires the following permission(s): `account:billing:read`. This endpoint belongs to the **Account** domain, which has a default rate limit of **60 requests per minute**.

##### Authorizations:

_BearerAuth_

##### query Parameters

- `starting_after`: string Example: starting_after=ent12354 — Pagination cursor. Pass the id of the last item from the previous page to fetch the next page; omit for the first page.
- `limit`: integer Default: 20 Example: limit=10 — Maximum number of items to return per page. Values below 1 or above 100 are clamped to that range rather than rejected.

### Responses

**200**

Success

**400**

Bad request

**401**

Unauthorized

**403**

Access denied

**404**

Not found

**423**

Locked

**429**

The request could not be completed because the rate limiting domain for this endpoint is currently at its limit for this project.

**500**

Internal server error

**503**

Internal server error

### Response samples

Content type

application/json

 

```json
{
  "object": "list",
  "items": [
    {
      "object": "account_billing.invoice",
      "id": "in_123",
      "issued_at": 1528757300000,
      "amount_due_cents": 11900,
      "subtotal_cents": 11900,
      "status": "paid"
    }
  ],
  "next_page": "/v2/account/billing/invoices?starting_after=in_123&limit=10",
  "url": "/v2/account/billing/invoices"
}
```

## <a id="tag/Endpoint-Reference"></a>Endpoint Reference

All API v2 resources, one page each. General concepts (authentication, pagination, rate limits, error handling) live on the [API v2 overview](/docs/api-v2).

-   [Account](/docs/api-v2/account) — 2 endpoints
-   [App](/docs/api-v2/app) — 7 endpoints
-   [Audience](/docs/api-v2/audience) — 6 endpoints
-   [Audit Log](/docs/api-v2/audit-log) — 1 endpoint
-   [Charts & Metrics](/docs/api-v2/charts-and-metrics) — 9 endpoints
-   [Collaborator](/docs/api-v2/collaborator) — 1 endpoint
-   [Customer](/docs/api-v2/customer) — 15 endpoints
-   [Customer Resources](/docs/api-v2/customer/resources) — 5 endpoints
-   [Discount](/docs/api-v2/discount) — 10 endpoints
-   [Entitlement](/docs/api-v2/entitlement) — 10 endpoints
-   [IAM](/docs/api-v2/iam) — 10 endpoints
-   [Integration](/docs/api-v2/integration) — 5 endpoints
-   [Invoice](/docs/api-v2/invoice) — 2 endpoints
-   [Offering](/docs/api-v2/offering) — 7 endpoints
-   [Package](/docs/api-v2/package) — 8 endpoints
-   [Paywall](/docs/api-v2/paywall) — 5 endpoints
-   [Paywall Fonts & Media](/docs/api-v2/paywall/assets) — 4 endpoints
-   [Paywall Publishing](/docs/api-v2/paywall/publishing) — 7 endpoints
-   [Product](/docs/api-v2/product) — 8 endpoints
-   [Project](/docs/api-v2/project) — 2 endpoints
-   [Purchase](/docs/api-v2/purchase) — 4 endpoints
-   [Subscription](/docs/api-v2/subscription) — 7 endpoints
-   [Subscription Data Model](/docs/api-v2/subscription-data-model) — full schema reference
-   [Subscription Transactions](/docs/api-v2/subscription-transactions) — 2 endpoints
-   [Virtual Currency](/docs/api-v2/virtual-currency) — 10 endpoints

## Response schema reference

Response examples above mirror the rendered API reference. These field definitions come from the same OpenAPI specification.

### AccountBilling

- Used by `GET /account/billing (200) — Get account billing`

- `object` (required): string — one of `account_billing`; String representing the object's type. Objects of the same type share the same value.
- `current_plan` (required): string — length 1–255; Current RevenueCat account billing plan.
- `current_period` (required): AccountBillingPeriod
  - `starts_at` (required): integer (format: `int64`) — Billing period start time in milliseconds since epoch.
  - `ends_at` (required): integer (format: `int64`) — Billing period end time in milliseconds since epoch.
- `tracked_revenue` (required): AccountBillingTrackedRevenue
  - `current_period_tracked_revenue` (required): integer — Current billing period tracked revenue in cents.
  - `last_30d_tracked_revenue` (required): integer — Last 30 days tracked revenue in cents.
- `has_payment_method` (required): boolean — Whether the account has a payment method on file.

### ListAccountBillingInvoices

- Used by `GET /account/billing/invoices (200) — List account billing invoices`

- `object` (required): string — one of `list`; String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
- `items` (required): array of AccountBillingInvoice — Details about each object.
  - `object` (required): string — one of `account_billing.invoice`; String representing the object's type. Objects of the same type share the same value.
  - `id` (required): string — Stripe invoice ID.
  - `issued_at` (required): integer (format: `int64`) — Invoice creation time in milliseconds since epoch.
  - `amount_due_cents` (required): integer — Amount due in cents.
  - `subtotal_cents` (required): integer — Invoice subtotal in cents.
  - `status` (required): string — Stripe invoice status.
- `next_page` (required): string or null — URL to access the next page of the account billing invoices. If not present / null, there is no next page.
- `url` (required): string — length 0–5000; The URL where this list can be accessed.
