24/7 Real-Time Gross Settlement & Instant Interbank Payment Switch
Design a UPI / FedNow / Pix-scale national instant payment switch settling account-to-account transfers across hundreds of member banks in < 100 ms with ISO-20022 idempotency, central-bank liquidity reserve locking, and zero split-brain money creation.
Functional Requirements
- FR-1POST /v1/switch/transfers — Validates VPA/alias routing, atomically debits sender bank settlement reserve & credits receiver bank reserve.
- FR-2GET /v1/switch/transfers/{uetr_id} — Returns authoritative settlement finality receipt and cryptographic clearing proof.
- FR-3POST /v1/switch/transfers/{uetr_id}/timeout-resolve — Executes deterministic deemed-approved / auto-reversal protocol when a member bank times out.
- FR-4Absolute RPO = 0 & zero overdraft/double-settlement across 245k peak RPS and primary settlement shard crashes.
Workload Profile
Consistency Model
Strict serializable atomic debit/credit across member-bank settlement reserve sub-ledgers with synchronous quorum WAL (RPO = 0).
Relevant practice for
Sign in and either achieve AC or complete 3 official submissions on this question to inspect community diagrams and writeups.
Click Submit in the top bar to evaluate against all 7 judge cases and save each run here.
Click an item in Inventory above, or press B to add a component, double-click to name, C to connect.
Write under ### Architecture for Diagram to take that up directly