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
Razorpay Interview Process
The typical Razorpay interview process consists of 5 rounds. Understanding each round helps you prepare strategically.
How to Prepare for Razorpay Interview
Follow this structured preparation plan to maximize your chances at Razorpay.
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.
Week 3: Company Research
Study Razorpay's products, recent news, culture values, and competitors. Prepare your "Why Razorpay?" answer with specific examples.
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.
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
HardView 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
HardView 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
MediumView 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?
HardView 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
MediumView 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
MediumView 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?
EasyView 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
MediumView 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
Use the STAR method consistently
Structure every behavioral answer as Situation → Task → Action → Result. Interviewers are trained to evaluate STAR responses.
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.
Research recent company news
Mention Razorpay's recent product launches, earnings, or industry moves in your answers. It shows genuine interest.
Prepare your 'Why this company?' answer
Don't give generic answers. Be specific: 'I admire Razorpay's [specific project/initiative] because...' with personal connection.
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
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.
More Interview Preparation Resources
TCS Interview Questions & Answers 2026
8+ questions • IT Services
Infosys Interview Questions & Answers 2026
6+ questions • IT Services
Wipro Interview Questions & Answers 2026
5+ questions • IT Services
Amazon India Interview Questions & Answers 2026
6+ questions • Big Tech
Google India Interview Questions & Answers 2026
5+ questions • Big Tech
Microsoft India Interview Questions & Answers 2026
5+ questions • Big Tech
Flipkart Interview Questions & Answers 2026
4+ questions • E-commerce
SBI PO Interview Questions & Answers 2026
5+ questions • Banking
HDFC Bank Interview Questions & Answers 2026
4+ questions • Banking

