<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PassKit",
  "identifier" : "/documentation/PassKit/PKAddPaymentPassViewController",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "PassKit (Apple Pay and Wallet)"
    ],
    "preciseIdentifier" : "c:objc(cs)PKAddPaymentPassViewController"
  },
  "title" : "PKAddPaymentPassViewController"
}
-->

# PKAddPaymentPassViewController

Displays an interface that lets users add cards to Apple Pay from within your app.

```
class PKAddPaymentPassViewController
```

## Overview> Important:
> Adding payment passes requires a special entitlement issued by Apple. Your app must include this entitlement before this class can be instantiated. For more information on requesting this entitlement, see the Card Issuers section at [developer.apple.com/apple-pay/](https://developer.apple.com/apple-pay/).

## Topics

### Determining if payment passes can be added

[`+  canAddPaymentPass`](/documentation/PassKit/PKAddPaymentPassViewController/canAddPaymentPass())

Returns a Boolean value that indicates whether the app can add cards to Apple Pay.

### Working with add payment view controllers

[`delegate`](/documentation/PassKit/PKAddPaymentPassViewController/delegate)

The object that acts as the delegate for the add payment view controller.

[`PKAddPaymentPassViewControllerDelegate`](/documentation/PassKit/PKAddPaymentPassViewControllerDelegate)

Methods that let the system prompt you for an add payment request, and inform you when a request has succeeded or failed.

### Creating an add-payment-pass view controller

[`-  initWithRequestConfiguration:delegate:`](/documentation/PassKit/PKAddPaymentPassViewController/init(requestConfiguration:delegate:))

Returns an initialized add payment view controller object, using the provided configuration and delegate.

[`PKAddPaymentPassRequestConfiguration`](/documentation/PassKit/PKAddPaymentPassRequestConfiguration)

Contains the configuration data for a view controller that lets the user add a payment pass.

## Relationships

### Conforms To

[`NSExtensionRequestHandling`](/documentation/Foundation/NSExtensionRequestHandling)

[`Equatable`](/documentation/Swift/Equatable)

[`UIResponderStandardEditActions`](/documentation/UIKit/UIResponderStandardEditActions)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`UIAppearanceContainer`](/documentation/UIKit/UIAppearanceContainer)

[`UIStateRestoring`](/documentation/UIKit/UIStateRestoring)

[`UIContentContainer`](/documentation/UIKit/UIContentContainer)

[`UIActivityItemsConfigurationProviding`](/documentation/UIKit/UIActivityItemsConfigurationProviding)

[`CVarArg`](/documentation/Swift/CVarArg)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`NSCoding`](/documentation/Foundation/NSCoding)

[`UIFocusEnvironment`](/documentation/UIKit/UIFocusEnvironment)

[`UIPasteConfigurationSupporting`](/documentation/UIKit/UIPasteConfigurationSupporting)

[`UITraitChangeObservable-67e94`](/documentation/UIKit/UITraitChangeObservable-67e94)

[`UITraitEnvironment`](/documentation/UIKit/UITraitEnvironment)

[`Hashable`](/documentation/Swift/Hashable)

[`NSTouchBarProvider`](/documentation/AppKit/NSTouchBarProvider)

[`Sendable`](/documentation/Swift/Sendable)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`UIUserActivityRestoring`](/documentation/UIKit/UIUserActivityRestoring)

### Inherits From

[`UIViewController`](/documentation/UIKit/UIViewController)

---

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)