> ## 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.

# CreditBalanceUpdated

> Credit balance update notification



**Kind**: `object`

## Fields

**`accountId`**: `String!`

The unique identifier for the account

---

**`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

---

**`environmentId`**: `String!`

The unique identifier for the environment

---

**`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

- [Go SDK](https://docs.stigg.io/api-and-sdks/changelog/backend-graphql/go.md)
- [Introduction](https://docs.stigg.io/api-and-sdks/api-reference/graphql/introduction.md)
- [Entitlements updated](https://docs.stigg.io/api-reference/entitlements/entitlements-updated.md)
- [Adjust credit balance](https://docs.stigg.io/documentation/modeling-your-pricing-in-stigg/credits/adjust-credits.md)
- [Credit balance](https://docs.stigg.io/documentation/snap-in-widgets/credit-balance.md)


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