---
title: VASRequest.Merchant
framework: proximityreader
role: symbol
role_heading: Structure
path: proximityreader/vasrequest/merchant
---

# VASRequest.Merchant

The identity of a merchant that offers a loyalty program.

## Declaration

```swift
struct Merchant
```

## Mentioned in

Accepting loyalty passes from Wallet

## Overview

Overview Create Merchant objects to identify merchants whose loyalty programs you support. When placing a request for loyalty card information, or Value Added Services (VAS) information, specify the associated merchant details. The system uses the merchant information to return details only for those merchants.

## Topics

### Creating a merchant structure

- [init(id:url:shouldSendURLOnly:localizedName:)](proximityreader/vasrequest/merchant/init(id:url:shouldsendurlonly:localizedname:).md)

### Getting the merchant name

- [localizedName](proximityreader/vasrequest/merchant/localizedname.md)

### Getting the merchant URL details

- [url](proximityreader/vasrequest/merchant/url.md)
- [shouldSendURLOnly](proximityreader/vasrequest/merchant/shouldsendurlonly.md)

### Getting the merchant ID

- [id](proximityreader/vasrequest/merchant/id.md)

### Initializers

- [init(id:url:localizedName:)](proximityreader/vasrequest/merchant/init(id:url:localizedname:).md)

## Relationships

### Conforms To

- [Identifiable](swift/identifiable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Getting the loyalty card details

- [localizedVASType](proximityreader/vasrequest/localizedvastype.md)
- [vasMerchants](proximityreader/vasrequest/vasmerchants.md)
