---
title: "ExternalPurchaseCustomLink.ExternalPurchaseType.outOfApp(destinationURL:)"
framework: StoreKit
role: symbol
role_heading: Case
platforms: [iOS 27.2+, iPadOS 27.2+, Mac Catalyst 27.2+, macOS 27.2+, tvOS 27.2+, visionOS 27.2+, watchOS 27.2+]
path: "storekit/externalpurchasecustomlink/externalpurchasetype/outofapp(destinationurl:)"
---

# ExternalPurchaseCustomLink.ExternalPurchaseType.outOfApp(destinationURL:)

The external purchase happens outside of the app.

## Declaration

```swift
case outOfApp(destinationURL: URL?)
```

## Discussion

Discussion note: This API requires the destinationURL parameter in all regions except the EU; omitting it in other regions throws an error.

## See Also

### External purchase types

- [ExternalPurchaseCustomLink.ExternalPurchaseType.withinApp](storekit/externalpurchasecustomlink/externalpurchasetype/withinapp.md)
