---
title: "Get Prepaid Credits Billing"
method: GET
path: "/v4/organizations/{organizationId}/billing/prePaidCredits"
tags: ["Billing"]
---

# Get Prepaid Credits Billing

`GET /v4/organizations/{organizationId}/billing/prePaidCredits`

Retrieves prepaid credits information for the organization, including credit details, usage, and remaining amounts.

In order to access this endpoint, the provided API key must have at least one of the following roles:
- Organization Owner

To learn more, see [Organization, Project, and Database Access Overview](https://docs.couchbase.com/cloud/organizations/organization-projects-overview.html).

## Query parameters

- `page` integer
- `perPage` integer

## Response `200`

Successfully retrieved the prepaid credits billing information.

- PrepaidCreditsResponse
  - `data` Credit[], required — Array of prepaid credits.
    - `id` string, required — Unique identifier for the credit.
    - `creditName` string, required — Name of the credit.
    - `supportPlan` string, required — Support plan type associated with the credit.
    - `startDate` string, date-time, required — Start date and time of the credit validity period.
    - `expirationDate` string, date-time, required — Expiration date and time of the credit validity period.
    - `total` number, double, required — Total credit amount.
    - `used` number, double, required — Amount of credit that has been used.
    - `remaining` number, double, required — Amount of credit remaining.
    - `remainingPercent` number, double, required — Percentage of credit remaining.
  - `cursor` Cursor, required
    - `pages` Pages, required
      - `page` integer, required — Current page of results, starting from page 1.
      - `next` integer — Number of the next page of results. Not set on the last page.
      - `previous` integer — Number of the previous page of results. Not set on the first page.
      - `last` integer, required — Number of the last page of results.
      - `perPage` integer, required — Number of items displayed in each page.
      - `totalItems` integer, required — Total items found by the given query.
    - `hrefs` Hrefs, required
      - `first` string, uri, required — The base URL, endpoint, and path parameters required to fetch the first page of results.
      - `last` string, uri, required — The base URL, endpoint, and path parameters required to fetch the last page of results.
      - `previous` string, uri, required — The base URL, endpoint, and path parameters required to fetch the previous page of results. Empty if there is no previous page.
      - `next` string, uri, required — The base URL, endpoint, and path parameters required to fetch the next page of results. Empty if there is no next page.

## Other responses

- `403` — The client does not have the necessary permissions to access this resource.
- `404` — The requested resource was not found.
- `429` — Returned when the client exceeds the rate limit for the given APIKey.
- `500` — An unexpected error occurred in the server while processing this request.

---

[API](https://skmtc.net/couchbase/apis/couchbase-capella-management-api.md) · [All operations](https://skmtc.net/couchbase/apis/couchbase-capella-management-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/couchbase/couchbase-capella-management-api/revisions/27d3c1e98fee/schema)
