<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 11.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 3.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PassKit",
  "identifier" : "/documentation/PassKit/PKPaymentAuthorizationController/present(completion:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "PassKit (Apple Pay and Wallet)"
    ],
    "preciseIdentifier" : "c:objc(cs)PKPaymentAuthorizationController(im)presentWithCompletion:"
  },
  "title" : "present(completion:)"
}
-->

# present(completion:)

Presents the payment sheet modally over your app.

```
func present(completion: (@Sendable (Bool) -> Void)? = nil)
```

## Parameters

`completion`

A block that is called after the sheet is presented. This block is passed the following parameters:

- success: A Boolean value that indicates whether the payment sheet was successfully presented. <doc://com.apple.documentation/documentation/Swift/true> if the payment sheet was presented successfully; otherwise, <doc://com.apple.documentation/documentation/Swift/false>.

## Discussion

You are responsible for dismissing the payment sheet.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)