26. Site & Project Monetisation Models
Monetise developer tools and SaaS platforms with Merchant of Record tax handling, subscription checkouts, paywalled feature gates, and usage metering.
import { Polar } from '@polar-sh/sdk';import { Resend } from 'resend';const polar = new Polar({ accessToken: process.env.POLAR_ACCESS_TOKEN });const resend = new Resend(process.env.RESEND_API_KEY);// Polar.sh Merchant of Record (MoR) automated subscription & checkout sessionexport async function createCheckout(customerEmail: string, productId: string) { const checkout = await polar.checkouts.custom.create({ productId, customerEmail, successUrl: 'https://web-engine26.pages.dev/success?session_id={CHECKOUT_ID}' }); return checkout.url;}Site & Project Monetisation Models
Monetising developer software tools, SaaS products, and open-source packages requires choosing between Merchant of Record platforms, direct payment gateways, and usage-based billing.
- Merchant of Record (MoR) vs Direct Gateway: An MoR (such as Polar.sh) acts as the legal reseller, assuming all worldwide tax liabilities (EU VAT, US sales tax) so developers don't have to register across dozens of jurisdictions.
- Tiered Pro Paywalls: Protect premium server endpoints and client features with cryptographic session entitlements.
- Usage Metering: Bill consumers precisely for compute or API calls using Redis atomic counters synced to billing webhooks.
Merchant of Record (Polar.sh / LemonSqueezy)
Provider: Polar.sh / LemonSqueezy
100% Automated (Global VAT, GST, Sales Tax handled by MoR)
Direct bank transfer / Stripe Connect
Solo developers, open-source creators selling Pro tiers or licences globally without corporate tax entities
Scale your serverless full-stack apps with sub-10ms query times and zero connection limits.
Sponsored by Neon • Context: typescript|svelteTargets page keywords without storing user profiles or cross-site tracking.
Unblocked by community ad blockers because it respects user privacy.
Discloses all data processors (Cloudflare, Polar, Neon) and retention windows.
Includes warranty disclaimers, limitation of liability, and IP copyright clauses.
Provides registered business address, contact email, and VAT ID where applicable.
Self-service account deletion and JSON profile data export buttons.
Published /.well-known/security.txt for vulnerability disclosure.