Contents

appTransactionID

The unique identifier of the app download transaction.

Declaration

@backDeployed(before: iOS 18.4, macOS 15.4, tvOS 18.4, watchOS 11.4, visionOS 2.4)
var appTransactionID: String { get }

Mentioned in

Discussion

The App Store generates a single, globally unique appTransactionID for each Apple Account that downloads your app and for each family group member for apps that support Family Sharing.

This value remains the same for the same Apple Account and app if the customer redownloads the app on any device, receives a refund, repurchases the app, or changes the storefront. For apps that support Family Sharing, the appTransactionID is unique for each family group member.

The appTransactionID is available even if a customer makes no in-app purchases.

The App Store server and StoreKit provide the appTransactionID in the following APIs: