---
title: merchantDomain
framework: passkit
role: symbol
role_heading: Instance Property
path: passkit/pkpaymenttokencontext/merchantdomain
---

# merchantDomain

The merchant’s top-level domain that the Apple Pay server associates with the payment token.

## Declaration

```swift
var merchantDomain: String? { get set }
```

## Discussion

Discussion This value is optional; provide the top-level domain for the merchant if it’s available.

## See Also

### Specifying the merchant

- [merchantIdentifier](passkit/pkpaymenttokencontext/merchantidentifier.md)
- [merchantName](passkit/pkpaymenttokencontext/merchantname.md)
- [externalIdentifier](passkit/pkpaymenttokencontext/externalidentifier.md)
