<!--
{
  "availability" : [
    "App Store Server Notifications: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppStoreServerNotifications",
  "identifier" : "/documentation/AppStoreServerNotifications/appAccountToken",
  "metadataVersion" : "0.1.0",
  "role" : "Type",
  "symbol" : {
    "kind" : "Type",
    "modules" : [
      "App Store Server Notifications"
    ],
    "preciseIdentifier" : "data:store_s2s:appAccountToken"
  },
  "title" : "appAccountToken"
}
-->

# appAccountToken

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

```
uuid appAccountToken
```

## Discussion

When a customer initiates an in-app purchase, your app may create an <doc://com.apple.documentation/documentation/StoreKit/Product/PurchaseOption/appAccountToken(_:)> and send it to the App Store. The App Store returns the same value in [`appAccountToken`](/documentation/AppStoreServerNotifications/appAccountToken) in the transaction information after the customer completes the purchase.

If you’re using the <doc://com.apple.documentation/documentation/StoreKit/original-api-for-in-app-purchase> and provide a UUID in the <doc://com.apple.documentation/documentation/StoreKit/SKMutablePayment/applicationUsername> property, then the [`appAccountToken`](/documentation/AppStoreServerNotifications/appAccountToken) field contains that value.

---

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)