Interview Prep 2026
12 min read
25K+ readers

Razorpay Interview Questions & Answers 2026

Razorpay interview preparation covering DSA, system design, machine coding and behavioral rounds for SDE and product roles.

Quick Overview — Razorpay Interviews 2026

  • Total questions covered: 8+ across all rounds
  • Interview rounds: Online Assessment → Machine Coding → DS/Algo → System Design → Founder/Hiring Manager
  • Question types: System Design, Machine Coding, Security, Coding, HR, Behavioral
  • Difficulty: SDE-1, SDE-2, Senior, Lead
8+Questions
5Rounds
6Categories

Razorpay Interview Process

The typical Razorpay interview process consists of 5 rounds. Understanding each round helps you prepare strategically.

1
Online AssessmentRound 1 of 5
2
Machine CodingRound 2 of 5
3
DS/AlgoRound 3 of 5
4
System DesignRound 4 of 5
5
Founder/Hiring ManagerRound 5 of 5

How to Prepare for Razorpay Interview

Follow this structured preparation plan to maximize your chances at Razorpay.

1

Week 1-2: Fundamentals

Review core concepts for your role. For technical roles, practice DSA (LeetCode medium). For non-tech, review domain fundamentals and Razorpay's business model.

2

Week 3: Company Research

Study Razorpay's products, recent news, culture values, and competitors. Prepare your "Why Razorpay?" answer with specific examples.

3

Week 4: Mock Practice

Do 3-5 mock interviews using our AI Interview Gyani tool. Practice explaining your projects and past experiences using the STAR method.

4

Final Days: Review & Rest

Review these 8+ questions and answers. Prepare 5-6 questions to ask the interviewer. Get proper rest the night before.

Top Razorpay Interview Questions with Expert Answers

System Design Questions(2 questions)

Q1. Design Razorpay's payment orchestrator

Hard
View Expert Answer

Smart routing across PG providers (Visa/Mastercard, RuPay, UPI, wallets) for highest success rate and lowest cost. Components: rule engine, A/B testing framework, real-time success rate tracking, fallback logic, retry mechanism. Bank-specific success rates updated minute-by-minute. Critical for Razorpay's value prop.

Q2. Design a real-time fraud detection system

Hard
View Expert Answer

Stream processing on transactions (Kafka + Flink). Features: velocity (transactions/hour), amount anomaly, location mismatch, device fingerprint, behavioral patterns. ML model (Random Forest or Neural Network) gives risk score. Rules engine for hard blocks. Feedback loop: false positives improve model. Sub-second decision latency.

Machine Coding Questions(1 questions)

Q1. Machine coding: Design a webhooks delivery system

Medium
View Expert Answer

Reliable webhook delivery to merchants with retries. Components: event publisher, queue (Kafka), webhook dispatcher, retry queue with exponential backoff, dead letter queue, signature generation (HMAC), delivery logs. Handle: merchant downtime, slow endpoints, idempotency. Scale: millions of events/day.

Security Questions(1 questions)

Q1. How does Razorpay handle PCI-DSS compliance?

Hard
View Expert Answer

Razorpay is PCI-DSS Level 1 certified. Card data never touches merchant servers - tokenized via Razorpay JS SDK. Network isolation, encryption at rest (AES-256) and in transit (TLS 1.3), key management (HSM), regular pen testing, access controls (role-based), audit logging, vulnerability scanning. Annual PCI audit by QSA.

Coding Questions(2 questions)

Q1. Implement a sliding window rate limiter

Medium
View Expert Answer

Track timestamps of requests in a queue (or sorted set in Redis). On new request: remove timestamps older than window, check if count < limit, add new timestamp. For approximate version: use buckets (e.g., 1-sec buckets in 1-minute window). Distributed: use Redis with Lua script for atomicity. Time O(log n) with sorted set.

Q2. Find the merge point of two singly linked lists

Medium
View Expert Answer

Approach 1: Get lengths, advance longer list pointer by diff, then move both together until they meet. Time O(n+m), Space O(1). Approach 2: Two pointers - when each reaches end, redirect to other's head; they'll meet at intersection (or both null if no intersection). Elegant O(1) space.

HR Questions(1 questions)

Q1. Why Razorpay over Paytm or PhonePe?

Easy
View Expert Answer

Razorpay focuses on businesses (B2B) while Paytm/PhonePe focus more on consumers. Mention Razorpay's developer-first approach (best APIs, docs), neobanking products (RazorpayX, Capital), strong engineering culture, transparent pricing. Founded by IIT Roorkee alumni, profitable scaling, valued $7.5B. Smaller than competitors means more impact and ownership.

Behavioral Questions(1 questions)

Q1. Tell me about an architectural decision you made

Medium
View Expert Answer

Use STAR method. Describe context (technical problem, constraints), options considered with tradeoffs (e.g., monolith vs microservices, SQL vs NoSQL), decision criteria, decision made, implementation challenges, outcome with metrics. Razorpay values strong technical judgment.

Pro Tips from Past Razorpay Candidates

1

Use the STAR method consistently

Structure every behavioral answer as Situation → Task → Action → Result. Interviewers are trained to evaluate STAR responses.

2

Ask thoughtful questions at the end

Ask about Razorpay's upcoming projects, team culture, or growth trajectory. Never ask about salary/benefits in the first round.

3

Research recent company news

Mention Razorpay's recent product launches, earnings, or industry moves in your answers. It shows genuine interest.

4

Prepare your 'Why this company?' answer

Don't give generic answers. Be specific: 'I admire Razorpay's [specific project/initiative] because...' with personal connection.

5

Follow up with a thank-you email

Send a brief, personalized thank-you within 24 hours referencing specific discussion points. It sets you apart from 90% of candidates.

Common Mistakes to Avoid

Not practicing out loud before the interview
Giving memorized/robotic answers instead of natural ones
Not asking any questions when given the chance
Speaking negatively about past employers
Not quantifying achievements in answers
Arriving without researching the company

Practice These Questions with AI

Get instant feedback on your answers with our AI-powered mock interview tool. Practice Razorpay interview questions with real-time evaluation and scoring. Used by 50K+ candidates.