StoreKit 2 is part of iOS 15 and other platforms.
StoreKit 2. StoreKit 2 introduces powerful new Swift-based APIs that make supporting in-app purchases and subscriptions easier than ever. You can now easily determine product entitlements and eligibility for offers, quickly get a user’s history of in-app purchases, find out the latest status of a subscription with one simple check, provide a way to request refunds and manage subscriptions from within your app, and more. StoreKit 2 also uses Swift concurrency and JSON Web Signature to simplify how you retrieve product information and handle transactions. Available on iOS 15, iPadOS 15, tvOS 15, and watchOS 8.Apple Developer
App Store Server API. Support users and resolve in-app purchase issues more quickly with new App Store Server API now available in production.
- In-App Purchase History. Get a user’s history of in-app purchases
- Subscription Status. Determine whether a subscription is active, expired, in billing retry, or in billing grace period.
App Store server notifications. Coming soon. Get real-time updates on your in-app purchases, so you can create customized experiences for your users. You can now take advantage of new notification types that cover more user events, including subscription expirations, offer redemptions, refunds, and more. You can also enter an optional URL in App Store Connect to receive server notifications in the App Store sandbox environment, separate from the URL that you use for production.