<!--
{
  "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/PKAddPaymentPassRequest/encryptedPassData",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "PassKit (Apple Pay and Wallet)"
    ],
    "preciseIdentifier" : "c:objc(cs)PKAddPaymentPassRequest(py)encryptedPassData"
  },
  "title" : "encryptedPassData"
}
-->

# encryptedPassData

An encrypted JSON file containing the sensitive information needed to add a card to Apple Pay.

```
var encryptedPassData: Data? { get set }
```

## Discussion

The JSON file must contain the following keys:

|Key                 |Type  |Description                                                               |
|--------------------|------|--------------------------------------------------------------------------|
|primaryAccountNumber|String|The full primary account number (PAN). Digits only.                       |
|expiration          |String|The expiration date as a string. For example, `"11/18"`.                  |
|name                |String|The name of the card holder.                                              |
|nonce               |String|The hex string for the nonce value, provided in the delegate callback.    |
|nonceSignature      |String|The hex string for the nonce signature, provided in the delegate callback.|

---

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)