One Logo Pool Ball
ProximityReader · IOS API REFERENCE

PaymentCardReader.Token

struct · iOS 15.4+ · SDK 27.1

struct Token

A secure token that you receive from your participating payment service provider. 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 ``PaymentCardReader/prepare(using:)`` method to configure the current device to read cards.

Members (2)

init · iOS 15.4+

init

TypeScript
init(rawValue: string): PaymentCardReader_Token
Swift declaration
init(rawValue: String)

Creates a token with the string your payment service provider gave you. - Parameters: - rawValue: The token string from your payment service provider.

get · iOS 15.4+

rawValue

TypeScript
getRawValue($self: PaymentCardReader_Token): string
Swift declaration
let rawValue: String

The raw token string from your payment service provider.

Skipped declarations

No declarations were skipped in this snapshot.

All ProximityReader types →