---
title: couponCode
framework: passkit
role: symbol
role_heading: Instance Property
path: passkit/pkpaymentrequest/couponcode
---

# couponCode

The initial coupon code for the payment request.

## Declaration

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

## Discussion

Discussion Set the value to nil or the empty string to indicate that there’s no initial coupon. important: The system doesn’t send a change event for an initial coupon code. You must apply the code to the initial payment summary items.

## See Also

### Working with coupon codes

- [supportsCouponCode](passkit/pkpaymentrequest/supportscouponcode.md)
