---
title: "readPaymentCard(_:)"
framework: proximityreader
role: symbol
role_heading: Instance Method
path: "proximityreader/paymentcardreadersession/readpaymentcard(_:)-hr97"
---

# readPaymentCard(_:)

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

## Declaration

```swift
func readPaymentCard(_ request: PaymentCardVerificationRequest) 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.

## Return Value

Return Value A PaymentCardReadResult if the read operation was successful.

## Discussion

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. note: This method throws a PaymentCardReaderSession.ReadError if a person dismisses the sheet or the sheet fails to appear.

## See Also

### Reading a payment card

- [readPaymentCard(_:)](proximityreader/paymentcardreadersession/readpaymentcard(_:)-8jol5.md)
