<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ProximityReader",
  "identifier" : "/documentation/ProximityReader/CustomerEngagementSession/addPass(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "ProximityReader"
    ],
    "preciseIdentifier" : "s:15ProximityReader25CustomerEngagementSessionC7addPassySb10Foundation4DataVYaKF"
  },
  "title" : "addPass(_:)"
}
-->

# addPass(_:)

Asks the customer to confirm adding a Pass to Wallet.

```
final func addPass(_ pass: Data) async throws -> Bool
```

## Parameters

`pass`

Properly created `.pkpass` data to be added to Wallet.
The `passTypeIdentifier` of the pass must be one of the identifiers in the
[`passTypeIdentifiers`](/documentation/ProximityReader/CustomerEngagementSession/Configuration-swift.struct/passTypeIdentifiers).

## Return Value

`true` if the pass is added to Wallet successfully or the same pass already exists; `false` if the customer declines.

## Discussion> Throws: ``doc://com.apple.ProximityReader/documentation/ProximityReader/CustomerEngagementSession/Error`` if the request fails.

---

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)