Overview
The Credit Grants Table widget provides visibility into all credit grants associated with a customer. It shows the origin of credits, their usage, and their current state in a structured table format.Layout
The Credit grants widget displays a structured list of credit grants associated with a customer, providing a clear overview of how credits were issued, their current status, remaining balances, and expiration dates. The layout includes the following elements:- Received: timestamp when the grant was issued.
- Grant Type: type of credit (e.g., promotional, paid, subscription).
- State: current status of the grant (Available, Scheduled, Expired, Voided).
- Balance: remaining credits versus the original amount.
- Expires: expiration date, if applicable.

Customization
Custom CSS
The widget styling can be customized by applying custom CSS using code. Below you can find a list of the supported CSS classes:Main container classes
Table classes
Table cell content classes
Snippet
Props
string
Currency or credit type identifier used to filter credit grants.
number
Number of credit grant records to load per page.
object
Cursor-based paging configuration for navigating through large result sets.
number
Number of decimal places to display for credit balances.
object
Text overrides for customizing table headers, labels, and states.