Design a REST API with Security
This shape shows up in Citi's experienced-hire loops. A senior Java developer in Mississauga described a June 2026 hiring-manager round as "mostly on system design, API design, development lifecycle." A backend engineer in Warsaw had a second technical interview in February 2025 that was built around designing an API. An older Pune round from August 2023 asked for a REST API with security built in. None of them pinned down the resource, so accounts and transfers here are an example. The method carries over to orders, trades or customer profiles unchanged.
Treat it as a conversation. Get a clean interface on the board quickly, then plan to spend most of the time on security, since the older Pune prompt asked for security built in and the concept questions in these loops lean that way. How does a caller prove who they are? How does the service know that caller is allowed to see this account and not the one next to it? What happens when the network drops halfway through a transfer and the app retries? Those three questions get most of this lesson. The scale is small compared to a consumer social app. A bank API is judged on correctness. Nobody minds a balance taking 200 milliseconds. Everybody minds a transfer that runs twice or an account that leaks to the wrong customer.
CitiPremium lesson · System design round
The Citi design, worked end to end.
- Requirements and scopeSystem design
- The API and data model
- The design, drawn out1 diagram
- 5 deep divesWith the tradeoffs
$49 a year · all 108 companies · instant access
20,000+ candidate reports
Citi interview guideKnow what Citi asks before you walk in.
26 coding · 6 system design · 20 behavioral questions
Get their questions first.
InterviewLegend is independent and not affiliated with or endorsed by any company it covers.