medium

Design an ATM

Design an ATM machine that can handle various transactions like withdrawals, deposits, balance inquiries, and transfers. Consider security aspects, user authentication, and different types of accounts (savings, checking, etc.).

Suggested time: 45 minutes

Loading the workspace...

About this problem

An ATM is deceptively simple from a user's perspective: insert card, enter PIN, get cash. But underneath, it must handle authentication, multiple transaction types, physical cash management, daily limits, and concurrent access from multiple ATMs hitting the same bank account. Let's break this down.

What your design needs to cover

  • User Authentication

  • Withdrawal

  • Deposit

  • Balance Inquiry

  • Fund Transfer

Key challenges the editorial covers

Learn from other designs

Related problems

Guides