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

# externalPurchaseId

The field of an external purchase token that uniquely identifies the token.

```
string externalPurchaseId
```

## Discussion

The `externalPurchaseId` is the field of an [`externalPurchaseToken`](/documentation/AppStoreServerNotifications/externalPurchaseToken) that uniquely identifies the token.

---

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)