Framework

StoreKit

Support In-App Purchases and interactions with the App Store.

iOS 3.0+iPadOS 3.0+Mac Catalyst 13.0+macOS 10.7+tvOS 9.0+visionOS 1.0+watchOS 6.2+

Overview

Use the StoreKit framework to provide the following features and services for your apps and In-App Purchases:

In-App Purchase

Offer and promote In-App Purchases for content and services.

App transaction

Verify a customer’s app purchase with an App Store-signed transaction.

Messages

Control the display of App Store messages in your app.

Reviews

Request App Store reviews and ratings from your customers.

Recommendations

Provide recommendations for third-party content that customers can purchase from the App Store.

Ad network attribution

Validate advertisement-driven app installations. See AdAttributionKit for app ad campaigns on the App Store and alternative marketplaces.

The StoreKit framework also provides functionality for External Purchase, External link account, PaymentMethodBinding, and StoreDownloaderExtension.

See Also

StoreKit Test

Create and automate tests in Xcode for your app’s subscription and in-app purchase transactions, and SKAdNetwork implementations.

App Store Server Notifications

Monitor In-App Purchase events in real time and learn of unreported external purchase tokens, with server notifications from the App Store.

App Store Connect API

Automate the tasks you perform on the Apple Developer website and in App Store Connect.

Advanced Commerce API

Support In-App Purchases through the App Store for exceptionally large catalogs of custom one-time purchases, subscriptions, and subscriptions with optional add-ons.

Current page is StoreKit