---
title: offer
framework: StoreKit
role: symbol
role_heading: Instance Property
platforms: [iOS 17.2+, iPadOS 17.2+, Mac Catalyst 17.2+, macOS 14.2+, tvOS 17.2+, visionOS 1.1+, watchOS 10.2+]
path: storekit/transaction/4307076-offer
---

# offer

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

## Declaration

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

## 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](offer-swift.struct/type.md), [paymentMode](offer-swift.struct/paymentmode-swift.property.md), and [id](id.md). For more information, see [Transaction.Offer](offer-swift.struct.md).

## See Also

### Identifying offers

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