How Razorpay Became India’s Largest Payments Company

| Business & Entrepreneurship | May 06, 2026 | 6.86 Thousand views | 31:35

TL;DR

Harshil Mathur recounts Razorpay's journey from a coding side project to India's largest payments platform, detailing their pivot from education to startups, the year-long regulatory wait that created competitive moats, and how surviving a bank crisis through radical customer transparency cemented their B2B trust foundation.

🎯 Origin Story & Market Pivot 3 insights

Discovering payments friction through a crowdfunding side project

Harshil discovered accepting digital payments in India was harder than accepting cash while building a social crowdfunding platform, realizing the legacy system created silos rather than democratizing access.

Education sector lacks incentive to digitize fee collection

Initial strategy targeted educational institutes for fee payments, but the team discovered institutes had no incentive to digitize since students would pay however demanded, whether cash, check, or counter payment.

Pivoting to startups reveals true product-market fit

After realizing education was a dead end, they shifted focus to co-working space startups who actively needed digital solutions, quickly finding traction among tech companies facing the same pain point.

🏛️ Regulatory Barriers as Defensibility 3 insights

Year-long regulatory approval delays first live transaction

Unlike typical YC startups, Razorpay waited nearly a year after completing the program to process their first live transaction while securing banking licenses and regulatory certifications.

Compliance hurdles create defensible moats against competitors

Harshil explains that regulation acts as a deep moat because every new entrant faces the same year-long approval process regardless of funding or size, preventing rapid market saturation.

Customer validation sustains conviction through lengthy delays

Despite monthly doubts about the difficult path while watching other sectors get funded, continuous validation from frustrated merchants confirmed the severity of the problem and justified the wait.

🤝 Crisis Management & Trust Architecture 3 insights

Bank partner abruptly terminates service after Demo Day

Two weeks after YC Demo Day, their sole banking partner terminated service due to a single customer complaint, instantly halting 50+ active merchant accounts and threatening the company's survival.

Personal phone calls to merchants rebuild broken trust

The team sat in a room and personally called every affected merchant to explain the situation and endure anger, converting even abusive customers into long-term loyalists through radical transparency.

Human customer support remains irreplaceable for B2B trust

Razorpay deliberately avoids AI for customer support, mandating phone calls for complex issues because B2B financial services require human connection to establish trust, not just ticket resolution.

Bottom Line

In regulated B2B industries, survive the compliance gauntlet to build defensible moats, then convert operational crises into trust-building opportunities through radical transparency and human customer relationships.

More from Y Combinator

View all
Personal AI Is the New Personal Computer
41:30
Y Combinator Y Combinator

Personal AI Is the New Personal Computer

Y Combinator CEO Gary Tan details his return to software engineering after a 13-year hiatus, shipping hundreds of thousands of lines of code while running YC full-time by leveraging AI coding tools and developing "token maxing" methodologies that transform exhaustive research and development tasks into solo weekend projects.

about 12 hours ago · 10 points
Beyond Bigger Models: Recursion As The Next Scaling Law In AI
37:53
Y Combinator Y Combinator

Beyond Bigger Models: Recursion As The Next Scaling Law In AI

Recursion at inference time—rather than simply scaling model size—may be the next breakthrough in AI reasoning. Recent research on Hierarchical Reasoning Models (HRM) and Tiny Recursive Models (TRM) demonstrates that recursive architectures using shared weights can solve complex reasoning benchmarks like Arc Prize with minimal parameters, outperforming massive traditional LLMs.

8 days ago · 8 points
How to Build the Future: Demis Hassabis
40:57
Y Combinator Y Combinator

How to Build the Future: Demis Hassabis

Demis Hassabis predicts AGI by around 2030 and argues that while current large-scale pre-training and reinforcement learning form the foundation, breakthroughs in continual learning, memory consolidation, and introspective reasoning are still required to achieve true artificial general intelligence.

10 days ago · 8 points
The $9B startup that wants to create a billion new developers
39:12
Y Combinator Y Combinator

The $9B startup that wants to create a billion new developers

Replit CEO Amjad Msad explains how the $9 billion startup evolved from a browser IDE into an AI-native 'vibe coding' platform that eliminates traditional coding entirely, enabling non-technical domain experts to build production-grade software through natural language and visual interfaces.

14 days ago · 10 points