<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "PassKit",
  "identifier" : "/documentation/PassKit/PKPassLibraryNotificationKey",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "PassKit (Apple Pay and Wallet)"
    ],
    "preciseIdentifier" : "c:@T@PKPassLibraryNotificationKey"
  },
  "title" : "PKPassLibraryNotificationKey"
}
-->

# PKPassLibraryNotificationKey

The user info keys that a pass library notification uses.

```
struct PKPassLibraryNotificationKey
```

## Topics

### Creating a pass library notification key

[`init(rawValue:)`](/documentation/PassKit/PKPassLibraryNotificationKey/init(rawValue:))

Creates a pass library notification key according to the provided raw value.

### Notification keys

[`addedPassesUserInfoKey`](/documentation/PassKit/PKPassLibraryNotificationKey/addedPassesUserInfoKey)

An array of added passes.

[`passTypeIdentifierUserInfoKey`](/documentation/PassKit/PKPassLibraryNotificationKey/passTypeIdentifierUserInfoKey)

The pass’s pass type identifier.

[`recoveredPassesUserInfoKey`](/documentation/PassKit/PKPassLibraryNotificationKey/recoveredPassesUserInfoKey)

[`removedPassInfosUserInfoKey`](/documentation/PassKit/PKPassLibraryNotificationKey/removedPassInfosUserInfoKey)

An array of dictionaries that describes the removed passes.

[`replacementPassesUserInfoKey`](/documentation/PassKit/PKPassLibraryNotificationKey/replacementPassesUserInfoKey)

An array of replaced passes.

[`serialNumberUserInfoKey`](/documentation/PassKit/PKPassLibraryNotificationKey/serialNumberUserInfoKey)

The pass’s serial number.



---

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)