---
title: offer
framework: storekit
role: symbol
role_heading: Instance Property
path: storekit/transaction/offer-swift.property
---

# offer

The offer that applies to the transaction, including its offer type, payment mode, and ID.

## Declaration

```swift
let offer: Transaction.Offer?
```

## Mentioned in

Supporting offer codes in your app Supporting win-back offers in your app

## Discussion

Discussion This value is nil if the transaction doesn’t include an offer. You set up offers for auto-renewable subscriptions and other In-App Purchase product types in App Store Connect. If a customer redeems an offer, this property contains the offer details, including its type, paymentMode, and id. For more information, see Transaction.Offer.

## See Also

### Identifying offers

- [Transaction.Offer](storekit/transaction/offer-swift.struct.md)
