Choose a subscription billing API by the work you want it to own. Stripe Billing suits teams building on Stripe; Chargebee and Recurly add a subscription-management layer; Paddle and Lemon Squeezy offer Merchant of Record products for approved digital businesses; Mollie provides mandate-based recurring collection for supported merchants. Start with your business country, pricing model and tax responsibilities, then compare the complete fee stack.
Try the interactive billing API comparison to select capabilities, business country and provider model, then share the result using its URL.
This guide compares six different approaches to recurring billing. Use the SaaS subscription provider directory to check seller-country options, or the Stripe alternatives comparison if replacing Stripe is the immediate goal.
Billing API vs recurring payments API: what is the difference?
A recurring payments API collects authorised repeat payments. A subscription billing API also manages the commercial agreement: products, prices, billing periods, invoices and changes. A billing engine API calculates what is owed from seats, usage, tiers or contract rules. Your application still decides which product features a customer may use.
These layers can be supplied together or separately. Stripe Payments and Stripe Billing are distinct products. A billing platform can connect to a payment gateway. A Merchant of Record becomes the seller for supported transactions under its agreement. Read Merchant of Record vs payment processor before comparing their headline fees.
Compare subscription billing APIs for SaaS
| Product / model | Billing workflow | Changes & recovery | Integration | Tax role / dependency |
|---|---|---|---|---|
| Stripe Billing · billing product | Subscriptions, seats and usage-based configurations | Proration and subscription recovery tooling | API, SDKs, webhooks and test environments; docs | Stripe Payments alone does not transfer the seller’s tax responsibility. |
| Chargebee · billing layer | Usage, seat-based and hybrid billing | Subscription changes; recovery features depend on configuration | Subscription API and connected gateways; plans | Choose a gateway and tax workflow; billing automation alone is not an MoR contract. |
| Recurly · subscription platform | Subscription plans and usage-based workflows | Dunning and subscription-lifecycle management | API plus payment-gateway integrations | Gateway and tax arrangements remain part of the stack. |
| Paddle Billing · MoR | Subscriptions for approved software and digital businesses | Subscription updates and payment recovery | Subscription API and webhooks | Paddle is MoR for supported sales; check product and seller approval. |
| Lemon Squeezy · MoR | Digital-product subscriptions | Check subscription settings and recovery configuration | API and signed event notifications | MoR for supported sales; subscription, international and payout additions matter. |
| Mollie · processor | Fixed-amount schedules or on-demand recurring charges | Mandates and method-specific retry behaviour | Customers, Mandates, Payments and Subscriptions APIs | Your business remains the seller; a valid mandate and enabled method are required. |
For an API evaluation, ask each vendor to demonstrate your actual plan change, failed renewal and cancellation in its test environment. A feature name does not establish support for every payment method or contract. Mollie’s recurring-payment documentation makes the mandate and payment-method requirements explicit.
What does a SaaS billing API actually cost?
| Product | Published pricing basis | What to add or verify |
|---|---|---|
| Stripe Billing | Pay-as-you-go: 0.7% of Billing volume | Payment processing is separate. US standard domestic cards: 2.9% + $0.30. Billing volume scope and contracted plans differ. |
| Chargebee | Flow: $0 + 0.80%, or $99/month + 0.65% | These are billing/invoicing-volume tariffs, not card-processing fees. Verify volume basis, gateway fees and selected add-ons. |
| Recurly | Request pricing | Ask for subscription-platform charges, gateway costs, recovery products and contract minimums in one quote. |
| Paddle | Standard: 5% + $0.50 per checkout transaction | Published payments, billing and MoR bundle; custom terms exist. Compare the responsibilities included. |
| Lemon Squeezy | Base 5% + $0.50; +0.5% for subscriptions | International and PayPal additions can apply, as can payout charges. Fee base includes total order value. |
| Mollie | Public tariffs by market and payment method | Use the merchant-market rate for the recurring method. Do not substitute a universal US-card quote. |
Example: 100 successful monthly renewals at $100 produce $10,000 in sales. With Stripe’s stated US domestic-card and Billing pay-as-you-go inputs, processing is $320.00 and Billing is $70.00: $390.00 combined, or 3.90%. Paddle’s standard checkout tariff gives $550.00, or 5.50%. Lemon Squeezy’s base plus subscription addition gives $600.00, or 6.00%, before other applicable additions. These arithmetic examples use the listed fee bases, no tax, and no FX; the products take on different responsibilities.
For your own volume, start with the payment fee calculator for checkout and platform processing models, then add subscription-billing charges from this table. The calculator does not automatically price a complete Stripe Billing or Chargebee stack. Use the tax-inclusive pricing calculator when the customer’s displayed price includes VAT or sales tax.
Practical scenario: a $29 SaaS subscription from checkout to cancellation
Consider a workspace product with a $29 monthly plan. The following is an application-design example using Stripe event names; other providers have their own events and subscription states. Keep the provider’s billing record separate from your application’s access record.
| Stage | Provider-side action / event | Your application’s action |
|---|---|---|
| 1. Create checkout | Create the customer and subscription checkout on the server. | Map your workspace ID to provider customer/subscription IDs; keep private API keys on the server. |
| 2. Confirm first payment | Handle invoice.paid and relevant subscription state. | Verify the current subscription before granting paid access. The browser success URL is not proof of payment. |
| 3. Renew | A later invoice.paid confirms a successful renewal. | Reconcile the paid period once; retain invoice and event IDs for support. |
| 4. Upgrade | Request a subscription update with an explicit proration policy. | Show the charge preview and apply entitlements according to the accepted billing change. |
| 5. Payment fails | Handle invoice.payment_failed; further action may be required. | Notify the customer and offer the payment-update flow. Apply your documented grace policy rather than treating every failure as cancellation. |
| 6. Cancel at period end | Record the requested cancellation and subsequent subscription state. | Keep access through the paid period when appropriate; revoke at the effective end, not at the first cancellation click. |
Stripe’s subscription-event guide explains invoice and subscription notifications. Paddle’s subscription API exposes a different lifecycle: map its documented states instead of copying Stripe event names into another integration.
Make webhooks safe to process more than once
Webhook delivery and your application’s database update are separate operations. A useful design is a small event inbox followed by a worker that reconciles the provider’s current record. Stripe documents signature verification, duplicate delivery, retries and event-ordering considerations in its webhook guide.
Example processing outline (provider-neutral pseudocode)
verify_signature(raw_request_body, request_headers)
validate_expected_account_and_live_or_test_mode()
persist_event_once(provider, event.id) // durable, unique key
return_success_after_durable_acceptance()
background_worker:
fetch_current_subscription_from_provider()
reconcile_paid_period_and_entitlements_in_one_transaction()
mark_event_processed_or_retry_on_failure()Choose the access policy yourself: trial access, a failed-payment grace window and paid-through cancellation are product decisions. Preserve enough state to explain why a workspace has access today. A refund, dispute or manual account suspension may require a separate policy, rather than being treated as an ordinary renewal.
What to test before choosing a billing engine API
- Repeated requests: the same checkout action must not create two billable subscriptions.
- Duplicate and delayed events: replay an event and deliver an older update after a newer one; verify the final access state.
- Plan changes: test a mid-cycle upgrade, downgrade, seat change and a failed proration payment.
- Usage: decide who measures, deduplicates and corrects late usage before invoices are finalised.
- Recovery: test an expired card, required authentication and the end of your grace period.
- Exit: confirm which customer, invoice, subscription and payment-method records can move.
The payment-provider portability guide covers exit planning. If you already use Stripe, work through the subscription migration checklist before cancelling the existing integration.
Questions about subscription billing APIs
Which API for billing should a small SaaS choose?
Start with the payment provider you can actually onboard with. Compare a billing product around your existing gateway with an MoR bundle, then implement one realistic subscription flow in a sandbox. Choose the option that covers your pricing model with the least operational work for your team.
Is a recurring payments API enough for subscription billing?
It may be enough for a fixed amount on a fixed schedule. Trials, seats, usage, credits, invoice corrections and plan changes introduce additional billing logic. Write down which system owns each calculation before adding a separate billing engine.
Does a billing API handle all my taxes?
Tax calculation, tax filing and becoming the seller of record are different services. Verify the agreement for the specific product. An MoR’s transaction-tax work also does not replace your company’s accounting and income-tax obligations.
Next: compare Stripe vs Paddle, explore recurring-billing providers, or build a five-provider shortlist from the payment provider directory.
Primary sources
- Stripe subscription overview ↗
- Stripe Billing pricing ↗
- Stripe Payments pricing ↗
- Stripe webhook integration ↗
- Stripe subscription events ↗
- Paddle subscriptions API ↗
- Paddle pricing ↗
- Paddle webhooks ↗
- Chargebee subscriptions API ↗
- Chargebee pricing ↗
- Recurly subscription billing ↗
- Recurly pricing ↗
- Lemon Squeezy fees ↗
- Mollie recurring payments ↗
- Mollie pricing ↗
Compare current provider profiles, country coverage and fees in the directory.
Explore providers


