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

# reason

The cause of the purchase transaction, whether it’s a customer’s purchase or an auto-renewable subscription renewal that the system initiates.

## Declaration

```swift
let reason: Transaction.Reason
```

## See Also

### Getting transaction reason

- [Transaction.Reason](storekit/transaction/reason-swift.struct.md)
