<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PassKit",
  "identifier" : "/documentation/PassKit/PKAddPaymentPassViewControllerDelegate",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "PassKit (Apple Pay and Wallet)"
    ],
    "preciseIdentifier" : "c:objc(pl)PKAddPaymentPassViewControllerDelegate"
  },
  "title" : "PKAddPaymentPassViewControllerDelegate"
}
-->

# PKAddPaymentPassViewControllerDelegate

Methods that let the system prompt you for an add payment request, and inform you when a request has succeeded or failed.

```
protocol PKAddPaymentPassViewControllerDelegate : NSObjectProtocol
```

## Overview

Delegates for the [`PKAddPaymentPassViewController`](/documentation/PassKit/PKAddPaymentPassViewController) class must adopt this protocol.

> 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

### Requesting to add payment cards to Apple Pay

[`addPaymentPassViewController(_:generateRequestWithCertificateChain:nonce:nonceSignature:completionHandler:)`](/documentation/PassKit/PKAddPaymentPassViewControllerDelegate/addPaymentPassViewController(_:generateRequestWithCertificateChain:nonce:nonceSignature:completionHandler:))

Asks the delegate to create an add payment request.

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

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

[`addPaymentPassViewController(_:didFinishAdding:error:)`](/documentation/PassKit/PKAddPaymentPassViewControllerDelegate/addPaymentPassViewController(_:didFinishAdding:error:))

### Payment pass errors

[`PKAddPaymentPassError`](/documentation/PassKit/PKAddPaymentPassError)

Error codes for adding payment passes.



---

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)