# Credits

A customer's credits, as one of its keys sees them.

## Fields

- `balance` (number, required): The credits the customer has bought that no job holds or has cost. A correction of ours may take it below zero.
- `key_spent` ([NonNegative](/docs/types/non-negative.md) (number, 0 to 10¹²), required): What this key's jobs hold or have cost.
- `key_limit` ([Positive](/docs/types/positive.md) (number, above 0, at most 10¹²) or null): The most this key's jobs may hold or cost in total. It is null when they may spend the whole balance.

## Used by

- [GET /v1/credits](/docs/credits/get-credits.md)
