Skip to main content
Skip to navigation

Account | REST API v2 Reference (2.0.0)

Download OpenAPI specification:Download

RevenueCat API v2 endpoint reference for Account.

Account

Part of the REST API v2 Reference.

Operations about the authenticated account.

Endpoints

Get 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

Response samples

Content type
application/json
{
  • "object": "account_billing",
  • "current_plan": "pro",
  • "current_period": {
    },
  • "tracked_revenue": {
    },
  • "has_payment_method": true
}

List 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

Response samples

Content type
application/json
{
  • "object": "list",
  • "items": [
    ],
  • "next_page": "/v2/account/billing/invoices?starting_after=in_123&limit=10",
  • "url": "/v2/account/billing/invoices"
}

Endpoint Reference

All API v2 resources, one page each. General concepts (authentication, pagination, rate limits, error handling) live on the API v2 overview.