<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -",
    "watchOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "DataDetection",
  "identifier" : "/documentation/DataDetection/DataDetector/Match/SemanticDetails/PaymentIdentifier",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "DataDetection"
    ],
    "preciseIdentifier" : "s:13DataDetection0A8DetectorO5MatchV15SemanticDetailsO17PaymentIdentifierV"
  },
  "title" : "DataDetector.Match.SemanticDetails.PaymentIdentifier"
}
-->

# DataDetector.Match.SemanticDetails.PaymentIdentifier

A match that the data detector determines represents a payment identifier.

```
struct PaymentIdentifier
```

## Discussion

The [`identifier`](/documentation/DataDetection/DataDetector/Match/SemanticDetails/PaymentIdentifier/identifier) property is an identifier suitable to initiate a payment transaction.
The [`type`](/documentation/DataDetection/DataDetector/Match/SemanticDetails/PaymentIdentifier/type) is the type of payment system.

## Values that identify the payment and the payment system

[`let identifier: String`](/documentation/DataDetection/DataDetector/Match/SemanticDetails/PaymentIdentifier/identifier)

An identifier suitable to initiate a payment transaction.

[`let type: DataDetector.Match.SemanticDetails.PaymentIdentifier.PaymentSystem`](/documentation/DataDetection/DataDetector/Match/SemanticDetails/PaymentIdentifier/type)

The type of payment system.

### Enumerations

[`enum PaymentSystem`](/documentation/DataDetection/DataDetector/Match/SemanticDetails/PaymentIdentifier/PaymentSystem)

Values that describe payment system types.

## Relationships

### Conforms To

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

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

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

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

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

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

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

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

---

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)