WhoBuilt

Harshil Mathur: AI Is Compressing Every Moat

May 6, 2026· 32 min· 21K views·Watch on YouTube

Speaker

Harshil Mathur, co-founder of Razorpay, discusses building a payments company and adapting its product and organization to AI with a Y Combinator host.

Finding the real customer

Mathur began as a coder and found the payments problem while trying to accept money for a side project in India. Razorpay first targeted educational institutions, but colleges had little reason to make fee collection easier. Startups cared about the problem, so the company pivoted to serve them.

Regulation, trust, and resilience

Razorpay waited nearly a year after YC to process its first live transaction while it secured approvals and certifications. Mathur saw that difficult entry requirements could become a moat because competitors faced the same process. When its bank partner shut down service for about 50 merchants, the team called each customer, explained the situation, and restored service with another partner within four or five days.

Grow through value and timely bets

Mathur said Razorpay kept spending lean because businesses paid for concrete value, rather than engagement metrics. In 2016, while larger gateways waited to see whether UPI would succeed, Razorpay became the first payment gateway in India to go live with it. After demonetization, major merchants including Zomato, Swiggy, and BookMyShow joined, giving Razorpay an early advantage.

Rebuild for AI and stay close to the work

Mathur said AI is making software faster to build, so companies need to decide sooner what to build and move before the market shifts. Razorpay redesigned its platform around integration, onboarding, and support, and redirected teams toward the new approach. He also warned against founders retreating into manager mode: they should stay involved in product vision and other core decisions while delegating the rest.

Choose a problem worth a decade

Mathur advised founders to look beyond how easily AI lets them build and launch software. The key question is whether they care enough about a problem to work on it for the next 10 years. He said sustained effort on a problem founders deeply understand is still central to building a company.

Takeaways

  • Test whether customers truly care before committing to a market; Razorpay shifted from education to startups when the customer need proved stronger.
  • Separate customer demand from operational difficulty: a hard problem can create a moat when customers want the solution.
  • In trust based B2B, clear and direct customer communication can help preserve relationships during a crisis.
  • For a business selling to businesses, keep spending tied to value delivered and make bets while the company is small enough to move quickly.
  • Use AI to revisit what the company should build, and choose a problem you can stay committed to for years.

Mentioned in this talk

Search inside this talk

What was claimed 9

Show all 9 facts

Related talks