Workspace Wallet API
Workspace wallet reference for balances, transactions, invoices, and cashflow contracts.
Resources
Wallet contracts should model balances, transactions, invoices, expenses, and cashflow snapshots through typed frontend service layers before backend endpoints are attached.
Errors
Client views should distinguish permission errors, stale data, validation failures, and retryable network issues with explicit recovery states.
Frontend handling
TanStack Query keys and mutation contracts should be scoped by workspace, module, and resource so future optimistic updates remain predictable.