<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 17.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ProximityReader",
  "identifier" : "/documentation/ProximityReader/PaymentCardReaderSession/PINToken",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "ProximityReader"
    ],
    "preciseIdentifier" : "s:15ProximityReader011PaymentCardB7SessionC8PINTokenV"
  },
  "title" : "PaymentCardReaderSession.PINToken"
}
-->

# PaymentCardReaderSession.PINToken

A secure PIN token that you receive from your participating payment service provider.

```
struct PINToken
```

## Overview

When the payment card issuer requests the PIN during a transaction,
your participating payment service provider must provide this token as part of the response.

## Topics

### Creating a token

[`init(rawValue: String)`](/documentation/ProximityReader/PaymentCardReaderSession/PINToken/init(rawValue:))

Creates a token with the string your payment service provider gave you.

### Getting the token value

[`let rawValue: String`](/documentation/ProximityReader/PaymentCardReaderSession/PINToken/rawValue)

The raw token string from your payment service provider.

## Relationships

### Conforms To

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

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

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

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

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

---

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)