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

# CreditLedgerInput

> Input for retrieving credit ledger



**Kind**: `input`

## Fields

**`currencyId`**: `String`

The credit currency ID of the credit ledger

---

**`customerId`**: `String!` (required)

The customer ID of the credit ledger

---

**`endDate`**: `DateTime`

Filter the ledger to events with a timestamp on or before this date, inclusive

---

**`environmentId`**: `UUID`

The environment ID of the credit ledger

---

**`eventType`**: `[CreditLedgerEventType!]`

Filter the ledger to only the given event types

---

**`paging`**: `CursorPaging`

Cursor-based pagination input

---

**`reservationId`**: `String`

Filter the ledger to the events of the given credit reservation

---

**`resourceId`**: `String`

The resource ID of the credit ledger

---

**`startDate`**: `DateTime`

Filter the ledger to events with a timestamp on or after this date, inclusive



## Related topics

- [Go SDK](https://docs.stigg.io/api-and-sdks/changelog/backend-graphql/go.md)
- [creditsLedger](https://docs.stigg.io/graphql-reference/queries/creditsLedger.md)
- [CreditGrantInput](https://docs.stigg.io/graphql-reference/types/CreditGrantInput.md)
- [CreditLedgerEvent](https://docs.stigg.io/graphql-reference/types/CreditLedgerEvent.md)
- [CreditRateInput](https://docs.stigg.io/graphql-reference/types/CreditRateInput.md)


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