Skip to main content
The Whop iOS Checkout SDK lets you sell in-app purchases and subscriptions in your native iOS app. In the United States, it automatically uses Whop’s payment processing (2.7% + $0.30 versus Apple’s 15-30%). Elsewhere, it falls back to Apple’s StoreKit for global coverage.
The SDK is configured with a scoped iap:read API key that’s safe to ship in your app bundle. See Create an API key for setup.
Products and Variants are the current commerce resources. The iOS SDK still exposes compatibility symbols such as plans, CheckoutPlan, planMappings, and planId. Those symbols all refer to variants.

What you can build

Build a Paywall

Display subscription variants and handle purchases in your app

Check Entitlements

Verify subscription status and gate premium content
Whop also ships separate SDKs for embedded experiences:

Embedded Chat

Add Whop chat channels directly in your app

Wallet Elements

Show an account’s balances and activity with the Swift wallet elements

Quick example

Here’s a complete example showing the SDK in action:

Getting started

1

Install the SDK

Add the WhopCheckout package to your Xcode project via Swift Package Manager.Installation guide →
2

Get your API key

Create an API key with the iap:read permission in your Developer Settings. Why this is safe to embed →
3

Configure the SDK

Initialize the SDK with your account ID, API key, and variant mappings through the compatibility property planMappings on Checkout.shared.configure().
4

Build your paywall

Display variants and handle purchases. The SDK automatically uses Whop checkout in the US and StoreKit elsewhere.Build a paywall →

Reference

API Reference

Complete API documentation for all Checkout classes, methods, and types

Requirements

  • iOS 17.0+
  • Xcode 15.0+
  • Swift 5.10+