<!--
{
  "availability" : [
    "iOS: 15.4.0 - 16.0.0",
    "iPadOS: 15.4.0 - 16.0.0",
    "macCatalyst: 17.0.0 - 17.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "ProximityReader",
  "identifier" : "/documentation/ProximityReader/PaymentCardReaderSession/readPaymentCard(_:eventHandler:)-20e1w",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "ProximityReader"
    ],
    "preciseIdentifier" : "s:15ProximityReader011PaymentCardB7SessionC04readcD0_12eventHandlerAA0cD10ReadResultVAA0cD19VerificationRequestV_yAC5EventOcSgtYaKF"
  },
  "title" : "readPaymentCard(_:eventHandler:)"
}
-->

# readPaymentCard(_:eventHandler:)

Presents a sheet to verify a contactless payment card, and returns the card data.

```
func readPaymentCard(_ request: PaymentCardVerificationRequest, eventHandler: ((PaymentCardReaderSession.Event) -> Void)? = nil) async throws -> PaymentCardReadResult
```

## Parameters

`request`

The object that contains the reason for the verification request.
For example, you might verify the card supports a specific currency.

`eventHandler`

A handler you use to receive request-related updates while
the system has control of the screen. The handler has no return value and takes
a [`PaymentCardReaderSession.Event`](/documentation/ProximityReader/PaymentCardReaderSession/Event) as a parameter. Use the event parameter
to determine what happened.

## Return Value

A [`PaymentCardReadResult`](/documentation/ProximityReader/PaymentCardReadResult) if the read operation was successful.

## Discussion

Call this method when you want to verify someone’s card with your payment
provider. When you call this method, the system displays UI with instructions
on what the person needs to do. This UI remains onscreen until the system reads
the person’s card, you cancel the operation, or an error occurs.

> throws: This method throws a ``doc://com.apple.ProximityReader/documentation/ProximityReader/PaymentCardReaderSession/ReadError`` if a person dismisses the sheet
> or the sheet fails to appear.

---

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)