<!--
{
  "availability" : [
    "iOS: 13.4.0 -",
    "iPadOS: 13.4.0 -",
    "macCatalyst: 13.4.0 -",
    "macOS: 10.12.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PassKit",
  "identifier" : "/documentation/PassKit/PKPassLibrary/canAddSecureElementPass(primaryAccountIdentifier:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "PassKit (Apple Pay and Wallet)"
    ],
    "preciseIdentifier" : "c:objc(cs)PKPassLibrary(im)canAddSecureElementPassWithPrimaryAccountIdentifier:"
  },
  "title" : "canAddSecureElementPass(primaryAccountIdentifier:)"
}
-->

# canAddSecureElementPass(primaryAccountIdentifier:)

Returns a Boolean value that indicates whether PassKit can add a Secure Element pass for the specified account.

```
func canAddSecureElementPass(primaryAccountIdentifier: String) -> Bool
```

## Parameters

`primaryAccountIdentifier`

A unique identifer for the underlying primary account number (PAN) for funding transactions. This isn’t the PAN itself.

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if PassKit can add a secure element pass for the specified account; otherwise, <doc://com.apple.documentation/documentation/Swift/false>.

## Discussion

Adding a Secure Element pass requires a special entitlement that Apple provides. If the entitlement isn’t present, this method returns <doc://com.apple.documentation/documentation/Swift/false>.

---

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)