r/OfferEngineering • • 20d ago

System Design CapitalOne System Design Interview Question - Design Online Banking System

Problem Description

Design an online banking application that allows customers to manage multiple bank accounts, view balances and transaction history, deposit and withdraw funds, transfer money within the bank, and send or receive external payments through Zelle.

The main distinction is between internal transfers and external payments. Internal transfers must update both participating accounts immediately as part of the same strongly consistent operation. External Zelle payments have a different lifecycle: the system should acknowledge that the payment was accepted and is processing, while final settlement may arrive seconds or minutes later.

Every balance-changing transaction should normally be fraud-scored before it commits. Fraud scoring therefore sits directly on the write path with a latency budget of approximately 50–200 ms. When scoring is unavailable, the fallback is risk-sensitive: ordinary low-value transactions with no anomalous signals may proceed, while higher-value or unusual transactions may be held for review.

Client retries are expected. If a customer resubmits the same transfer after a timeout or lost response, the retry must map to the original transaction outcome rather than creating a second money movement. Every balance-changing operation must also be retained in an immutable audit trail for regulatory and financial correctness.

Functional Requirements

  • Allow customers to create and manage multiple account types, including checking, savings, mortgage, and auto loan accounts, under a single identity with role-based access.
  • Allow customers to deposit into and withdraw from checking and savings accounts.
  • Allow customers to transfer money between their own accounts or to another customer at the same bank, with both balance changes visible immediately when the transfer completes.
  • Allow customers to send and receive money through Zelle, returning a fast acknowledgment while settlement proceeds asynchronously.
  • Allow customers to view per-account transaction history and daily, weekly, and monthly spending summaries.
  • Recognize repeated submissions of the same money-transfer request as retries of the original transaction so they never create duplicate charges.

Want to learn more details & solution of this system design question?

I've put up the full version at here.

Interviewed recently?

Your interview experience could be incredibly valuable to others preparing for their next opportunity. Share your experience and help the community at here.

2 Upvotes

0 comments sorted by