---
title: "init(encryptionScheme:)"
framework: passkit
role: symbol
role_heading: Initializer
path: "passkit/pkaddpaymentpassrequestconfiguration/init(encryptionscheme:)"
---

# init(encryptionScheme:)

Instantiates a new request configuration with the given encryption scheme.

## Declaration

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

## Parameters

- `encryptionScheme`: The encryption scheme to be used in this request. For a list of possible values, see doc://com.apple.passkit/documentation/PassKit/PKEncryptionScheme.

## Return Value

Return Value A newly instantiated configuration object.

## Discussion

Discussion After instantiating a configuration object, you must also set its cardholderName and primaryAccountSuffix properties before using it to create a PKAddPaymentPassViewController instance.

## See Also

### Creating a request configuration

- [PKEncryptionScheme](passkit/pkencryptionscheme.md)
