<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 8.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "StoreKit",
  "identifier" : "/documentation/StoreKit/Transaction/appAccountToken",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "StoreKit"
    ],
    "preciseIdentifier" : "s:8StoreKit11TransactionV15appAccountToken10Foundation4UUIDVSgvp"
  },
  "title" : "appAccountToken"
}
-->

# appAccountToken

A UUID that associates the transaction with a user on your own service.

```
let appAccountToken: UUID?
```

## Discussion

You create an [`appAccountToken(_:)`](/documentation/StoreKit/Product/PurchaseOption/appAccountToken(_:)) and send it to the App Store when a customer initiates an in-app purchase. The App Store returns the same value in [`appAccountToken`](/documentation/StoreKit/Transaction/appAccountToken) in the transaction information after the customer completes the purchase.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)