PaymentCardReader
An object you use to configure Tap to Pay on iPhone on the current device.
Declaration
class PaymentCardReaderMentioned in
Overview
A PaymentCardReader object coordinates the reading of payment and loyalty cards using existing iPhone hardware. Use it to read cards that might otherwise require specialized hardware. For example, use it to collect contactless payment information from another iPhone or from NFC-enabled hardware, such as NFC-enabled plastic cards.
After you create the PaymentCardReader object, call prepare(using:) to validate the payment pipeline and receive a new PaymentCardReaderSession. Use the session object to read card information related to payments and refunds, or to verify card information.