---
title: PKPaymentRequest.MerchantCategoryCode
framework: passkit
role: symbol
role_heading: Structure
path: passkit/pkpaymentrequest/merchantcategorycode-swift.struct
---

# PKPaymentRequest.MerchantCategoryCode

An optional four-digit struct, in ISO 18245 format, that represents the type of goods or service the merchant provides for the transaction.

## Declaration

```swift
struct MerchantCategoryCode
```

## Overview

Overview The four-digit merchant category codes are in ISO 18245 format and range from 1 to 9999.

## Relationships

### Conforms To

- [CustomStringConvertible](swift/customstringconvertible.md)
- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [LosslessStringConvertible](swift/losslessstringconvertible.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Setting merchant information

- [merchantIdentifier](passkit/pkpaymentrequest/merchantidentifier.md)
- [merchantCapabilities](passkit/pkpaymentrequest/merchantcapabilities.md)
- [PKMerchantCapability](passkit/pkmerchantcapability.md)
