SDK 3.0
Bundled paywall SDK for the web, Chrome extensions and Telegram apps — with a headless /core export and a REST API for server-side use. Distributed as the npm package @monetize.software/sdk, rendered without an iframe inside a Shadow DOM, supports every payment channel (Stripe, Paddle, Chargebee, Freemius, Overpay).
Pick your integration path
Three scenarios, one SDK. Pick by how much UI you want to own and where your auth lives.
Not sure? Most integrations start with Browser — drop-in for fast time-to-paywall, then graduate to one of the other paths if needed. You can switch — the same paywallId works across all three.
Architecture
SDK 3.0 is split into three layers — pull only what you need, the rest stays out of your bundle.
| Module | Import | What it does | Used by |
|---|---|---|---|
| Core | @monetize.software/sdk/core | API client, BillingClient, AuthClient, EventTracker. No UI, no Preact. | Custom UI, Headless |
| UI | @monetize.software/sdk/ui | PaywallUI — paywall rendering in Shadow DOM, ready-made screens. | Drop-in PaywallUI |
| Full | @monetize.software/sdk | Core + UI in one import. Convenient for most integrations. | Either browser path |