---
title: isEligible
framework: storekit
role: symbol
role_heading: Type Property
path: storekit/externalpurchasecustomlink/iseligible
---

# isEligible

A Boolean value that indicates at runtime whether the app can use this API for external purchases.

## Declaration

```swift
static var isEligible: Bool { get async }
```

## Mentioned in

Testing transactions that use custom link tokens

## Discussion

Discussion Check this value if your app configures any of the following entitlements: com.apple.developer.storekit.custom-purchase-link.allowed-regions com.apple.developer.storekit.external-purchase-link com.apple.developer.storekit.external-purchase-link-streaming If isEligible is true, your app can use the ExternalPurchaseCustomLink API. This value is true if all the following conditions are met: The current App Store storefront allows external purchases and the person can make purchases. Your app configures any of the entitlements listed above. Your app configures the current App Store storefront in the property list key associated with the entitlement, SKExternalPurchaseCustomLinkRegions or SKExternalPurchaseLinkStreamingRegions, or has an entitlement that includes the current App Store storefront. If isEligible is false, don’t use the ExternalPurchaseCustomLink API. The methods of the ExternalPurchaseCustomLink API throw errors at runtime when isEligible is false.
