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

# CreditBalance

> Credit balance information for a specific currency



**Kind**: `object`

## Fields

**`currency`**: `SlimCustomCurrency!`

Stigg custom currency object with minimal fields

---

**`currencyId`**: `String!`

The custom currency ID of the credit grant

> Deprecated: Use currency instead

---

**`currentBalance`**: `Float!`

Current available balance

---

**`customerId`**: `String!`

The customer ID of the credit grant

---

**`resourceId`**: `String`

The resource ID of the credit grant

---

**`totalConsumed`**: `Float!`

Total amount consumed from all grants

---

**`totalGranted`**: `Float!`

Total amount granted across all active grants

---

**`validUntil`**: `Float`

The next time the balance will be updated (e.g., when a grant expires or becomes effective)



## Related topics

- [Credit balance](https://docs.stigg.io/documentation/snap-in-widgets/credit-balance.md)
- [Entitlements updated](https://docs.stigg.io/api-reference/entitlements/entitlements-updated.md)
- [React SDK](https://docs.stigg.io/api-and-sdks/changelog/frontend/react.md)
- [Billing month ends soon](https://docs.stigg.io/api-reference/subscriptions/billing-month-ends-soon.md)
- [Go SDK](https://docs.stigg.io/api-and-sdks/changelog/backend-graphql/go.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.