---
title: PaymentCardReader.Token
framework: proximityreader
role: symbol
role_heading: Structure
path: proximityreader/paymentcardreader/token
---

# PaymentCardReader.Token

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

## Declaration

```swift
struct Token
```

## Mentioned in

Adding support for Tap to Share to your app

## Overview

Overview You must create a secure token to use Tap to Pay on iPhone. Your payment service provider supplies the string you use to create this token. Create your token and pass it to the prepare(using:) method to configure the current device to read cards.

## Topics

### Creating a token

- [init(rawValue:)](proximityreader/paymentcardreader/token/init(rawvalue:).md)

### Getting the token value

- [rawValue](proximityreader/paymentcardreader/token/rawvalue.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Displaying the Tap to Pay on iPhone’s terms and conditions

- [isAccountLinked(using:)](proximityreader/paymentcardreader/isaccountlinked(using:).md)
- [linkAccount(using:)](proximityreader/paymentcardreader/linkaccount(using:).md)
- [relinkAccount(using:)](proximityreader/paymentcardreader/relinkaccount(using:).md)
