Tell about new contracts api
Generated on 8/8/2024
1 search
The new Contracts API was not specifically mentioned in the provided context. However, there were several updates related to in-app purchases and StoreKit that might be of interest:
-
One Time Charge Notification: A new notification type for one-time purchases of in-app products, which helps track every single in-app purchase made in your app (Explore App Store server APIs for In-App Purchase).
-
Get Transaction History v2: The updated endpoint now returns all transactions, including consumable transactions that are refunded, revoked, or unfinished on the device (Explore App Store server APIs for In-App Purchase).
-
Subscription Offers: New fields like price, currency, and offer discount type have been added to the transaction data to help with promotional offers (Explore App Store server APIs for In-App Purchase).
-
Winback Offers: A new type of subscription offer designed to help recover churned subscribers, which can be customized and promoted through the App Store (Implement App Store Offers).
For more detailed information, you can refer to the sessions:
What’s new in StoreKit and In-App Purchase
Learn how to build and deliver even better purchase experiences using the App Store In-App Purchase system. We’ll demo new StoreKit views control styles and new APIs to improve your subscription customization, discuss new fields for transaction-level information, and explore new testability in Xcode. We’ll also review an important StoreKit deprecation.
Implement App Store Offers
Learn how to engage customers with App Store Offers using App Store Connect, as well as the latest StoreKit features and APIs. Discover how you can set up win-back offers (a new way to re-engage previous subscribers) and generate offer codes for Mac apps. And find out how to test offers in sandbox and Xcode to make sure they work smoothly.
Explore App Store server APIs for In-App Purchase
Learn how to leverage your server to build great In-App Purchase experiences with the latest updates to the App Store Server API, App Store Server Notifications, and the open source App Store Server Library. After a recap of current APIs, we’ll introduce updated endpoint functionality, new transaction fields, and a new notification type. We’ll also discuss best practices for the purchase lifecycle, delivering content, and targeting offers, so you can become a server power user.