---
title: externalPurchaseId
framework: appstoreservernotifications
role: symbol
role_heading: Type
path: appstoreservernotifications/externalpurchaseid
---

# externalPurchaseId

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

## Declaration

```data
string externalPurchaseId
```

## Mentioned in

App Store Server Notifications changelog

## Discussion

Discussion The externalPurchaseId is the field of an externalPurchaseToken that uniquely identifies the token.

## See Also

### External purchase token fields

- [tokenCreationDate](appstoreservernotifications/tokencreationdate.md)
- [tokenExpirationDate](appstoreservernotifications/tokenexpirationdate.md)
- [tokenType](appstoreservernotifications/tokentype.md)
