---
title: "canAddSecureElementPass(primaryAccountIdentifier:)"
framework: passkit
role: symbol
role_heading: Instance Method
path: "passkit/pkpasslibrary/canaddsecureelementpass(primaryaccountidentifier:)"
---

# canAddSecureElementPass(primaryAccountIdentifier:)

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

## Declaration

```swift
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

Return Value true if PassKit can add a secure element pass for the specified account; otherwise, false.

## Discussion

Discussion Adding a Secure Element pass requires a special entitlement that Apple provides. If the entitlement isn’t present, this method returns false.

## See Also

### Adding passes

- [canAddFelicaPass()](passkit/pkpasslibrary/canaddfelicapass().md)
- [addPasses(_:withCompletionHandler:)](passkit/pkpasslibrary/addpasses(_:withcompletionhandler:).md)
- [PKPassLibraryAddPassesStatus](passkit/pkpasslibraryaddpassesstatus.md)
