Query
Parameters
Input parameters for credit ledger query
Return Type
Returns aCreditLedgerConnection with ledger entries.
Ledger Entry Fields
| Field | Type | Description |
|---|---|---|
id | UUID | Entry ID |
amount | Float | Transaction amount (+/-) |
type | String | CREDIT or DEBIT |
description | String | Transaction description |
createdAt | DateTime | Transaction time |
balanceAfter | Float | Balance after transaction |
Common Use Cases
Transaction history
Transaction history
Show detailed credit transaction history to customers.
Audit trail
Audit trail
Maintain audit trail of all credit movements.
Usage analysis
Usage analysis
Analyze credit consumption patterns.
Related Operations
- Credit Balance - Current balance
- Credit Grants - List grants
