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
Related iOS SDKs
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+

