Pular para o conteúdo principal

WalletDto

@raizfc/contracts


@raizfc/contracts / WalletDto

Type Alias: WalletDto

WalletDto = Readonly<{ availableBalance: MoneyAmount; nextExpiringLot?: Readonly<{ amount: MoneyAmount; expiresAt: ISODateString; }>; ownerId: ID; ownerType: WalletOwnerType; status: WalletStatus; statusReason?: string; }>

Defined in: finance/finance.dto.ts:98

nextExpiringLot surfaces the earliest-expiring lot with remaining balance directly (real data, not an invented "expiring soon" bucket/threshold) — the Balance Card formats "expira em N dias" from expiresAt itself (SPEC-UX-FINANCE-001 "Balance Card ... créditos a expirar").