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

# PKAddPaymentPassRequest

Contains the card data needed to add a card to Apple Pay.

```
class PKAddPaymentPassRequest
```

## Overview

All sensitive data must be encrypted before being assigned to this object. Because the encryption keys vary depending on the server, create [`PKAddPaymentPassRequest`](/documentation/PassKit/PKAddPaymentPassRequest) instances only when your [`PKAddPaymentPassViewControllerDelegate`](/documentation/PassKit/PKAddPaymentPassViewControllerDelegate) object’s [`addPaymentPassViewController(_:generateRequestWithCertificateChain:nonce:nonceSignature:completionHandler:)`](/documentation/PassKit/PKAddPaymentPassViewControllerDelegate/addPaymentPassViewController(_:generateRequestWithCertificateChain:nonce:nonceSignature:completionHandler:)) method is called. The required server certificates are provided at that time.

> Important:
> Adding payment passes requires a special entitlement issued by Apple. Your app must include this entitlement before you can use this class. 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

### Creating an add payment pass request

[`init()`](/documentation/PassKit/PKAddPaymentPassRequest/init())

### Accessing request data

[`activationData`](/documentation/PassKit/PKAddPaymentPassRequest/activationData)

The request’s activation data.

[`encryptedPassData`](/documentation/PassKit/PKAddPaymentPassRequest/encryptedPassData)

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

[`ephemeralPublicKey`](/documentation/PassKit/PKAddPaymentPassRequest/ephemeralPublicKey)

The ephemeral public key used by elliptic curve cryptography (ECC).

[`wrappedKey`](/documentation/PassKit/PKAddPaymentPassRequest/wrappedKey)



---

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)