<!--
{
  "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/init(requestConfiguration:delegate:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "PassKit (Apple Pay and Wallet)"
    ],
    "preciseIdentifier" : "c:objc(cs)PKAddPaymentPassViewController(im)initWithRequestConfiguration:delegate:"
  },
  "title" : "init(requestConfiguration:delegate:)"
}
-->

# init(requestConfiguration:delegate:)

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

```
init?(requestConfiguration configuration: PKAddPaymentPassRequestConfiguration, delegate: (any PKAddPaymentPassViewControllerDelegate)?)
```

## Parameters

`configuration`

A configuration object that defines the view controller’s appearance.

`delegate`

The add payment view controller’s delegate.

## Return Value

A newly initialized add payment view controller.

## Discussion

Adding payment passes requires a special entitlement issued by Apple. If your app does not include this entitlement, this method returns `nil`. For more information on requesting this entitlement, see the Card Issuers section on [developer.apple.com/apple-pay/](https://developer.apple.com/apple-pay/).

---

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)