Accounts serve as the central container for financial products, such as credit cards, term loans, or lines of credit, within our system.
They act as the foundational structure that organizes and manages all associated products and transactions. The account is also the primary entity used by our event processor to handle financial events, ensuring that all products under the same account are processed simultaneously and consistently.
This design ensures that time-based operations, such as interest calculations, fee assessments, and payment processing, are synchronized across all products within the account. By treating the account as the "house" through which time progresses, we maintain coherence, accuracy, and efficiency in managing the lifecycle of financial products.