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

# PKIdentityRequest

An object that represents a request for identity information from a Wallet pass.

```
class PKIdentityRequest
```

## Overview

A request consists of a [`PKIdentityDocumentDescriptor`](/documentation/PassKit/PKIdentityDocumentDescriptor), a [`nonce`](/documentation/PassKit/PKIdentityRequest/nonce), and a [`merchantIdentifier`](/documentation/PassKit/PKIdentityRequest/merchantIdentifier). A [`PKIdentityDocumentDescriptor`](/documentation/PassKit/PKIdentityDocumentDescriptor) describes the document an app requests.

You use a [`nonce`](/documentation/PassKit/PKIdentityRequest/nonce) to verify a request is only made once. It’s up to the app and its server to generate the [`nonce`](/documentation/PassKit/PKIdentityRequest/nonce) before making the request, and to verify the [`nonce`](/documentation/PassKit/PKIdentityRequest/nonce) when the server receives the response.

The [`merchantIdentifier`](/documentation/PassKit/PKIdentityRequest/merchantIdentifier) maps to an identifier you configure in the developer portal. Payment and identitity requests share the same identifier, so it’s important that the name of the property matches the equivalent [`PKPaymentRequest`](/documentation/PassKit/PKPaymentRequest), if necessary.

## Topics

### Configuring an identity request

[`descriptor`](/documentation/PassKit/PKIdentityRequest/descriptor)

The description of the document the app requests.

[`nonce`](/documentation/PassKit/PKIdentityRequest/nonce)

An arbitrary number that the signed response playload includes.

[`merchantIdentifier`](/documentation/PassKit/PKIdentityRequest/merchantIdentifier)

A value that represents the merchant that makes the request.

## Relationships

### Conforms To

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`Equatable`](/documentation/Swift/Equatable)

[`Hashable`](/documentation/Swift/Hashable)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`CVarArg`](/documentation/Swift/CVarArg)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

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)