offer codes

Asked on 06/11/2025

1 search

Offer codes are a feature in StoreKit that allow developers to provide subscriptions at a discount or for free for a specific duration. These alphanumeric codes can be redeemed by customers in the App Store using one-time redemption URLs or directly within your app if you implement the Offer Code Redemption StoreKit APIs. Offer codes are now available for consumables, non-consumables, and non-renewing subscriptions, and they can be redeemed back to iOS 16.3. For Auto Renewable subscriptions, offer codes can be redeemed all the way back to iOS 14.2.

To support offer code redemptions for product types other than Auto Renewable subscriptions, a new payment mode on the Transaction Offer payment mode type has been introduced. This describes how the customer is charged or not charged during the offer period.

In the session What’s new in StoreKit and In-App Purchase, offer codes are discussed in detail, including their availability and how they can be implemented in your app. Additionally, the session What’s new in App Store Connect covers how you can generate offer codes in the Sandbox testing environment and manage them through App Store Connect.

offer codes | Ask WWDC