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

# init(encryptionScheme:)

Instantiates a new request configuration with the given encryption scheme.

```
init?(encryptionScheme: PKEncryptionScheme)
```

## Parameters

`encryptionScheme`

The encryption scheme to be used in this request. For a list of possible values, see [`PKEncryptionScheme`](/documentation/PassKit/PKEncryptionScheme).

## Return Value

A newly instantiated configuration object.

## Discussion

After instantiating a configuration object, you must also set its [`cardholderName`](/documentation/PassKit/PKAddPaymentPassRequestConfiguration/cardholderName) and [`primaryAccountSuffix`](/documentation/PassKit/PKAddPaymentPassRequestConfiguration/primaryAccountSuffix) properties before using it to create a [`PKAddPaymentPassViewController`](/documentation/PassKit/PKAddPaymentPassViewController) instance.

---

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)