> ## Documentation Index
> Fetch the complete documentation index at: https://docs.glot.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get credit balance

> Your organization's remaining credit, and the pricing around it.

Returns the balance together with the per-minute rates and the accepted top-up
range, so a top-up form can be built from this one response without hardcoding
any prices. Rates and limits can change, so read them here rather than copying
them into a client.



## OpenAPI

````yaml https://api.staging.glot.com/openapi.json get /v1/billing/credit
openapi: 3.1.0
info:
  title: glot-api
  version: 0.1.0
servers: []
security: []
tags:
  - name: rooms
    description: Create translation rooms and let participants join them.
  - name: usage
    description: Minutes and charges over time, for reporting and charts.
  - name: billing
    description: Buy prepaid credit and review the balance behind it.
  - name: api-keys
    description: Create and revoke keys used to authenticate requests.
  - name: supported-languages
    description: Languages available for translation.
  - name: users
    description: The authenticated user's own profile.
paths:
  /v1/billing/credit:
    get:
      tags:
        - billing
      summary: Get credit balance
      description: >-
        Your organization's remaining credit, and the pricing around it.


        Returns the balance together with the per-minute rates and the accepted
        top-up

        range, so a top-up form can be built from this one response without
        hardcoding

        any prices. Rates and limits can change, so read them here rather than
        copying

        them into a client.
      operationId: get_credit_v1_billing_credit_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreditBalanceResponse'
      security:
        - HTTPBearer: []
components:
  schemas:
    CreditBalanceResponse:
      properties:
        credit_cents:
          type: integer
          title: Credit Cents
        currency:
          type: string
          title: Currency
        rates:
          items:
            $ref: '#/components/schemas/MinuteRateResponse'
          type: array
          title: Rates
        min_topup_cents:
          type: integer
          title: Min Topup Cents
        max_topup_cents:
          type: integer
          title: Max Topup Cents
      type: object
      required:
        - credit_cents
        - currency
        - rates
        - min_topup_cents
        - max_topup_cents
      title: CreditBalanceResponse
      description: >-
        The organization's remaining credit, and the pricing rules around it.


        All amounts are in the smallest unit of `currency` (for example, cents).
        The

        balance can be negative: a call in progress is never cut off, so usage
        past zero

        is billed as overage — but a new room cannot be started while the
        balance is at or

        below zero.


        Rates and top-up limits can be changed, so read them here rather than
        hardcoding

        them.
    MinuteRateResponse:
      properties:
        participant_class:
          type: string
          title: Participant Class
        cents_per_minute:
          type: integer
          title: Cents Per Minute
      type: object
      required:
        - participant_class
        - cents_per_minute
      title: MinuteRateResponse
      description: >-
        What one connected minute costs, for one class of participant.


        `participant_class` is `human` for each person in a room, or `agent` for
        the

        translator that serves it. A room's charge is each participant's minutes
        at the

        rate for its own class.
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````