iAP 家庭账户有哪些情况

Asked on 2026-03-23

1 search

In the context of In-App Purchases (iAP) and family accounts, Apple has introduced several features and improvements to manage transactions effectively. Here are some key points related to family accounts:

  1. App Transaction ID: Each family member gets a unique App Transaction ID when they download an app. This ID is static for a given Apple account and app across redownloads, refunds, repurchases, or storefront changes. It is also included with any In-App purchases made by the customer within your app. This provides greater flexibility in associating customer accounts to App Store transactions.

  2. Family Sharing: If your app supports family sharing, the App Transaction ID can be used for family shared transactions. It simplifies managing In-App purchases and associating them with customer accounts on your server.

  3. App Account Token: The App Account Token is useful to associate a customer's account information with their In-App purchase. However, it is not available for Family Shared transactions.

These features are part of the updates to the App Store server APIs and StoreKit, which aim to enhance the management of In-App purchases and customer accounts, especially in scenarios involving family sharing. For more detailed information, you can refer to the session titled "Dive into App Store server APIs for In-App Purchase" from WWDC 2025.

Dive into App Store server APIs for In-App Purchase

Dive into App Store server APIs for In-App Purchase

Discover the latest updates for the App Store Server API, App Store Server Notifications, and App Store Server Library to help manage customer purchase data directly on your server and deliver great In-App Purchase experiences. We’ll cover updates to appAccountToken and signature signing, new fields in signed transaction and renewal info, and new APIs. Then, we’ll show how to generate a promotional offer signature on your server, and how to use the Send Consumption Information endpoint.

What’s new in StoreKit and In-App Purchase

What’s new in StoreKit and In-App Purchase

Learn about the latest StoreKit API enhancements to help you deliver great In-App Purchase experiences to your customers. We’ll review new fields added to AppTransaction, Transaction, and RenewalInfo, and updates to In-App Purchase offer codes. We’ll also cover creating signed In-App Purchase requests using the App Store Server Library and updates to merchandising subscriptions using SwiftUI.

Explore App Store server APIs for In-App Purchase

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.