Design Card Authorisation for Spending From Multi-Currency Balances
Last updated: November 29, 2026
Quick Overview
Design the system that approves or declines Wise card payments in real time, choosing which currency balance to spend from, auto-converting when needed, and keeping holds, captures, refunds and reversals consistent with the ledger.
Wise
November 29, 20260
0
0 solved
Design the system that approves or declines Wise card payments in real time, choosing which currency balance to spend from, auto-converting when needed, and keeping holds, captures, refunds and reversals consistent with the ledger.
Wise cards spend directly from the account's currency balances and convert at the mid-market rate only when the merchant currency balance is short, all within the card network's response deadline. Senior candidates are expected to handle tight latency, holds versus settled money, and messy network message flows.
What the Interviewer Expects
- Lays out the authorisation path with a hard latency budget and fallback (stand-in) behaviour
- Defines balance selection: same-currency balance first, then auto-conversion from others in a user-defined order
- Separates holds (reservations) from settled ledger entries and handles partial and multi-clearing
- Handles reversals, incremental authorisations, refunds and late presentments
- Integrates fraud scoring and limits inside the budget
Key Topics to Cover
How to Approach This
- Start by clarifying functional and non-functional requirements with the interviewer.
- Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
- Draw a high-level architecture first, then deep dive into 1-2 critical components.
- Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
- Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
- The network times out after you approved. What state are you in?
- How do you handle a hotel that authorises 100 EUR and clears 140 EUR a week later?
- Where should fraud scoring run, and what happens if it is slow?
- How do you keep the hold amount correct when the FX rate moves between auth and clearing?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice System Design ProblemsSample Answer
Requirements
Functional: authorise, decline, partial approve; place holds; process clearing, reversals, refunds; show pending and final transactions in the app. Non-functional: respond to the network within a few ...
High-Level Design
Network gateway (ISO 8583 adapter) -> Auth service -> parallel calls to Risk (rules plus model score, strict timeout) and Balance service -> decision -> response. The Balance service owns ...