---
title: ExternalPurchaseCustomLink.Token
framework: storekit
role: symbol
role_heading: Structure
path: storekit/externalpurchasecustomlink/token
---

# ExternalPurchaseCustomLink.Token

A token you use with the External Purchase custom link API.

## Declaration

```swift
struct Token
```

## Overview

Overview StoreKit returns an external purchase token of this type when you call the token(for:) function. For more information, see Receiving and decoding external purchase tokens.

## Topics

### Getting the token value

- [value](storekit/externalpurchasecustomlink/token/value.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Implementing external purchases in the EU

- [ExternalPurchaseCustomLink](storekit/externalpurchasecustomlink.md)
- [com.apple.developer.storekit.custom-purchase-link.allowed-regions](bundleresources/entitlements/com.apple.developer.storekit.custom-purchase-link.allowed-regions.md)
- [com.apple.developer.storekit.external-purchase-link](bundleresources/entitlements/com.apple.developer.storekit.external-purchase-link.md)
- [SKExternalPurchaseCustomLinkRegions](bundleresources/information-property-list/skexternalpurchasecustomlinkregions.md)
- [Testing transactions that use custom link tokens](storekit/testing-transactions-that-use-custom-link-tokens.md)
