Wallet Balances

Table name: wallet_balances

New Table

This is a newly added table exposing wallet balance data in the Partner Data Warehouse.

Wallet balance records from the wallet service. Each balance is linked to a wallet via wallet_id. Only balances belonging to wallets within the partner's scope are included. Soft-deleted balance records are excluded.

SQL: wallet_balances

Schema

Column NameData TypeDescription
Primary ID
idINTEGERPrimary key, unique identifier for each wallet balance record
Other IDs
wallet_idINTEGERForeign key to the wallet this balance belongs to
Timestamps
created_atTIMESTAMP_NTZTimestamp when the balance record was created
updated_atTIMESTAMP_NTZTimestamp when the balance record was last updated
negative_balance_atTIMESTAMP_NTZTimestamp when the balance went negative, null if balance has never been negative
Attributes
creditNUMBERCredit amount on the wallet balance
balanceNUMBERCurrent balance amount

Inclusion Criteria

Wallet balances are included if their wallet_id matches a wallet within the partner's scope (via inner join to the partner's wallets table).

Data flow

Upstream tablesDownstream tables
wallets---