Contents

External Purchase

Enable qualifying apps to offer external purchases.

Overview

The External Purchase APIs allow qualifying apps to implement external purchases. External purchases allow customers to complete purchases:

  • within the app, using an alternative payment service provider

  • outside of the app, after linking-out of the app

If you develop a qualifying app, you may complete a request for optional entitlements that allow you to offer external purchases. For more information about whether your app qualifies, requesting an entitlement, and implementation requirements, see:

Use the API based on the entitlements your app receives and the regions where your app runs.

Implement external purchases using alternative payment service providers in the European Union (EU) and South Korea

If your account receives the StoreKit External Purchase entitlement or the StoreKit External Purchase Regions entitlement, implement the following to offer external purchases within your app:

Implement external purchase for apps available in the EU

If your account receives the StoreKit External Purchase Link entitlement or the StoreKit External Custom Purchase Link Regions entitlement, in the EU your app can use the ExternalPurchaseCustomLink API to implement external purchases. To use this API, complete the following steps:

Implement external purchase for apps available in Japan

If your account receives the StoreKit External Custom Purchase Link Regions entitlement, in Japan your app can use the ExternalPurchaseCustomLink API to implement external purchases starting in iOS 26.2. To use this API, complete the following steps:

Implement external purchase for music streaming apps in the European Economic Area (EEA)

If your account receives the Music Streaming Services EEA entitlement, your music-streaming app can use the ExternalPurchaseCustomLink API to implement external purchases. To use this API, complete the following steps:

If your account receives the StoreKit External Purchase Link entitlement or the StoreKit External Purchase Link Regions entitlement, in the EEA and Russia you can implement the following to offer multiple external purchase links:

If your account receives the StoreKit External Purchase Link entitlement or the StoreKit External Purchase Link Regions entitlement, implement the following to offer a single external purchase link for each country code:

Your app may configure both the SKExternalPurchaseLink and SKExternalPurchaseMultiLink property list keys.

Record and report external purchase tokens and associated transactions

An external purchase token is a unique string that your app or website receives when your app’s customer chooses to view your external purchase offerings. Record all tokens in your system and report them and their associated transactions using the External Purchase Server API. For more information about tokens, see Receiving and decoding external purchase tokens.

Check API availability

The External Purchase APIs, including ExternalPurchaseLink, ExternalPurchase, and ExternalPurchaseCustomLink provide external purchase tokens that you use to report transactions to Apple:

  • ExternalPurchaseLink and ExternalPurchase are available starting in iOS 17.4, iPadOS 17.4, macOS 14.4, Mac Catalyst 17.4, tvOS 17.4, visionOS 1.1, and watchOS 10.4.

  • ExternalPurchaseCustomLink is available starting in iOS 18.1, iPadOS 18.1, Mac Catalyst 18.1, and macOS 15.1; for use in Japan, it’s available starting in iOS 26.2, with token(for:) available starting in iOS 26.4.

For apps that run on iOS 15.4 through 17.3 and iPadOS 15.4 through 17.3, the External Purchase APIs have the following behavior:

  • ExternalPurchase and ExternalPurchaseLink APIs throw errors or return false for compatible iPad or iPhone apps running in visionOS, on a Mac with Apple silicon, or on a Mac app built with Mac Catalyst.

  • The APIs don’t provide external purchase tokens.

  • The APIs are available in iOS and iPadOS only.

Topics

Managing external purchase tokens

Implementing alternative payment service providers in the EU and South Korea

Implementing external purchases in the EU

Implementing external purchases in Japan

Implementing external purchases for music streaming services in the EU

Implementing single and multiple external purchase links in the European Economic Area (EEA) and Russia