Schematic recently sat down with Rob Truesdell, Chief Product Officer at Pangea Cloud, to talk in depth about how he & his team built Pangea's pricing & packaging infrastructure.
Monetizing a B2B SaaS product is increasingly complex. Rob highlights three core complexities that SaaS companies must address:
Supporting Multiple Go-to-Market Motions: Companies need to cater to different sales approaches, including product-led, sales-led, and channel-led motions.
Hybrid Billing Models: Businesses must be flexible in their billing, offering options such as usage-based, consumption-based, and seat-based billing.
Managing Multiple Products: As companies scale, they often expand their product offerings, which adds another layer of complexity to monetization.
At Pangea Cloud, the team made a strategic decision upfront to build flexible and scalable monetization infrastructure. Here’s a detailed look at the components and processes they implemented:
Pangea Cloud operates on a microservices architecture, which allows customers to interact with their services via APIs. This setup is crucial for the company's metering and billing system.
Rob and his team developed an in-house metering system that tracks API usage in real-time. This system logs tenant identification numbers and the frequency of API calls, storing the data in a Postgres database. This real-time tracking ensures accurate usage-based billing and also helps monitor product usage.
The metering system is tightly integrated with Pangea's API gateway. Before permitting an API call, the system checks if there is sufficient balance in the customer's account.
For handling payments, Pangea Cloud leverages Stripe. Stripe handles credit card transactions, payment failures, and invoicing based on usage data from the Postgres database.
Pangea Cloud uses HubSpot for customer relationship management (CRM) and marketing automation. The integration between the usage data stored in the database and HubSpot enables the team to run automated follow-up playbooks based on customer behavior. This setup helps identify patterns such as load balance warnings, periods of inactivity, and spikes in usage, allowing for timely and relevant customer engagement.
An essential component of Pangea's monetization infrastructure is its price list management system. Each service has a price list stored in the database, allowing for flexible pricing models. For enterprise customers, Pangea can customize the price list to meet specific contract terms, while standard pricing applies to other users. This flexibility supports various billing arrangements and discounts as needed.
Developing pricing & packaging infrastructure is a serious & expensive investment. Rob estimates that it required a material investment of developer resources to both build, but also to maintain.
"At Pangea, at least a few engineers dedicated six to twelve months to build the core components of the company's pricing & packaging infrastructure, which involves continuous maintenance."
Pangea's approach to building monetization infrastructure offers valuable lessons for other B2B SaaS companies.
There's obviously a major choice to make: build vs. buy. But from an architectural perspective, Pangea's approach resembles the standard we think all companies should embrace so that they can ensure pricing is decoupled from code and that they retain the ability to control monetization flexibly their business grows and evolves.
For more information about Pangea Cloud and its innovative security solutions for developers, visit Pangea Cloud. You can also connect with Rob Truesdell on LinkedIn or reach out to him directly at rob@pangea.cloud.