How Razorpay Became India’s Largest Payments Company
Harshil Mathur, co-founder of Razorpay, discusses the company's journey from a side project to India's largest payments platform. He covers early struggles including a near-death experience when their bank partner pulled out, the strategic bets that drove explosive growth, and lessons on founder mode, capital efficiency, and adapting to AI.
Summary
Harshil Mathur, co-founder of Razorpay (India's largest payments platform), was interviewed about the company's journey from its founding through Y Combinator's Winter 2015 batch to becoming a dominant fintech player. Mathur, a self-described techie with no finance background, stumbled upon the payments problem while trying to accept payments for a side project, noticing that digital payments in India were harder than cash transactions — the opposite of what technology should enable.
Razorpay's early GTM strategy targeted educational institutions for fee collection, but this failed because schools knew students would pay regardless of the payment method, so there was no incentive to digitize. The pivot to serving startups in co-working spaces proved far more successful, as those founders actively wanted digital payment solutions.
One of the most critical challenges came shortly after their YC Demo Day when their bank partner abruptly pulled the plug on their platform, shutting down all ~50 live merchants. Rather than going silent, Harshil and his team personally called every affected merchant, listened to complaints and abuse, and transparently communicated what was happening and what they were doing about it. This crisis cemented Razorpay's culture of human-centered B2B trust, a principle they maintain today — even choosing not to replace customer support with AI because human contact is their primary trust-building channel.
On capital efficiency, Razorpay raised ~$11M in their Series A but burned less than $200K/month, even putting money in fixed deposits earning more in interest than their burn rate. Their investor was unhappy, but Harshil argued that B2B businesses should grow based on the value they deliver, not by burning capital to acquire and retain customers the way B2C companies do.
A pivotal strategic bet was integrating UPI (Unified Payments Interface) in September-October 2016, months before the two largest Indian banks had even joined the network. When demonetization hit in November 2016 and UPI adoption exploded, Razorpay was the only payment gateway ready at scale, winning customers like Zomato, Swiggy, and BookMyShow in a matter of weeks. It took competitors six months to match their UPI readiness.
On AI, Mathur described a deliberate effort to avoid the 'incumbent fallacy' by completely reimagining what Razorpay would look like if built from scratch today, then rebuilding the platform accordingly. He uses tools like Claude and Claude Code personally and argues that AI will compress the build process so dramatically that the only lasting differentiation will be knowing *what* to build and how fast you can decide — not the building itself.
Reflecting on leadership evolution, Mathur admitted to spending a few years in 'manager mode' after hiring strong executives, which he now considers a mistake. He argues founders must stay deeply involved in the things that matter most — especially product vision — because no leader will ever care about the company as much as the founder does.
His closing advice to aspiring founders: don't latch onto a problem just because AI makes it easy to build something. The real question is whether you can spend the next 10 years of your life solving that problem, because that's what building a lasting company requires.
Key Insights
- Mathur argues that regulation in payments, while burdensome, functions as a durable competitive moat because every new entrant must go through the same lengthy approval process — meaning the compliance hurdles that slowed Razorpay down equally slow all future competitors.
- When their bank partner abruptly shut down their platform post-YC Demo Day, Mathur's team responded by personally calling every affected merchant — absorbing abuse and frustration — because in B2B payments, trust is built through human presence during crises, not through silence or deflection.
- Razorpay became the first payment gateway in India to go live on UPI in September-October 2016, a full two months before demonetization made UPI critical — a bet that gave them a six-month head start over competitors and allowed them to onboard major companies like Zomato and Swiggy almost exclusively.
- Mathur contends that in B2B, burning capital to grow makes no logical sense because businesses pay for value delivered — if you stop adding value, they leave the next day — making B2B fundamentally different from B2C consumer engagement models that require capital-intensive retention.
- Mathur argues that AI will compress the 'build' process so dramatically that the only remaining competitive differentiation will be the speed and quality of deciding *what* to build — and any company that plans to 'respond to the market' once AI changes take hold is already too late.
Topics
Transcript
[0:00] B2B is a business of trust and the trust at the end of the day nothing replaces the human touch point of trust right you pick up the phone you call even today like just having somebody a human on the other side saying that yes I am with you I am managing it gives a lot of trust so exciting to sit here and chat with Harshill um I followed along I've been a fan for a long time um now to give some context because I would say that Razer Pay really needs no introduction But [0:30] just to set some context, Razer Pay went through YC in winter of 15, 2015. Uh and it was the…
Full transcript available for MurmurCast members
Sign Up to AccessMore from Y Combinator
Patrick Collison: "What If You Succeed?"
Patrick Collison discusses Stripe's founding story, the importance of concrete customer problems, and shares data suggesting it's the best time ever to start a business. He argues that despite AI advancement, there will be many winners rather than centralization, and emphasizes the value of deep learning alongside AI tools.
Multi-GPU Kernels, Intelligence per Watt, Heterogeneous Inference, and More | YC Paper Club
This YC Paper Club event focused on chip and kernel specialization in AI systems, featuring discussions on multi-GPU kernel optimization, energy-efficient inference, AI-generated kernel code, heterogeneous inference hardware, and GPU-accelerated game engine simulation. Speakers explored how specialization across hardware, software, and algorithms can dramatically improve efficiency and performance across different AI workloads.
Blake Scholl: The Future Was Supposed to Be Faster
Blake Scholl, founder of Boom Aerospace, discusses building the first independently developed supersonic jet by applying software development principles to hardware manufacturing. He argues that startups can compete in regulated industries by building solutions that solve regulatory concerns, and emphasizes that passion, iteration, and vertical integration are key to breakthrough innovation in deep tech.
Boris Cherny: Building Claude Code
Boris Cherny, creator of Claude Code, discusses how Anthropic's Opus 5 model represents a major leap in AI capabilities, requiring a fundamental rethinking of how to build AI products. Rather than accumulating complexity, successful builders must regularly delete system prompts and code to "unhobble" the model, allowing it to tackle increasingly complex tasks like rewriting entire codebases and maintaining software automatically.
Self-Maintaining APIs
The speaker argues that API communication is fundamentally broken across the industry, with breaking changes and new features going unnoticed. Since agentic coding tools have proven viable and developers accept external tool access to codebases, API providers should automatically apply changes to customer code rather than just announcing them—similar to how Dependabot works for dependencies.