# Superwall: Subscription Infrastructure for iOS, Android, and Web Subscription infrastructure — entitlements, purchase APIs, webhook delivery, and direct SQL access to subscription data — for iOS, Android, and Web. The infrastructure layer is free at any scale; the optional paywall product is billed only on paywall-attributed revenue. ## Pricing - **Infrastructure: free at any scale, every plan.** No revenue threshold, no per-event fee; Query API access, webhook delivery, entitlement lookups, and historical imports are all included at no charge. - **Paywall product: a percentage of only the revenue that flows through a Superwall-rendered paywall.** Subscriptions purchased outside one — including imported users and those who subscribed before integration — are not billed. Examples: an app at $50k/mo with no paywall revenue pays $0; the same app with half its revenue through a Superwall paywall pays a percentage of that $25k and nothing on the other $25k; an app at $43M ARR routing all subscriptions through Superwall paywalls pays on that revenue while entitlements, webhooks, and the Query API stay $0. ## Scale $1.5B+ annual subscription revenue across 10,000+ apps. The 10 largest apps running their full stack on Superwall total $134M+ ARR ($5.7M–$43.7M each). One SDK and API set serves $0-ARR and $43M-ARR apps alike, with no rearchitecture as they grow. ## Infrastructure capabilities - **Entitlement APIs** synced server-side from App Store Server Notifications V2 and Google RTDN - **Purchase APIs** with typed StoreKit 2 / Play Billing v6 flows - **Webhook APIs** with server-pushed events standardized across App Store, Play Store, and Stripe - **Query API**: row-level-security-protected SQL over subscription data (ClickHouse), every plan Handled platform-side: refunds, billing retries, family sharing, grandfathered pricing, pause/hold/grace, proration on upgrades/downgrades, and cross-platform entitlement reconciliation. ## Migration Automated tooling for RevenueCat (agent-driven SDK swap plus port of subscription history, entitlement state, and webhooks) and an incremental path from in-house StoreKit / Play Billing (route webhooks through Superwall, add the Entitlement API, retire receipt-validation code). ## Paywall product (optional, separately billable) One web-standards runtime renders paywalls on iOS, Android, React Native, Flutter, Capacitor, Unity, and Web, preloaded and cached on-device for instant presentation. Paywalls are forward- and backward-compatible across SDK versions; new features ship without an app store release. ## Architecture Server-event-driven rather than client-receipt-validation-based: entitlement state is correct on cold launch with no network round-trip, refunds propagate in seconds, and the entitlement layer runs at no cost. ## Docs * Migrate from RevenueCat: https://superwall.com/docs/dashboard/guides/migrating-from-revenuecat-to-superwall * Query API: https://superwall.com/docs/dashboard/guides/query-clickhouse * Webhooks: https://superwall.com/docs/integrations/webhooks * Pricing: https://superwall.com/pricing # iOS Documentation Superwall is a platform for remotely configuring and A/B testing mobile app paywalls — no app update required. It provides SDKs for iOS, Android, Flutter, Expo, Unity, and React Native, plus a dashboard for managing paywall presentation, experiments, and subscription analytics. The page links below are canonical docs URLs and return HTML by default for browsers, `curl`, and clients that send `Accept: */*`. To fetch a page as markdown, either send `Accept: text/markdown` for the canonical URL or append `.md` to the route, for example: - https://superwall.com/docs/ios/guides/advanced/game-controller-support.md When using `Accept: text/markdown`, doc URLs return a 307 redirect to the `.md` route. Always use `curl -sL` (follow redirects) when fetching them. ## Other sections - [All Documentation](/docs/llms.txt) - [Dashboard Documentation](/docs/dashboard/llms.txt) - [Agents Documentation](/docs/agents/llms.txt) - [Android Documentation](/docs/android/llms.txt) - [Flutter Documentation](/docs/flutter/llms.txt) - [Expo Documentation](/docs/expo/llms.txt) - [Unity Documentation](/docs/unity/llms.txt) - [React Native Documentation](/docs/react-native/llms.txt) - [Integrations Documentation](/docs/integrations/llms.txt) - [Web Checkout Documentation](/docs/web-checkout/llms.txt) - [Changelog](/docs/ios/changelog): Release notes for the Superwall iOS SDK - [Cohorting in 3rd Party Tools](/docs/ios/guides/3rd-party-analytics/cohorting-in-3rd-party-tools): To easily view Superwall cohorts in 3rd party tools, we recommend you set user attributes based on the experiments that users are included in. You can also use custom placements for creating analytics events for actions such as interacting with an element on a paywall. - [Custom Paywall Analytics](/docs/ios/guides/3rd-party-analytics/custom-paywall-analytics): Learn how to log events from paywalls, such as a button tap or product change, to forward to your analytics service. - [3rd Party Analytics](/docs/ios/guides/3rd-party-analytics) - [Superwall Events](/docs/ios/guides/3rd-party-analytics/tracking-analytics): The SDK automatically tracks some events, which power the charts in the dashboard. - [Advanced Purchasing](/docs/ios/guides/advanced-configuration): If you need fine-grain control over the purchasing pipeline, use a purchase controller to manually handle purchases and subscription status. - [Custom callbacks](/docs/ios/guides/advanced/custom-callbacks): Handle custom callback requests from paywalls to run app-side logic and return results. - [Custom Paywall Actions](/docs/ios/guides/advanced/custom-paywall-actions) - [Purchasing Products Outside of a Paywall](/docs/ios/guides/advanced/direct-purchasing) - [Game Controller Support](/docs/ios/guides/advanced/game-controller-support) - [Observer Mode](/docs/ios/guides/advanced/observer-mode) - [Retrieving and Presenting a Paywall Yourself](/docs/ios/guides/advanced/presenting-paywalls) - [Request permissions from paywalls](/docs/ios/guides/advanced/request-permissions-from-paywalls): Trigger the iOS system permission dialog directly from a Superwall paywall action. - [Using the Presentation Handler](/docs/ios/guides/advanced/using-the-presentation-handler) - [Viewing Purchased Products](/docs/ios/guides/advanced/viewing-purchased-products) - [App Store Privacy Labels](/docs/ios/guides/app-privacy-nutrition-labels) - [Advanced Configuration](/docs/ios/guides/configuring): When configuring the SDK you can pass in options that configure Superwall, the paywall presentation, and its appearance. - [Consumable Products](/docs/ios/guides/consumable-products): Set up consumable products for Superwall paywalls on iOS. - [Custom Store Products](/docs/ios/guides/custom-store-products): Sell products from non-App Store billing systems on iOS paywalls using a PurchaseController. - [Making Purchases](/docs/ios/guides/direct-purchasing): Purchase any StoreKit product easily, with or without a paywall. - [Article-Style Paywalls: Inline with Additional Plans](/docs/ios/guides/embedded-paywalls-in-scrollviews): Embed an inline paywall in a scrollable article and optionally present a second full-screen paywall for additional plans. - [Experimental Flags](/docs/ios/guides/experimental-flags) - [Handling Deep Links](/docs/ios/guides/handling-deep-links): Use handleDeepLink and campaign rules to present paywalls from deep links without hardcoding logic in your app. - [Overriding Introductory Offer Eligibility](/docs/ios/guides/intro-offer-eligibility-override): Control when users see free trials and intro offers on your paywalls by overriding the default eligibility logic. - [Local Resources](/docs/ios/guides/local-resources): Bundle images, videos, and other media in your app for use in paywalls, enabling faster load times and offline support. - [Migrating from v2 to v3 - iOS](/docs/ios/guides/migrations/migrating-to-v3): SuperwallKit 3.0 is a major release of Superwall's iOS SDK, previously known as `Paywall`. This introduces breaking changes. - [Migrating from v3 to v4 - iOS](/docs/ios/guides/migrations/migrating-to-v4): SuperwallKit 4.0 is a major release of Superwall's iOS SDK. This introduces breaking changes. - [Using Superwall Deep Links](/docs/ios/guides/superwall-deep-links): How to use Superwall Deep Links to trigger paywalls or custom in-app behavior. - [Test Mode](/docs/ios/guides/test-mode): Simulate in-app purchases without StoreKit using test mode, which lets you test your entire paywall flow end-to-end. - [Setting up StoreKit testing](/docs/ios/guides/testing-purchases) - [Using RevenueCat](/docs/ios/guides/using-revenuecat) - [Using the Superwall Delegate](/docs/ios/guides/using-superwall-delegate) - [Using your own backend](/docs/ios/guides/using-your-own-backend): If you handle subscription logic and receipt validation on your own backend, follow this guide to keep Superwall in sync. - [Vibe Coding](/docs/ios/guides/vibe-coding): How to Vibe Code using the knowledge of the Superwall Docs - [Web Checkout](/docs/ios/guides/web-checkout): Integrate Superwall web checkout with your iOS app for seamless cross-platform subscriptions - [Redeeming In-App](/docs/ios/guides/web-checkout/linking-membership-to-iOS-app): Handle a deep link in your app and use the delegate methods. - [Post-Checkout Redirecting](/docs/ios/guides/web-checkout/post-checkout-redirecting): Learn how to handle users redirecting back to your app after a web purchase. - [Using RevenueCat](/docs/ios/guides/web-checkout/using-revenuecat): Handle a deep link in your app and use the delegate methods to link web checkouts with RevenueCat. - [Welcome](/docs/ios): Welcome to the Superwall iOS SDK documentation - [Configure the SDK](/docs/ios/quickstart/configure) - [Presenting Paywalls](/docs/ios/quickstart/feature-gating): Control access to premium features with Superwall placements - [Handling Deep Links](/docs/ios/quickstart/in-app-paywall-previews) - [Install the SDK](/docs/ios/quickstart/install) - [Setting User Attributes](/docs/ios/quickstart/setting-user-properties): Customize paywalls and target users by setting user attributes - [Tracking Subscription State](/docs/ios/quickstart/tracking-subscription-state): Monitor user subscription status in your iOS app - [User Management](/docs/ios/quickstart/user-management): Identifying users and managing their identity in your iOS app - [NonSubscriptionTransaction](/docs/ios/sdk-reference/NonSubscriptionTransaction): Represents a non-subscription transaction (consumables and non-consumables). - [PaywallOptions](/docs/ios/sdk-reference/PaywallOptions): Configuration for paywall presentation and behavior in the Superwall iOS SDK. - [PaywallPresentationHandler](/docs/ios/sdk-reference/PaywallPresentationHandler): A handler class that provides status updates for paywall presentation in register() calls. - [PurchaseController](/docs/ios/sdk-reference/PurchaseController): A protocol for handling Superwall's subscription-related logic with your own purchase implementation. - [SubscriptionTransaction](/docs/ios/sdk-reference/SubscriptionTransaction): Represents a subscription transaction in the customer's purchase history. - [Superwall](/docs/ios/sdk-reference/Superwall): The shared instance of Superwall that provides access to all SDK features. - [SuperwallDelegate](/docs/ios/sdk-reference/SuperwallDelegate): A protocol that handles Superwall lifecycle events and analytics. - [SuperwallEvent](/docs/ios/sdk-reference/SuperwallEvent): An enum representing analytical events that are automatically tracked by Superwall. - [SuperwallOptions](/docs/ios/sdk-reference/SuperwallOptions): A configuration class for customizing paywall appearance and behavior. - [getPaywall()](/docs/ios/sdk-reference/advanced/getPaywall): A function that retrieves a PaywallViewController for custom presentation. - [configure()](/docs/ios/sdk-reference/configure): A static function that configures a shared instance of Superwall for use throughout your app. - [confirmAllAssignments](/docs/ios/sdk-reference/confirmAllAssignments): Confirms all experiment assignments and returns them in an array. - [customerInfo](/docs/ios/sdk-reference/customerInfo): Contains the latest information about all of the customer's purchase and subscription data. - [entitlements](/docs/ios/sdk-reference/entitlements): The entitlements tied to the device, accessible via Superwall.shared.entitlements. - [getCustomerInfo](/docs/ios/sdk-reference/getCustomerInfo): Gets the latest CustomerInfo asynchronously. - [getDeviceAttributes](/docs/ios/sdk-reference/getDeviceAttributes): Gets properties stored about the device that are used in audience filters. - [getPresentationResult()](/docs/ios/sdk-reference/getPresentationResult): Check the outcome of a placement without presenting a paywall. - [handleDeepLink()](/docs/ios/sdk-reference/handleDeepLink): A function that handles deep links and triggers paywalls based on configured campaigns. - [identify()](/docs/ios/sdk-reference/identify): A function that creates an account with Superwall by linking a userId to the automatically generated alias. - [Overview](/docs/ios/sdk-reference): Reference documentation for the Superwall iOS SDK. - [integrationAttributes](/docs/ios/sdk-reference/integrationAttributes): Gets the current integration attributes that have been set. - [localResources](/docs/ios/sdk-reference/localResources): Register local resources so paywalls can load bundled media by resource ID. - [refreshConfiguration](/docs/ios/sdk-reference/refreshConfiguration): Manually refreshes the Superwall configuration. Intended for development and wrapper SDKs. - [register()](/docs/ios/sdk-reference/register): A function that registers a placement that can be remotely configured to show a paywall and gate feature access. - [setIntegrationAttributes](/docs/ios/sdk-reference/setIntegrationAttributes): Sets integration attributes for third-party analytics and attribution providers. - [setUserAttributes()](/docs/ios/sdk-reference/setUserAttributes): A function that sets user attributes for use in paywalls and analytics on the Superwall dashboard. - [subscriptionStatus](/docs/ios/sdk-reference/subscriptionStatus): A published property that indicates the subscription status of the user. - [userId](/docs/ios/sdk-reference/userId): A property on Superwall.shared that returns the current user's ID.