<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "StoreKit",
  "identifier" : "/documentation/StoreKit/Transaction/RefundRequestError",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "StoreKit"
    ],
    "preciseIdentifier" : "s:8StoreKit11TransactionV18RefundRequestErrorO"
  },
  "title" : "Transaction.RefundRequestError"
}
-->

# Transaction.RefundRequestError

The error codes for refund requests.

```
enum RefundRequestError
```

## Overview

The following methods throw refund request errors: [`beginRefundRequest(in:)`](/documentation/StoreKit/Transaction/beginRefundRequest(in:)-9k0pj), [`beginRefundRequest(for:in:)`](/documentation/StoreKit/Transaction/beginRefundRequest(for:in:)-65tph), [`beginRefundRequest(in:)`](/documentation/StoreKit/Transaction/beginRefundRequest(in:)-63bvd), and [`beginRefundRequest(for:in:)`](/documentation/StoreKit/Transaction/beginRefundRequest(for:in:)-9mscy).

## Topics

### Error Enumeration

[`Transaction.RefundRequestError.duplicateRequest`](/documentation/StoreKit/Transaction/RefundRequestError/duplicateRequest)

The App Store has already received a refund request for this in-app purchase.

[`Transaction.RefundRequestError.failed`](/documentation/StoreKit/Transaction/RefundRequestError/failed)

The refund request submission failed.

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`Equatable`](/documentation/Swift/Equatable)

[`LocalizedError`](/documentation/Foundation/LocalizedError)

[`Error`](/documentation/Swift/Error)

[`Copyable`](/documentation/Swift/Copyable)

[`Hashable`](/documentation/Swift/Hashable)

[`Escapable`](/documentation/Swift/Escapable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

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)