---
title: Pass.Barcodes
framework: walletpasses
role: symbol
role_heading: Object
path: walletpasses/pass/barcodes-data.dictionary
---

# Pass.Barcodes

An array of barcode objects on a Pass.

## Declaration

```data
object Pass.Barcodes
```

## Properties

altText: The text to display near the barcode. For example, a human-readable version of the barcode data in case the barcode doesn’t scan. The alternative text isn’t displayed for watchOS. format: The format of the barcode. message: The message or payload to display as a barcode. messageEncoding: The IANA character set name of the text encoding to use to convert message from a string representation to a data representation that the system renders as a barcode, such as “iso-8859-1”.

## Mentioned in

Creating a coupon pass Creating a generic pass Creating a store card pass Creating a poster event pass using semantic tags

## Discussion

Discussion Pass.Barcodes is an array of barcode objects. In iOS 27 and later, you can provide more than one barcode as a fallback. For example, if you provide EAN 13 and QR formats in the barcodes array, the EAN 13 barcode renders on devices using iOS 27 and later and the QR code renders for devices using pre iOS 27. Wallet supports QR, PDF 417, Aztec, Code 128, Code 39, Codabar, EAN 13, and Interleaved 2 of 5 (ITF) barcode formats.

## See Also

### Adding barcodes

- [Pass.Barcode](walletpasses/pass/barcode-data.dictionary.md)
