Skip to main content
Use Credit Balance to show a customer’s current wallet balance: credits, monetary value, and wallet status. Part of Credits Widgets.

Supports

  • Credit balance and monetary value
  • Wallet status (active, frozen, closed)
  • Empty state when there is no wallet
  • Loading skeleton state

Best used for

  • Customer portal overview
  • Billing page
  • Account settings

Import

Usage

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

Map Flexprice API data

realtimeWalletBalance is optional. When provided, its real-time balance fields take precedence over the wallet list snapshot.

See also

Credits Widgets

Overview of both credits components.

Credit History

Transaction history table with pagination and multi-wallet selection.