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

# CreditLedgerEvent

> Credits ledger event



**Kind**: `object`

## Fields

**`amount`**: `Float!`

The amount of the ledger event. Reservation events carry their net effect on the balance: a reserve is negative, and so is a release that consumed more than was held

---

**`creditCurrencyId`**: `String!`

The credit currency ID of the ledger event

---

**`creditGrantId`**: `String!`

The credit grant ID of the ledger event

---

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

The customer ID of the ledger event

---

**`eventId`**: `String`

The event ID of the ledger event

---

**`eventType`**: `CreditLedgerEventType!`

The type of the ledger event

---

**`feature`**: `Feature`

The feature associated with this ledger event

---

**`featureId`**: `String`

The feature ID of the ledger event

---

**`grant`**: `CreditGrant`

The credit grant associated with this ledger event

---

**`holdReturnedAmount`**: `Float`

On a released reservation, the held amount returned to the balance before consumed credits are deducted

---

**`metadata`**: `JSON`

The metadata sent with the credit reservation

---

**`reservationBreakdown`**: `[CreditLedgerEvent!]`

On a released reservation, the credits consumed from each grant

---

**`reservationId`**: `String`

The credit reservation this ledger event belongs to

---

**`resourceId`**: `String`

The resource ID of the ledger event

---

**`timestamp`**: `String!`

The timestamp of the ledger event



## Related topics

- [Get a list of credit ledger events](https://docs.stigg.io/api-reference/credit-ledger/get-a-list-of-credit-ledger-events.md)
- [Go SDK](https://docs.stigg.io/api-and-sdks/changelog/backend-graphql/go.md)
- [CreditLedgerEventType](https://docs.stigg.io/graphql-reference/types/CreditLedgerEventType.md)
- [Monetize my product using credits](https://docs.stigg.io/guides/i-want-to/set-up-credits.md)
- [Customer credits](https://docs.stigg.io/documentation/modeling-your-pricing-in-stigg/credits/customer-credits.md)


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