Design an Idempotent Funds Transfer Service for a Core Banking Platform

Last updated: November 29, 2026

Quick Overview

Design the service a core banking platform uses to move money between accounts (internal transfers and outbound payments to a national rail), guaranteeing no double debits, a balanced ledger, and correct handling of retries and timeouts.

Infosys
System Design
Software Engineer
Infosys
November 29, 2026
Software Engineer
System Design Round
System Design
Hard

0

0

0 solved


Design the service a core banking platform uses to move money between accounts (internal transfers and outbound payments to a national rail), guaranteeing no double debits, a balanced ledger, and correct handling of retries and timeouts.

Finacle and the banks Infosys builds for live and die by transaction integrity, so a senior design round for banking accounts tends to go deep on ledgers rather than on generic scale. The interviewer is checking double-entry modeling, idempotency, concurrency control on hot accounts, and how you handle an external payment rail that can time out.

What the Interviewer Expects
  • Model money movement as double-entry ledger postings, not balance updates alone
  • Use client-supplied idempotency keys with a stored result
  • Explain locking or serialization for concurrent debits on the same account
  • Handle external rail calls with a state machine, timeouts and reconciliation
  • Discuss audit trail, holds, and end of day interaction
Key Topics to Cover
double-entry ledger
idempotency keys
pessimistic locking
saga / state machine
reconciliation
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
  • A corporate account receives 2,000 credits per second. How do you avoid it becoming a lock hotspot?
  • The payment rail returns a timeout but later settles the payment. Walk through what your system does.
  • How would you shard the ledger across databases and still keep a transfer between shards atomic?
  • How do you prove to an auditor that the ledger balances at end of day?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems
Sample Answer
Requirements

Functional: transfer between two internal accounts, and outbound transfers via an external rail (for example NEFT or IMPS style). Check available balance including holds, post entries, expose status. ...

High-Level Design

Channels (mobile, branch, API gateway) call a Transfer API. It writes a transfer row keyed by (client_id, idempotency_key) and drives a state machine: INITIATED -> DEBITED -> SENT -> SETTLED...


Submit Your Answer
Markdown supported

Related Questions