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

# PKPaymentOrderDetails

Optional metadata with payment order details for the placed order.

```
class PKPaymentOrderDetails
```

## Overview

The device only retreives metadata if the status is `PKPaymentAuthorizationStatusSuccess`.

## Topics

### Creating payment order details

[`init(orderTypeIdentifier:orderIdentifier:webServiceURL:authenticationToken:)`](/documentation/PassKit/PKPaymentOrderDetails/init(orderTypeIdentifier:orderIdentifier:webServiceURL:authenticationToken:))

Initializes a payment order details object with the identifier, web service URL, and authentication token you provide.

### Identifying and authenticating the order

[`authenticationToken`](/documentation/PassKit/PKPaymentOrderDetails/authenticationToken)

The authentification token supplied to your web service.

[`orderIdentifier`](/documentation/PassKit/PKPaymentOrderDetails/orderIdentifier)

A unique order identifier scoped to your order type identifier.

[`orderTypeIdentifier`](/documentation/PassKit/PKPaymentOrderDetails/orderTypeIdentifier)

An identifier for the order type associated with the order.

[`webServiceURL`](/documentation/PassKit/PKPaymentOrderDetails/webServiceURL)

The URL for your web service.



---

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)