Paytm software engineer interview questions and process
Paytm software engineer interview questions mix data structures and algorithms with computer science fundamentals and payments-flavored design: how a UPI transfer moves between apps, banks and NPCI, how to keep a wallet or ledger correct under retries, and how merchant services stay up at peak load. Candidates commonly describe an online coding test followed by technical rounds and a managerial or HR conversation, but the number and order of rounds vary by team, level and year.
By Evin JohnPublished 9 min read
What engineers at Paytm work on
Paytm builds consumer payments (UPI transfers, bill payments, recharges), merchant products (QR codes, Soundbox speakers that announce received payments, card machines and payment gateway services for online businesses) and financial services such as investing through Paytm Money and distribution of loans with partner lenders. That spread means engineering teams range from Android and iOS apps used by a very large audience to backend services that move money, risk and fraud systems, data platforms and device firmware. A software engineer interview is usually shaped by the team you are matched to, so ask your recruiter early which product area the opening sits in.
Payments work has a particular flavor. A bug that shows a wrong balance or charges a customer twice is far worse than a slow page, regulators set rules on how money and customer data are handled, and traffic spikes around salary days, festivals and big sale events. Interviewers look for engineers who think about correctness first and speed second, and who can explain what happens when a network call times out halfway through a payment.
How the Paytm interview usually runs
Paytm does not publish a fixed interview loop, and what candidates report differs between campus hiring, off-campus drives and experienced hiring. Treat the outline below as the common shape, not a promise.
- Online coding testOften the first filter for freshers and many early-career roles: a timed set of programming problems on a third-party platform, sometimes with multiple-choice questions on fundamentals. Experienced candidates may skip it and start with a recruiter call.
- Technical roundsLive problem solving with an engineer on a shared editor or a video call. Expect one or two problems per round, follow-ups on complexity and edge cases, and questions on your résumé projects.
- Design or deep-dive roundFor experienced roles, a low-level design (classes for a wallet or a parking lot) or a high-level design (a payment or notification service). For freshers this is often a longer conversation about a project and CS fundamentals.
- Managerial and HR conversationWhy Paytm, how you work in a team, location and joining date, and questions about past ownership. Some candidates describe this as one round, others as two.
Coding questions
These are question types written for this page, many with a payments twist, to show what the coding rounds test. They are not a leaked list. Solve them in the language you know best and narrate trade-offs as you go.
| Question | What it tests | What a strong answer shows |
|---|---|---|
| Given a list of transactions, find two that add up to a disputed amount. | Hashing | A one-pass hash map, a note on duplicate amounts and what to return when no pair exists. |
| Merge overlapping settlement windows given as start and end times. | Sorting and intervals | Sort by start, merge in one sweep, and handle windows that only touch. |
| Find the longest streak of days on which a merchant received at least one payment. | Sliding window or set lookups | An O(n) approach with a set of days, avoiding a sort when not needed. |
| Detect a cycle in a graph of money transfers between accounts. | Graph traversal | DFS with visiting and visited states, or union-find, and why cycles matter for fraud review. |
| Return the k merchants with the highest transaction volume from a stream. | Heaps | A min-heap of size k, with time and memory stated, and a word on ties. |
| Minimize the number of transfers needed to settle debts among a group of friends. | Greedy and backtracking | Net balances first, then a search that pairs debtors and creditors, with honest complexity. |
| Count the ways to make a bill amount from given coin or note values. | Dynamic programming | A 1D DP table, the order of loops that counts combinations rather than permutations. |
| Validate whether a string of brackets in a config template is balanced. | Stacks | A stack with a mapping of pairs and an early exit on a mismatch. |
| Find the first non-repeating character in a stream of transaction codes. | Queues and counting | A count map plus a queue, so each lookup stays constant time. |
| Rotate a linked list of recent payments by k positions. | Linked lists | Length first, k modulo length, and the reconnect point found without extra memory. |
| Search for an amount in a rotated sorted array of daily totals. | Binary search | Which half is sorted at each step, with care over duplicates if the interviewer adds them. |
| Design an LRU cache for recently looked-up bank codes. | Hash map plus doubly linked list | O(1) get and put, clean eviction, and where a real service would set a time-to-live. |
Interviewers usually care less about the trick and more about whether you clarify the input, state a brute force before optimizing, test with a small example and catch your own off-by-one errors. For broader drills, the software engineer interview guide covers patterns that apply at any company.
Computer science fundamentals
Freshers in particular report many questions on core subjects. The answer that lands connects the textbook idea to a payment system.
- What does ACID mean, and which property stops a transfer from debiting one account without crediting the other? Atomicity, explained with a transaction that either commits both writes or neither. See the DBMS questions for more.
- What can go wrong under the read committed isolation level when two payments hit one wallet at once? Describe a lost update or a non-repeatable read and how a row lock, a version column or a stricter level prevents it.
- What is the difference between a process and a thread, and when would you use each? Memory isolation versus shared memory, with a server example. The operating system questions go deeper.
- Explain a deadlock and the four conditions that cause it. Name mutual exclusion, hold and wait, no preemption and circular wait, then a fix such as always locking accounts in ID order.
- What happens, step by step, when the app calls a payments API over HTTPS? DNS, TCP, TLS handshake, the request, and where latency hides. Useful background in the computer networks questions.
- When would you choose a SQL database and when a NoSQL store? Strong consistency and joins for ledgers, flexible schemas or high write rates for event logs, with the trade-off said plainly.
- What is an index, and when can one slow things down? Faster reads on the indexed column, slower writes and more storage, and why too many indexes hurt a high-insert table.
- Explain the four pillars of object-oriented programming with one example. Encapsulation, abstraction, inheritance and polymorphism, shown on a payment method hierarchy (UPI, card, wallet).
Payments and system design questions
For backend and experienced roles, design questions often sit close to Paytm's own products. You do not need inside knowledge, but you should know how UPI works at a public level: the payer's app and bank, NPCI's central switch, the payee's bank, virtual payment addresses, and the fact that a payment can sit in a pending state when a bank does not answer in time. The payment system design guide is a good primer.
| Question | What it tests | What a strong answer shows |
|---|---|---|
| Design an API that lets a merchant collect a payment, safe against the client retrying. | Idempotency | An idempotency key stored with the result, so a retry returns the first outcome instead of charging twice. |
| How would you store wallet balances so they never drift from the transaction history? | Ledger design | Double-entry records as the source of truth, balances derived or updated in the same transaction, and periodic checks. |
| A UPI payment times out after the bank debited the customer. What should the system do? | Pending states and reconciliation | Mark it pending, poll or wait for the status callback, reconcile against bank files and refund automatically if it fails. |
| Design the service that makes a Soundbox speaker announce a received payment within seconds. | Event delivery to devices | An event from the payment service, a push channel to the device, retries with de-duplication and what happens when the device is offline. |
| How would you build a daily settlement job for thousands of merchants? | Batch processing | Partitioned jobs, exactly-once accounting through the ledger, restartability and a report of exceptions. |
| Design a rate limiter for a public payments API. | Traffic control | Token bucket per merchant key, a shared store, and different limits for reads and money-moving calls. See rate limiter design. |
| How would you add a fraud check without slowing every payment? | Latency budgets | Fast rules inline with a strict timeout, heavier models asynchronously, and a clear fallback when the scorer is down. |
| Design notifications for payment success, failure and refunds across SMS, push and in-app. | Fan-out and preferences | A queue per channel, templates, user preferences and deduplication. The notification system guide helps. |
| How would you prepare a service for a festival-day traffic spike? | Capacity planning | Load tests at a multiple of normal peak, autoscaling limits, cached reads, and switches to turn off non-essential features. |
| Low-level design: model a wallet with add money, pay, refund and statement. | Object modeling | Clear classes, immutable transaction records, a status lifecycle and validation at each step. |
Fictional example
- Interviewer
- Your payments API sometimes charges customers twice when the app retries. How do you fix it?
- Candidate
- I would make the endpoint idempotent. The client sends a unique key with each payment attempt. The server stores that key with a status in the same database transaction that creates the payment record.
- Candidate
- If the same key arrives again, the server returns the stored result instead of creating a new charge. If the first request is still in progress, it returns a processing status so the app can poll rather than retry blindly.
- Interviewer
- How long do you keep the keys?
- Candidate
- At least as long as clients are allowed to retry, plus a margin. I would also add a nightly reconciliation that compares our records with the bank's report, because idempotency protects our side but not a mismatch with a partner.
Project and experience questions
- Walk me through the hardest project on your résumé. Pick one you can defend to the line of code: the problem, your design choice, what broke and how you measured the result.
- What would you change in that project if you rebuilt it today? Name a real weakness, such as missing tests or a schema that did not scale, and the fix.
- Tell me about a production incident you handled. Detection, the first action that limited damage, the root cause and the follow-up that stopped a repeat.
- How do you decide what to log in a service that handles money? Enough to trace a payment end to end, with card numbers, PINs and other sensitive fields never written to logs.
- How do you review a teammate's pull request that touches payment logic? Look for missing error paths, retries without idempotency, and tests for failure cases, and explain your comments kindly.
- Describe a time you shipped under a tight deadline. What did you cut? Show judgment: scope trimmed, safety checks kept.
Behavioral and HR questions
These are shorter than the technical rounds but still count. Expect questions such as why Paytm and why fintech, how you handle disagreement in a team, your preferred location and notice period, and where you want to grow. Answer why Paytm with something concrete, for example a feature you use, a merchant product you have seen in a local shop or a problem in digital payments you want to work on. The general why do you want to work here guide helps you structure it.
Mistakes candidates make
- Jumping to code. Clarify inputs, limits and edge cases first, then state the plan.
- Ignoring failure paths in design. In a payments question, the timeout and the retry are the interesting part, not the happy path.
- Using floating point for money. Store amounts in the smallest unit as integers, or a proper decimal type, and say so.
- Vague project answers. If you cannot explain why you chose a database or a queue, the interviewer will assume someone else did.
- Weak fundamentals for freshers. Many early-career rounds spend real time on DBMS, OS and networks; do not skip them for extra problem practice.
A three-week preparation plan
- Week 1: patterns and fundamentalsTwo or three problems a day across arrays, hashing, two pointers, stacks and trees. Revise ACID, isolation levels, indexing, deadlocks and process scheduling in short evening sessions.
- Week 2: harder problems and payments basicsGraphs, heaps and dynamic programming under a timer. Read how UPI works at a public level and sketch a payment flow with idempotency and reconciliation.
- Week 3: design and mocksPractice one low-level and one high-level design every other day. Do at least three timed mock interviews, out loud, and rehearse a two-minute walk-through of your best project.
Reviewing what you actually said is the fastest way to tighten a technical explanation. In practice sessions, Natively, an AI interview assistant for Mac and Windows, can transcribe a mock round on your computer, read a coding problem from a screenshot and suggest an approach, and keep the transcript and notes so you can see where an explanation wandered. With your résumé and the job description added (Pro or the free trial), its suggested answers to project questions draw on your own background.
Questions people ask
What questions are asked in a Paytm software engineer interview?
Expect data structures and algorithms problems, computer science fundamentals such as DBMS transactions, OS concurrency and networking, questions on your projects, and for experienced roles a design question that often involves payments, such as idempotent APIs or a wallet ledger.
How many rounds are there in the Paytm interview?
Paytm does not publish a fixed number. Candidates commonly describe an online coding test, one or more technical rounds and a managerial or HR conversation, and the count changes by team, level and hiring season.
Do I need to know how UPI works for a Paytm interview?
For backend and payments roles it helps a lot. Know the public flow between the payer app, the banks and NPCI, and be ready to discuss timeouts, pending payments, refunds and reconciliation.
How should a fresher prepare for a Paytm coding interview?
Practice common problem patterns daily, revise DBMS, operating systems and networks, and prepare to explain one project in depth, including the choices you made and what you would change.
Where to go next
Practice with the same assistant you would use on a call: it listens, transcribes and suggests answers from your own resume and the job description.
Facts on this page were last checked on . Product details come from the Natively app itself; if something here is out of date, tell us at hello@heynatively.com.
