Code Story · Transcripts

S10 E22: Zero Tax Liability from Day One: How to Automate Global SaaS Compliance and Sell in 220+ Countries with Ayush Agarwal, Co-Founder & CPTO of Dodo Payments

March 4, 2025 · 19:58
Listen to the episode Download .txtDownload .vtt
Ayush Agarwal

I learned from my past mistakes. I didn't dig deep into like building the product first, then selling it to the customers. This time we actually built out a just a simple website talking about the problem statement, talking about the solution in general. And that took me just one or two day to build it on Framer. And then we actually sent that website to a lot of cold emailing, cold DMing to all the potential merchants that we can onboard and started getting the feedbacks and you'll not believe but we are actually able to contact around 250 merchants from almost 30 plus different countries. My name is Ayush Agarwal, and I'm the co-founder and CPTO at Dodo Payments.

Noah Labhart

this is Code Story a podcast bringing you interviews with tech visionaries six months moonlighting there's nothing on the backhand who share what it takes to change an industry. I don't exactly know what to do next. It took many goes to get right. Who built the teams that have

Sound bite

their back. A company is its people. The teams help each other achieve more. Most proud of our team.

Noah Labhart

Keeping scalability top of mind. All that infrastructure was a pain. Yes, we've been fighting it as we grow. Total waste of time. The stories you don't read in the headlines.

Sound bite

It's not an easy thing to achieve. Took it off the shelf and dusted it off and tried it again.

Noah Labhart

again to ride the ups and downs of the startup life.

Sound bite

You need to really want it. It's not just about technology.

Noah Labhart

All this and more on Code Story. I'm your host, Noah Labhart, and today how Ayush Agarwal is building your gateway to global revenue by simplifying cross-border payments and all things surrounding. Ayush Agarwal is a techie trying to code his way out of things. He graduated with a degree in computer science, but more importantly, he discovered entrepreneurship in college, inspired by his successful classmates. He spent years gathering experience in different startup verticals, including fintech. But outside of tech, he loves to play badminton, cricket, and hang out with his friends. He's also big into chess, which he mentioned enjoying chess.com as well as our recent interview with their CTO Josh Levine. When Ayush met his now co-founder, they started to think through businesses and how much goes into setting up payments, taxes, etc. They started to dream about building this layer of payments to enable builders to send and receive global payments easily so they can focus on their core competencies. This is the creation story of Dodo Payments.

Ayush Agarwal

Dodo Payments actually came out of a idea that during my last company, right, we had a global audience. So being a Indian company, it was really hard to collect payments outside India because for India, I think we were able to solve that because the tax compliance, the payment gateway part was pretty straightforward. But when we have to expand across countries, right, then figuring out tax and other compliance for different countries, it's very tedious, right? And if you are, let's say, based out of United States or India, it might be a distraction for you because a lot of bigger companies actually have a dedicated payments and tax team to figure that out. And being an early stage company, it's always a nightmare to handle payments, billing, and tax. So that actually struck with me, and when I met my co-founder, he also had that similar idea: make the entire process of billing, tax, fraud, chargeback, etc. And abstract that pain away from the end merchant so that they actually focus on building product rather than payments, right? Which is not their core criteria. This is a very core problem that we kind of addressed and we started working on it. And then we actually realized there are a lot of merchant of record companies that actually exist. Like there is a billion dollar company called Paddle which is based out of Europe. Recently, Stripe also acquired Lemon Squeezy or built on top of Stripe, which is based out of USA. So we kind of thought there are, like, already this is already a proven model. Why don't we actually build this model for the merchant based out of India and emerging markets? Because anyways they don't have access to Stripe, and collecting international payment is always a pain point, because all the payment gateways don't work really well and only have, like, 40 to 50 percent success rate with all the payments. So we kind of of dig deep into it, understood. I think it took us almost six to eight months to understand the model itself, and then we were fortunate enough to raise a venture round, and then we kind of scaled the team, build out the product. Now we're in the process of scaling the company, getting more and more merchants and the feedback has been amazing so yeah.

Noah Labhart

Let's dive into the MVP so tell me about that first version of the product you built how long did it take to build and what sort to bring it to life.

Ayush Agarwal

This time, I learned from my past mistakes. I didn't dig deep into like building the product first, then selling it to the customers. This time, we actually built out just a simple website talking about the problem statement, talking about the solution in general. And that took me just one or two days to build it on Framer. And then we actually sent that website to a lot of cold emailing, cold DMing to all the potential merchants that we can onboard. and started getting the feedbacks around the problem statement, around the use case, around the solution that we were kind of proposing to them. And you'll not believe, but we are actually able to contact around 250 merchants from almost 30 plus different countries. And we kind of validated the problem really well. And when we told them about a solution, they kind of struck with them. The early PMF sign, which we can actually expect without building a product, person will actually buy it or not. So we kind of end up with every people we used to ask, right, now you have allocated a problem, will you buy our product, will you use our product? And actually like, in the 250 people that we talked with, around 100 of them actually said yes. So that was kind of the validation for the problem itself. With that whole narrative, with that whole research around the problem and the solution, I mean, on that we were able to raise venture capital. So that was

Noah Labhart

Let's stay on the MVP for a minute. With any MVP, you got to make certain decisions and trade-offs around how you're going to build it, how you're going to approach it. And, you know, it sounds like you got the job done and you raised money. But I'm curious about those decisions and trade-offs in the product itself and how you coped with those decisions.

Ayush Agarwal

Building an MOR takes like a billing solution, a fraud solution, etc., etc. There are a lot of building blocks, right, when it comes to payment. So I think there was a conscious call whether we have to build each of the building products on our own or just partner with a different platform, build a sort of layer on top of that, and create as a product. When we actually dig deep into it, let's say if we work with a certain partner for billing, I mean, like, it was posing a lot of problems around the customizability because all these different systems, they are built for individual merchants solving for their SaaS or digital still products, right? But for MOR there isn't a single solution because there aren't many MORs that exist in the world, right? So there isn't any dedicated solution for an MOR. So that's when we are trying a lot, trying to look at a lot of open source tools. There are a lot of billing tools that are available, even there are billion dollar companies for that, but it kind of relies to us like after a lot of research, after a lot of trial and testing, that we can't use the solution. We have to build our own system incrementally. When it comes to, like, integrating different payment gateways to optimize global payments or to setting up entities across different countries, we can't outsource this to anyone. So we kind of mapped out the whole roadmap of the whole product infra that is required for an MOR. Then we did cutting exercise, like how can we build a working product within two months, how can we build a scalable product within, let's say, four months, something like that. So we We kind of stripped out a lot of different things that are required by an enterprise or a large size customer, but not required by the small ones. So we actually trimmed down our product roadmap while building the entire infra on our own. So that basically ensured like highest reliability, highest customizability. And we can also do incremental changes on that. So, yeah.

Noah Labhart

So let's move forward then. You've got the MVP. It's working. You've got the traction you're looking for. You raise the money. on the world, how did you go about, you know, deciding what was next? And I'm curious about roadmap and what process you're following to go through that decision process of like, okay, this is the next most important thing to build or to address with Dodo Payments.

Ayush Agarwal

I think this time I took on the learning from my last company as well. In my last company, it was just the business was defining the product features. It was not the customers, right? So this this time I actually learned from my mistake, and we actually, in our dashboard, right, we put this feature called feature request, where you can actually see all the feature requests that other customers of ours have put in, that they want this feature, they want this feature. And if if a certain customer wants the same feature, they can go and upload, right? So we have a certain features that have almost more than 50, 100 uploads as of now, and we already have a product roadmap roadmap defined by our customers. That made our entire process, entire product management process very simpler, right? We actually pick up all the features that our customers ask, and we also have certain features which business also demand. So we kind of have a framework which we called as a RICE framework, where we do a effort, impact, and other sort of analysis and provide a RICE score to every feature that we want to build, and depending on that that we prioritize within our product roadmap. With this exercise, we already have enough work for the next six months. We don't have to worry about that. We are pretty confident that as we progress and build more and more features, more and more requests will start coming. And I think our customers will be the only one who will shape our product.

Noah Labhart

So then I'm curious about team. You know, I hear you saying we, how did you build that team? And what do you look for in those people to indicate that they are the winning horses to join you?

Ayush Agarwal

Every vertical that we have, whether it can be back-end, front-end, product, design, growth, DevOps, etc., etc., needs a leader, right? I think during the interview process we received, like, hundreds of thousands of application on each of these vertical, right, that we were hiring for. And the only thing we kind of, like, assess in the beginning is that whether the person is ready to do grunt work on its own, because senior folk will come with a baggage, and there will be high chances that the senior folk might be requiring a team to actually work and to deliver certain outcomes. We were not looking for those folks, right? We are looking for folks who are senior, who have certain experience but are also open to do grunt work on their own. And over the course of different interviews, different hiring process, we kind of assess this ability of that person to take to work under certain pressures. We actually designed our assignment in such a way that we had assignments for every role that we hired for. And for every assignment, the typical time that you can take to complete easily was one week. But we asked them to complete within two days, right? So that basically pushed them to the limit that they have to think like how to work in that high pressure, high timeline kind of environment. And that actually helps us assess whether that person is a good fit for our startup or not.

Noah Labhart

let's flip to scalability i'm curious where this has come into play was this built to scale with or with scale in mind from the very beginning or have there been areas where you had to fight it as you've grown

Ayush Agarwal

I think we, all the different modules or all the different services that we have built, we have kept scalability, efficiency, and responsiveness at the top. I'll give you an example, right? On the back end we used Rust. So I think nowadays every every other company was just starting up will obviously choose monstack, Node.js, Django for to build out the back end, right? But being a payments company, I think what was core to us was reliability, scalability, and efficiency of our systems, right? So we chose Rust as our back end, and whatever Whatever systems, whatever services we are building, we are automating a lot of that using different SOPs, different workflows. We have a lot of AI agents working within our workflows to automate whatever part of process that we have for the product. And there are a lot of moving parts that require manual intervention. And we have tried to automate it using AI agents and other workflows that we have. So yeah, everything we build has to scale. Three months back, we had zero merchants. Now we had more than a thousand merchants. processing thousand transactions a day. So I mean, like that's been pretty insane for us. So I think within three months, we have grown so much. After three months, after a year, our product should be scalable and need to scale. And every decision that we take, like have scalability in mind.

Noah Labhart

As you step out on the balcony and you look across all that you've built, what are you most proud of?

Ayush Agarwal

Within a span of three months, we are able to build a super stable product because now when people actually try our product, kind of compares ourselves with Stripe, right? So for the emerging markets, our people are calling us as a Stripe alternative for India and other emerging markets, because Stripe doesn't work here, and we have other payment gateways which are multi-billion dollar companies still not able to solve for international, international payments. But we being an MOR can partner with Stripe, other PGs and have abstracted that problem out and pain of collecting international payments. That's why I Stripe or even say that you are the Stripe alternative for India, and we have kind of positioned ourselves in that way, in which our product is very stable, very intuitive, very fast. Our documentation for the payment integration is super smooth. I think we can compare our documentation with Stripe very easily. So it kind of gives that comfort to me that we just started building the products for five, six months back, and we are here when our users actually comparing ourselves with Stripe. So that's what I'm really proud of.

Noah Labhart

Okay, let's flip the script a little bit. Tell me about a mistake you made and how you and your team responded to it.

Ayush Agarwal

I'm not saying it will be a mistake, but we spent a lot of time figuring like pre-made solutions for different problems that we have. So we spent quite a lot of time figuring out open source tech solution or like effective tax billing solutions for us. And I asked my team to write some integrations around that, and wasted a lot of time. But in the end, we have learning, right? I'll not say we have made any mistakes so far, but I think during the research time, rather than building the product, we spent a lot of time iterating, trying out different solutions. If we could have avoided that, if I would have the learning before, then I wouldn't have done that.

Noah Labhart

Okay, this will be fun. Tell me what the future looks like for Dodo Payments, for the products, for what you offer, team

Ayush Agarwal

I think it's very clear, right? Uh, being a such a deep problem statement we are working on, with such a massive market, I don't think we are stopping anytime soon, right? Now people are comparing us with Stripe, and we want to live up to the expectations. So this year going forward, we would like to position ourselves as an alternative to Stripe for India and emerging markets. And yeah, I think that will be a journey. We'll make the global payment, the pain of setting up payments, tax, compliance, etc., etc. We want to make that seamless for our customers as well as any new budding entrepreneurs so that they just focus on building products rather than solving for payments and compliance. So we want to take that pain away. Going forward, you'll see us competing with other MORs in the Western markets.

Noah Labhart

Let's switch to you, Ayush. Who influences the way that you work? Name a person or many persons or something you look up to and why.

Ayush Agarwal

was a founder of Zappos. He's kind of been my idol for quite a bit of time. Like when I actually started to pursue entrepreneurship, I actually read his book. The idea of customer obsession and building something that actually customer wants struck with me, right? I made a lot of mistakes around defining the product roadmap as per my thinking, business thinking. And in the end, I kind of stuck with that thing only like build only that thing what your customer wants. we are at Bateshaw that will only build any feature that has been requested by at least 10 people within our merchant base.

Noah Labhart

Okay, last question to you. So you're getting on a plane, you're sitting next to a young entrepreneur who's built the next big thing. They're jazzed about it, they can't wait to show it off to the world and can't wait to show it off to you right there on the plane. What advice do you give that person having gone down this road a bit?

Ayush Agarwal

I think a lot of budding entrepreneurs are actually obsessed around the solution, not the problem, right? And, like, if you are a techie, you tend to basically invest yourself building the solution, not the solving for the problem or identifying the market, right? So my only advice to all the budding entrepreneurs and all the, like, people who come for me for advice, I actually give them only one thing: that spend as much time as possible studying around the problem statement, talking to customers, validating the problem, and before diving deep into the market as well. Because a lot of entrepreneurs, although, although, like, successful entrepreneurs, or even the failed ones, I think the majority reason for them failing is they were, they underestimated the market. They thought the market was super big, but in the end when they were trying to monetize it, when they were trying to build into that, the market came out to be very small. You can be a very bad builder, bad entrepreneur in a large market. It is very likely that you'll build some sizable business, right? Because the market is very large. But if, like, if you're a super good entrepreneur building a very small time market, right, then most likely you'll fail, right? Most likely not able to build a very large company. So this time when I was also building Dodo Payments, this was my key that whatever I needs to build this time has to have some global and a sizable market to go after. And yeah, I think that's been, that has been my learning, and And that's what I advise to all the younger folks and younger entrepreneurs who are just starting their journey on the ideation stage. And yeah, this is what I tell them to most obsessed on. Well,

Noah Labhart

that's great advice. Well, Ayush, thank you for being on the show today. And thank you for telling the creation story of Dodo Payments.

Ayush Agarwal

Thank you. Thank you, Noah. Thank you for having me. It's been a pleasure.

Noah Labhart

And this concludes another chapter of Code Story. Code Story is hosted and produced by Noah Labhart. Be sure to subscribe on Apple Podcasts, Spotify, or the podcasting app of your choice. And when you get a chance, leave us a review. Both things help us out tremendously. And thanks again for listening.

Transcribed with Whisper and reviewed for names and terms; speaker labels are automatic and may contain small errors. Timestamps link to that moment of the transcript.