<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 8.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "StoreKit",
  "identifier" : "/documentation/StoreKit/Transaction/RevocationReason-swift.struct",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "StoreKit"
    ],
    "preciseIdentifier" : "s:8StoreKit11TransactionV16RevocationReasonV"
  },
  "title" : "Transaction.RevocationReason"
}
-->

# Transaction.RevocationReason

Reasons that describe why the App Store may refund a transaction or revoke it from Family Sharing.

```
struct RevocationReason
```

## Topics

### Revocation reasons

[`developerIssue`](/documentation/StoreKit/Transaction/RevocationReason-swift.struct/developerIssue)

The value that indicates a customer canceled the transaction due to an actual or perceived issue within your app.

[`other`](/documentation/StoreKit/Transaction/RevocationReason-swift.struct/other)

The value that indicates a customer canceled the transaction for other reasons.

### Getting a localized description

[`localizedDescription`](/documentation/StoreKit/Transaction/RevocationReason-swift.struct/localizedDescription)

The localized text that describes the revocation reason.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)