Welcome
An overview of the Onside Payment SDK, designed for easy integration to help you monetize your apps with in-app purchases and subscriptions.
This documentation covers OnsideKit 3.0.1.
Monetize Your App with Ease
The Onside Payment SDK (OnsideKit) lets you integrate in-app purchases and subscriptions into your iOS app. It handles the entire payment flow — from product display to checkout — providing a secure experience for your users while keeping integration simple.
Currently supported payment methods: Apple Pay and bank cards. See Managing Payment Methods and Apple Pay.
Get Started
Follow these steps to integrate OnsideKit into your app:
2
Initialize OnsideKit, register your callback URL scheme, and forward incoming URLs for app-to-app login.
3
Understand the login flows — explicit, implicit (on-demand), and session management.
4
Fetch your product catalog, handle regional pricing, and display offerings to users.
5
Initiate purchases, process transactions, restore previous purchases, and validate on your backend.
Requirements
iOS 17.4 or later
Xcode 26 or later
Distributed as a binary
xcframeworkvia Swift Package Manager or as a manual download — see the Installation guide.
Designed for a Seamless Transition
OnsideKit is intentionally modeled on Apple's native StoreKit framework. If your team has experience with StoreKit, integration will feel familiar — the same delegate patterns, a similar queue-based transaction flow, and comparable product-request APIs. See Migrating from StoreKit for a side-by-side mapping.
Key Features
Familiar & easy integration: StoreKit-inspired API for a minimal learning curve.
Purchases & subscriptions: one unified flow for consumables, non-consumables, and auto-renewable subscriptions with a regular Onside account.
External accounts: use your app’s account identifier for external login; external profiles support consumable purchases through Apple Pay.
Apple Pay & bank cards: Apple Pay (full OnsideKit build) plus a built-in card-management UI.
Clear responses & error handling: informative value types and a unified set of typed errors — see the Error Reference.
Native, web, React Native & Unity: a native Swift API, a JavaScript bridge for
WKWebView-based apps, a React Native / Expo package, and a Unity package.Test without a backend: develop and QA the purchase flow offline with Local Testing and a
.storekitfile.
What You Can Do Now
You can start setting up your monetization strategy in the Onside Developer Console right away:
Set up in-app purchases
Related topics
These are the next docs most teams need after the core integration:
The Onside Delegate — theming, host window scene, login routing, and region hints
Attribution — install-attribution metadata
Building funnels with event tracking — track actions with
Onside.trackPurchase Validation — server-side verification with the Merchant API
OnsideKit Example App — a working reference project
Need More Help?
Last updated
Was this helpful?
