---
title: "readVAS(_:)"
framework: proximityreader
role: symbol
role_heading: Instance Method
path: "proximityreader/paymentcardreadersession/readvas(_:)"
---

# readVAS(_:)

Presents a sheet to read a loyalty card for Value Added Services (VAS), and returns the loyalty card data.

## Declaration

```swift
func readVAS(_ request: VASRequest) async throws -> VASReadResult
```

## Parameters

- `request`: The object that you use to specify the request details, such as the list of supported merchants.

## Mentioned in

Accepting loyalty passes from Wallet

## Return Value

Return Value A VASReadResult if the read operation was successful.

## Discussion

Discussion Call this method to read the data from a loyalty card. 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 loyalty card

- [readPaymentCard(_:vasRequest:stopOnVASResult:)](proximityreader/paymentcardreadersession/readpaymentcard(_:vasrequest:stoponvasresult:).md)
