medium

Design a Banking System

Design a system that manages customer bank accounts, transactions, and services like loans and credit cards. The system should handle user authentication, account management, transaction processing, and fraud detection.

Suggested time: 45 minutes

Loading the workspace...

About this problem

A banking system manages customer accounts, transactions, and fund transfers with strict consistency guarantees. Money cannot be created or lost; every debit must have a corresponding credit. Beneath a simple user-facing interface, the system must coordinate multiple account types, enforce per-account withdrawal rules, maintain an immutable audit trail, and handle concurrent access without corrupting balances. Let's break this down.

What your design needs to cover

  • Open and Close Accounts

  • Deposit and Withdraw Money

  • Transfer Between Accounts

  • View Transaction History

  • Support Multiple Account Types

  • Fraud Detection

Key challenges the editorial covers

Learn from other designs

Related problems

Guides