- Preview
- Code
What CreditBalance supports
- Credit balance and monetary value
- Wallet status (active, frozen, closed)
- Empty state when there is no wallet
- Loading skeleton state
Where to use CreditBalance
- Customer portal overview
- Billing page
- Account settings
Importing CreditBalance
Rendering CreditBalance
wallet={null} to render the empty state (no wallet set up yet). See Ways to provide data for SDK, API, backend, and static JSON options.
Mapping API data into CreditBalance
realtimeWalletBalance is optional. When provided, its real-time balance fields take precedence over the wallet list snapshot.
Related credit widgets
Credits Widgets
Overview of both credits components.
Credit History
Transaction history table with pagination and multi-wallet selection.

