---
title: "init(rawValue:)"
framework: proximityreader
role: symbol
role_heading: Initializer
path: "proximityreader/paymentcardreader/token/init(rawvalue:)"
---

# init(rawValue:)

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

## Declaration

```swift
init(rawValue: String)
```

## Parameters

- `rawValue`: The token string from your payment service provider.
