AI Billing

PSP Integration Patterns for AI Billing Systems

By Ben Foster·10 min read·Updated April 2026

Integrating an AI usage-based billing platform with a PSP typically follows one of five integration patterns. These patterns vary by vendor and billing architecture: bring-your-own-Stripe, embedded Stripe, native multi-PSP connectors, fully managed and bundled, and modular hybrid. The right pattern depends less on architecture preference than on the PSP a team already operates and the billing guarantees the product needs. This article maps all five and shows how to choose.

How does PSP integration shape AI billing decisions?

PSP integration shapes AI billing decisions because teams typically arrive at the billing-platform question with a payment relationship already in place. The choice is rarely "which platform has the best metering"; it is "which integration pattern fits my Stripe, Adyen, or PayPal account and the billing guarantees my product needs."

Most articles on this topic assume the team is on Stripe and frame the rest as a build-vs-buy decision. In practice, teams come from all kinds of payment infrastructure. Some are already on Stripe and want to keep dashboard control. Others run on Adyen, Checkout.com, or GoCardless; sit behind a Merchant of Record; or have not picked a PSP yet.

The integration pattern they choose has real consequences for setup time, lock-in, and what they would have to migrate if they outgrow it.

The architecture lens matters before the pattern lens. Usage-based billing platforms split into two architectures: traditional invoice-based and real-time. Traditional invoice-based platforms (Orb, Lago, and pre-acquisition Metronome) capture usage events through a metering layer and reconcile them into an invoice at cycle end. Real-time billing platforms (Credyt, Stigg as an orchestration layer) collapse usage capture, pricing, and wallet debit into one atomic operation; balance is the source of truth, updated as events arrive.

Stripe Billing sits in a third adjacent category: subscription-first with metered add-ons. Flexprice is hybrid, with invoice-based primary and a wallet option. These categories matter because they determine what a platform can actually guarantee, not just what shows up on its feature page.

Five PSP integration patterns for AI billing

The five patterns are bring-your-own-Stripe, embedded Stripe, bring-your-own-PSP via native connectors, fully managed and tightly bundled, and modular hybrid. Each pattern names a different way an AI billing platform connects to the team's payment infrastructure, and each maps to specific vendors with specific billing architectures.

Pattern 1: Bring your own Stripe account

You connect your existing Stripe account to the billing platform, typically by providing an API key or authorizing access via Stripe Connect. The billing platform handles metering, pricing logic, and invoicing; payment collection runs through your Stripe account directly.

Best fit: teams already on Stripe who want to keep full visibility into their Stripe dashboard and maintain direct control over the PSP relationship. Especially useful when existing Stripe configurations like webhooks, tax settings, and saved payment methods are not worth rebuilding.

Benefits include retained dashboard access, no card data passing through the billing vendor, and easier auditing because payment and billing records can be cross-referenced directly. Trade-offs: more integration work (webhooks, idempotency, sync), the PSP is locked to Stripe, and most platforms in this pattern are invoice-based. Setup complexity is medium.

PlatformArchitectureNotes
LagoInvoice-basedOpen source; can self-host or use cloud
OrbInvoice-basedEvent-stream architecture
MetronomeInvoice-basedPre-acquisition supported PSP-agnostic deployment; post-January 2026 in the Stripe ecosystem

Pattern 2: Embedded Stripe (billing platform manages the account)

The billing platform orchestrates a Stripe Connect account on your behalf. There are two meaningful sub-patterns.

In the transparent embedded model, the team's Stripe account remains the merchant of record. Dashboard access stays with the team, and transactions are visible in Stripe directly. The structural property is that account ownership stays with the team.

In the opaque embedded model, the platform uses Stripe under the hood but abstracts it entirely. You have no direct access to the underlying account. This model is often used by platforms that monetize payment processing directly, and processing fees can run higher than Stripe's standard rates.

Best fit: teams who want the fastest path to live payments without managing a PSP relationship themselves. Transparent suits teams who want account ownership; opaque suits teams who want to hand off payment operations entirely and are less sensitive to processing costs.

Trade-offs: tied to Stripe; opaque variants have limited visibility, potential markup on fees, and migration friction. Setup complexity is low.

PlatformArchitectureNotes
CredytReal-time billing; transparent embedded StripeStripe Checkout flow routed through the team's connected Stripe account; non-Stripe PSP setups handled via the Adjustments API

Pattern 3: Bring your own PSP via native multi-PSP connectors

The billing platform has native integrations with a defined set of PSPs. You connect whichever supported provider you already use, and the platform handles data mapping and payment flow for that connector. The distinction from Pattern 5 is that the vendor has done the integration work.

Best fit: teams using a non-Stripe PSP that is on the platform's supported list, and multi-region teams running different PSPs in different markets.

Benefits: no PSP migration if your provider is supported. Trade-offs: constrained to the supported list; adding a new PSP means waiting on the vendor. Setup complexity is low to medium.

PlatformArchitectureNative PSP support
LagoInvoice-basedStripe, Adyen, GoCardless natively; community connectors for Cashfree and Moneyhash
FlexpriceHybrid (invoice-based primary, wallet option)Stripe and Razorpay confirmed natively

Pattern 4: Fully managed and tightly bundled

The billing platform and payment processing are a single product. You do not bring a PSP. The platform handles everything end to end.

Stripe Billing is the clearest example. Subscription-first with metered add-ons; billing logic and Stripe Payments are inseparable. You do not configure a PSP; you are inside one. Fortune reported Stripe Billing reached a $500M annual run-rate as of February 2025.

Stripe completed its acquisition of Metronome in January 2026. For teams choosing Pattern 4, this means Stripe now owns both subscription-first billing and a leading invoice-based UBB platform. What used to be two distinct vendor decisions is now one ecosystem commitment.

Best fit: single-region teams whose entire stack is already on the bundled platform, and teams that want a single dashboard for billing and payments. Benefits: lowest setup complexity on day one, unified billing and payment data. Trade-offs: switching any part later means migrating everything; no PSP optionality; no real-time architecture available natively.

PlatformArchitectureNotes
Stripe BillingSubscription-first with metered add-ons$500M annual run-rate; fully bundled with Stripe Payments
MetronomeInvoice-basedIn Stripe ecosystem since January 14, 2026

Pattern 5: Modular or hybrid stack

You run two or more billing systems, each handling a different part of your billing model. A typical setup pairs Stripe Billing for traditional subscription revenue with a real-time billing platform for AI usage. Each system handles what it is built for; a lightweight integration layer keeps customer records and billing data aligned.

This is also the default path for teams whose PSP is not natively supported anywhere (Pattern 3 unavailable) and who do not want to migrate payments (Patterns 1 and 2 ruled out).

Best fit: teams with existing subscription billing that works and do not want to migrate it, but need real-time usage billing on top. Common at seed to Series A, where a Stripe subscription is already live and the team is adding AI features with per-request costs.

Benefits: no migration of existing infrastructure; each system does what it is optimized for; maximum PSP flexibility. Trade-offs: two systems to operate; some development to align customer identifiers; the team owns the PSP integration when no native connector exists.

PlatformArchitectureNotes
Credyt + Stripe BillingReal-time UBB + subscription-firstPrimary documented setup for this pattern
StiggReal-time orchestration; settles via the connected billing systemSits above Stripe, Chargebee, or Zuora

How to choose the right PSP integration pattern

The right pattern depends on four questions, in this order.

  1. Are you setting up payments from scratch, or do you have existing infrastructure you want to keep? Pre-launch teams have all five patterns open to them. Teams with existing infrastructure rule out Pattern 4 unless they are willing to consolidate everything onto a bundled stack.
  2. Is your PSP Stripe, or something else? If Stripe, all five patterns work. If Adyen, PayPal, Checkout.com, GoCardless, or another PSP, options narrow to Pattern 3 (when your provider is natively supported) or Pattern 5 (when you build the integration).
  3. Do you need to be live in hours or days, or do you have engineering bandwidth for a longer integration? Patterns 2 and 4 have the lowest setup complexity. Pattern 1 is medium. Pattern 5 ranges from medium to high.
  4. Is real-time billing a requirement, or is end-of-month invoicing acceptable? Real-time is required when per-request infrastructure costs are significant, when a single session can consume meaningful value, or when post-hoc invoicing creates unacceptable financial exposure. AI-native products almost always need real-time billing; B2B-with-AI-features can often live with invoice-based.

The right question is not "Stripe or not Stripe." It is "which pattern matches the PSP I already have and the billing guarantees my product needs."

When the five-pattern framework does not apply

The five-pattern framework assumes the reader retains control of the customer payment relationship. Two structural exceptions break that assumption.

Merchant-of-Record-only stacks. MoR platforms like Paddle and Lemon Squeezy absorb the entire payment relationship. An AI company using Paddle as its MoR has no PSP integration decision to make for its core payments because Paddle is the merchant of record. Adding usage-based billing to an MoR-first stack typically pushes the team toward Pattern 5, but the framework is not the right starting point.

Pre-launch teams over-thinking the choice. With zero revenue, the right move is the lowest-friction pattern that gets you shipping; iterate when the constraint is real. Default to Pattern 2 if Stripe is fine, Pattern 1 if you want immediate Stripe dashboard control, and revisit when revenue and product constraints make the trade-offs concrete.

PSP integration patterns determine what billing your product can support

PSP integration patterns are not architecture trivia. They determine setup time, lock-in, and whether real-time billing is on the table at all.

Pattern selection narrows the platform shortlist more than feature comparison does. A team on Razorpay running a real-time AI workload should not be reading a Stripe Billing vs Metronome comparison — they should be looking at Pattern 3 vendors that natively support Razorpay, or accepting they will be in Pattern 5. Conversely, a team on Stripe with a predictable B2B SaaS product probably should not be over-engineering with Pattern 5 when Pattern 1 or Pattern 4 fits cleanly.


Stay updated

Monthly updates on AI billing platform changes, pricing updates, and new comparisons.

No spam. Unsubscribe anytime.