Autocoder

Paytm Interview Questions and Answers

Last updated 2026-11-19

Paytm moves money, so a lot of its interview material sits where correctness matters more than speed: a wallet balance that must never go negative, a payment that must not be applied twice, a transaction that must survive a crash. Alongside that, candidate reports mention core computer science: OOP, DBMS, operating systems and SQL.

This page offers practice questions with worked answers in that style. They are practice questions on the topics rounds are commonly reported to cover, not a record of any real year. Coding practice is on Paytm coding round questions, and the process is covered in how to crack the Paytm interview.

Typical roundsOnline test, one or two technical rounds, technical plus HR (commonly reported)
RolesSDE-1, Software Engineer

Rounds as commonly reported

Most candidate reports are from 2020 to 2022 and describe an online test of about 60 minutes with two coding questions plus SQL or multiple-choice items, one or two technical interviews on DSA, OOP, DBMS, OS and projects, and a final technical plus HR discussion. The format may have changed since.

Paytm does not publish its rounds, so use this as a rough guide.

Hiring status

A Telecom Live report says Paytm plans to hire about 4,000 people by March 2027, for its merchant network and AI products with roles not specified, while cutting about 1 percent (around 400) of staff after the appraisal cycle (source: telecomlive.in). Read Paytm hiring for more, and apply through paytm.com/careers.

How to prepare

Revise transactions and isolation levels until you can explain them with a money-transfer example. Then do a pass of SQL joins, group by and window functions, because SQL appears in the online test as reported.

Paytm Interview Questions and Answers: questions with worked answers

  1. 1

    Explain ACID with a wallet transfer.

    easy

    Transfer 500 from A to B. Atomicity: both the debit and the credit happen, or neither does. Consistency: constraints such as non-negative balance hold before and after. Isolation: a concurrent transfer does not see a half-done state. Durability: once committed, the result survives a crash, through the write-ahead log. Show it in SQL as a single transaction with BEGIN, two UPDATE statements, and COMMIT.

  2. 2

    How do you stop a wallet balance going negative under concurrent debits?

    medium

    Never read, check and write in separate steps. Use a conditional update, UPDATE wallet SET bal = bal - 500 WHERE id = ? AND bal >= 500, and check affected rows. Alternatively lock the row with SELECT ... FOR UPDATE inside the transaction, or use optimistic locking with a version column and retry. Record every change in a ledger table so the balance can be audited.

  3. 3

    What is a double-spend or duplicate payment, and how do you prevent it?

    medium

    It occurs when a retry, a double-click or a repeated callback applies the same payment twice. Prevent it with an idempotency key per payment attempt stored under a unique constraint, a state machine that only allows INITIATED to SUCCESS once, and reconciliation jobs that compare your ledger with the bank or gateway statement and flag mismatches.

  4. 4

    Describe the isolation levels and the anomalies each prevents.

    medium

    Read uncommitted allows dirty reads. Read committed prevents dirty reads but allows non-repeatable reads. Repeatable read prevents those but may allow phantom rows (engine-specific). Serializable prevents all, at the cost of throughput or retries. Mention that most databases default to read committed or repeatable read, and pick stricter levels only for the operations that need them.

  5. 5

    What is a deadlock and how can it be avoided?

    medium

    Two transactions each hold a lock the other needs. The four conditions are mutual exclusion, hold and wait, no preemption and circular wait. Break one: acquire locks in a fixed global order (for a transfer, always lock the lower account id first), keep transactions short, use timeouts, and let the database detect and abort one victim, which the application retries.

  6. 6

    Difference between a process and a thread, and between paging and segmentation.

    easy

    A process has its own address space; threads of one process share memory but have separate stacks and registers. Paging divides memory into fixed-size pages and avoids external fragmentation, while segmentation uses variable-size logical units such as code and stack, which match program structure but can fragment. Modern systems mostly use paging, sometimes with segmentation on top.

  7. 7

    Write a SQL query for the second highest salary.

    easy

    Use a subquery: SELECT MAX(salary) FROM employee WHERE salary < (SELECT MAX(salary) FROM employee). It returns NULL when no second value exists, which is usually the correct answer. For the nth highest, use DENSE_RANK() over an ordered window and filter rank = n. Explain why DENSE_RANK and not RANK or ROW_NUMBER when there are ties.

  8. 8

    Explain polymorphism, abstraction and encapsulation with a payments example.

    easy

    Abstraction: a PaymentMethod interface exposes pay(amount) and hides how. Polymorphism: UPI, Card and Wallet implement it, and the checkout calls the same method on any of them. Encapsulation: the Wallet keeps its balance private and exposes only debit and credit that enforce the rules. A new method needs a new class, not a change to checkout.

  9. 9

    How would you design a reliable webhook delivery system for merchants?

    hard

    Persist each event, then deliver from a queue with signed payloads so the merchant can verify authenticity. Retry with exponential backoff for a bounded period, record every attempt, mark an endpoint unhealthy after repeated failures and pause it, and document that deliveries are at-least-once so merchants must de-duplicate by event id.

  10. 10

    How do indexes work, and what is a covering index?

    medium

    A B+ tree index stores sorted keys with pointers to rows, giving logarithmic lookup and range scans. A covering index contains all the columns a query needs, so the database answers from the index without touching the table. Too many indexes slow writes and use space; verify use with the query plan.

  11. 11

    Tell me about yourself in a minute for a fintech role.

    easy

    Structure it as present, past, future: what you are doing or studying now, two experiences or projects that show relevant skill (include one with data integrity or testing if you have it), and why this role is the next step. Keep it under a minute and avoid reciting your resume line by line.

  12. 12

    Why Paytm, and how would you handle a mistake that affected users?

    easy

    Link your interest to scale and responsibility in payments, with an honest reason. For the mistake, own it: say what happened, how you contained impact first, how you told stakeholders, the root cause, and the safeguard you added so it cannot recur.

Frequently asked questions

Does Paytm ask SQL questions?

Candidate reports describe SQL items in the online test and DBMS in interviews. Practise joins, grouping, window functions and transactions.

Are the reports about Paytm rounds current?

Many are from 2020 to 2022 and the format may have changed. Follow the instructions on your own invite.

Which CS subjects matter most?

Reports mention DSA, OOP, DBMS and operating systems. Payments context makes transactions and concurrency especially useful.

Where can I see Paytm openings?

On the careers page of the company, and in Paytm hiring for sourced news.

Sources

Related guides

More in Company Interview Questions

See all in this section