# 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

# Surveys

Adding a paywall exit or post-purchase survey is a great way to boost conversion and get feedback on why users declined or purchased from your paywall. Once you've configured a survey, it can be attached to multiple paywalls. A user will only ever see a specific survey once unless you reset its responses.

To attach a survey to a paywall, edit one or manage existing surveys, **click** the **Survey** button found on the sidebar:

![](https://claude-centralize-agent-preamble-superwall-docs.staffbar.workers.dev/docs/images/overview-survey-sidebar.png)

Once selected, you'll see an overview of all of the surveys you've created:

![](https://claude-centralize-agent-preamble-superwall-docs.staffbar.workers.dev/docs/images/overview-survey-overview.png)

There are two types of surveys you can present:

* **Close Survey:** When a user declines to transact with a paywall or closes it.
* **Post-Purchase Survey:** When a user successfully transacts with a paywall.

No matter the type, each one is bound to present within the presentation percentages you set for it (more on that below).

> **Note:** Our surveys present using the native controls for the given platform (i.e. on iOS, a
> `UIActionSheet`).

### Creating a new survey or editing existing ones

To create a new survey, click the **+ New Survey** button:

![](https://claude-centralize-agent-preamble-superwall-docs.staffbar.workers.dev/docs/images/overview-survey-new.png)

If you already have existing surveys, **click*&#x2A; the **+ Add Survey** button located at the top-right to make another one.

The survey editor will appear, and here you can edit all of the data for existing ones, or change the default options for a new one:

![](https://claude-centralize-agent-preamble-superwall-docs.staffbar.workers.dev/docs/images/overview-survey-editor.png)

> **Note:** Superwall will provide sensible defaults for a new survey. If you're not quite sure what kind of
> questions to ask, the default options are a great place to start and will yield insightful data.

All of the edits you make will be reflected in the preview on the right-hand side.

**Title**<br />
The title of the survey, which will appear at the top.

**Message**<br />
The message displays below the title, and you can use it to provide more context about the survey.

**Response options**<br />
Each option you add here will be a response the user can choose. You'll see data about which one was selected once the survey is live. You can remove an option by using the trash icon on the right side of the text field. To add another option, **click** the **Add Option** button at the bottom of the existing options.

> **Note:** All survey options are shuffled for each user. This helps combat any ordering bias. However, the
> "Other" button will always appear last.

**Using the "Other" button**<br />
The "Other" button lets users type in a free text field. This is useful if users are willing to provide more context about why they declined (or purchased from) the paywall. If this is used, it will always display as the *last* option in the survey.

**Using the "Close" button**<br />
You can also provide a "Close" button. Here, the user can exit the survey without providing a response. If you omit it, the user can only dismiss the survey by choosing a response.

**Toggling presentation percentages**<br />
Use the percentage field to control how many users should receive the survey, from 0%-100%.

When you're done editing your survey, **click** the **Save** button at the top-right:

![](https://claude-centralize-agent-preamble-superwall-docs.staffbar.workers.dev/docs/images/overview-survey-dupe.png)

### Attach a survey to a paywall

Creating a survey *does not* mean it will start appearing. Instead, you choose which paywalls should present the survey. To attach a survey to a paywall, **click** the &#x2A;*Connect Paywall +** button in the bottom right of the survey editor:

![](https://claude-centralize-agent-preamble-superwall-docs.staffbar.workers.dev/docs/images/overview-survey-connect.png)

Then, in the modal that's presented, select the paywall you wish to attach it to:

![](https://claude-centralize-agent-preamble-superwall-docs.staffbar.workers.dev/docs/images/overview-survey-connect-paywall.png)

After you've selected a paywall, **click** the **Connect** button and you're all set. From there, each user will only see the survey **once** per paywall.

> **Tip:** You can also attach surveys from the paywall editor itself. This is also where you specify whether
> you want a close or post-purchase survey. Read how in this [doc](/docs/dashboard/dashboard-creating-paywalls/paywall-editor-surveys).

### Managing surveys

**Deleting surveys**<br />
To delete a survey, **click** the **Survey** button on the sidebar. Then, for the survey you wish to delete, click the **trashcan** icon:

![](https://claude-centralize-agent-preamble-superwall-docs.staffbar.workers.dev/docs/images/overview-survey-delete.png)

**Duplicating surveys**<br />
To duplicate a survey, **click** the **Duplicate** button at the top-right when inside the survey editor:

![](https://claude-centralize-agent-preamble-superwall-docs.staffbar.workers.dev/docs/images/overview-survey-dupe.png)

### Viewing survey stats and results

To see the results for any survey, click on one and then **click**
the **Stats** button at the top-right:

![](https://claude-centralize-agent-preamble-superwall-docs.staffbar.workers.dev/docs/images/overview-survey-dupe.png)

From there, you'll see the survey responses:

![](https://claude-centralize-agent-preamble-superwall-docs.staffbar.workers.dev/docs/images/overview-survey-stats.png)

**Viewing "Other" responses**<br />
If you've included the "Other" button in your survey, you can view the responses from users by **clicking*&#x2A; the &#x2A;*"View "Other" Responses"** button:

![](https://claude-centralize-agent-preamble-superwall-docs.staffbar.workers.dev/docs/images/overview-survey-other.png)

**Resetting survey stats**<br />
Finally, if you wish to reset the survey results, **click** the **Reset Responses** button underneath the results:

![](https://claude-centralize-agent-preamble-superwall-docs.staffbar.workers.dev/docs/images/overview-survey-reset.png)

> **Note:** Keep in mind that when you reset survey data, it also means that it will present to everyone once
> again (within your presentation percentages).

### Tip: showing a paywall based off of a survey response

One particularly useful technique to use with surveys is to show a paywall with a discounted price if the user indicated the pricing was too expensive in their response. You can easily do this using a [standard placement](/docs/dashboard/dashboard-campaigns/campaigns-standard-placements) — and we have a step-by-step guide on how to do exactly this right [here](/docs/dashboard/dashboard-campaigns/campaigns-standard-placements#using-the-survey-response-event).