---
title: "endAutomaticPassPresentationSuppression(withRequestToken:)"
framework: passkit
role: symbol
role_heading: Type Method
path: "passkit/pkpasslibrary/endautomaticpasspresentationsuppression(withrequesttoken:)"
---

# endAutomaticPassPresentationSuppression(withRequestToken:)

Reenables the automatic display of the Apple Pay interface.

## Declaration

```swift
class func endAutomaticPassPresentationSuppression(withRequestToken requestToken: PKSuppressionRequestToken)
```

## Parameters

- `requestToken`: The token you receive when you call the doc://com.apple.passkit/documentation/PassKit/PKPassLibrary method. If you pass in an invalid request token, the system ignores the end request.

## Discussion

Discussion This method reenables the automatic presentation of Apple Pay passes when the device detects a compatible reader.

## See Also

### Presenting and suppressing passes

- [present(_:)](passkit/pkpasslibrary/present(_:)-9467u.md)
- [isSuppressingAutomaticPassPresentation()](passkit/pkpasslibrary/issuppressingautomaticpasspresentation().md)
- [requestAutomaticPassPresentationSuppression(responseHandler:)](passkit/pkpasslibrary/requestautomaticpasspresentationsuppression(responsehandler:).md)
- [PKAutomaticPassPresentationSuppressionResult](passkit/pkautomaticpasspresentationsuppressionresult.md)
- [PKSuppressionRequestToken](passkit/pksuppressionrequesttoken.md)
