---
title: "Get credit balance"
method: GET
path: "/user/credits/info"
tags: ["billing"]
---

# Get credit balance

`GET /user/credits/info`

## Request

- Base URL: `https://api.olostep.com`
- URL: `https://api.olostep.com/user/credits/info`
- Auth: HTTP bearer

Retrieve the authenticated team's credit balance and breakdown.

## Response `200`

Default Response

- object: The authenticated team's credit balance.
  - `credits` integer
  - `breakdown` object[]
    - `purchase_kind` 'Subscription' | 'Top-up' | 'Manual' | 'Setup' | 'Pending'
    - `allocated_units` integer
    - `remaining_units` integer
    - `expiry_date` integer, nullable
  - `active_subscription` object
    - `id` string
    - `display_name` string
    - `credits` integer
    - `created_at` integer
  - `allow_usage` boolean

## Other responses

- `401`: Default Response
- `402`: Default Response
- `502`: Default Response

---

[API](https://skmtc.dev/olostep/apis/olostep-api.md) · [All operations](https://skmtc.dev/olostep/apis/olostep-api/llms.txt) · [OpenAPI document](https://skmtc.dev/olostep/apis/olostep-api/revisions/13c766ab100c?raw)
