---
title: "init(orderTypeIdentifier:orderIdentifier:webServiceURL:authenticationToken:)"
framework: passkit
role: symbol
role_heading: Initializer
path: "passkit/pkpaymentorderdetails/init(ordertypeidentifier:orderidentifier:webserviceurl:authenticationtoken:)"
---

# init(orderTypeIdentifier:orderIdentifier:webServiceURL:authenticationToken:)

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

## Declaration

```swift
init(orderTypeIdentifier: String, orderIdentifier: String, webServiceURL: URL, authenticationToken: String)
```

## Parameters

- `orderTypeIdentifier`: An identifier for the order type associated with the order.
- `orderIdentifier`: A unique order identifier scoped to your order type identifier.
- `webServiceURL`: The URL of your web service.
- `authenticationToken`: The authentication token supplied to your web service.
