<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 14.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/View/refundRequestSheet(for:isPresented:onDismiss:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "SwiftUI",
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI4ViewP010_StoreKit_aB0E18refundRequestSheet3for11isPresented9onDismissQrs6UInt64V_AA7BindingVySbGys6ResultOy0dE011TransactionV06RefundG6StatusOAR0rG5ErrorOGcSgtF"
  },
  "title" : "refundRequestSheet(for:isPresented:onDismiss:)"
}
-->

# refundRequestSheet(for:isPresented:onDismiss:)

Display the refund request sheet for the given transaction.

```
@preconcurrency nonisolated func refundRequestSheet(for transactionID: Transaction.ID, isPresented: Binding<Bool>, onDismiss: (@MainActor (Result<Transaction.RefundRequestStatus, Transaction.RefundRequestError>) -> ())? = nil) -> some View
```

## Parameters

`transactionID`

The transaction ID to request a refund for.

`isPresented`

A binding to a Boolean value that determines whether the refund request sheet is presented.

`onDismiss`

The closure to execute when dismissing the sheet, with the result of the refund request provided as a parameter.

---

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)