<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "StoreKit",
  "identifier" : "/documentation/StoreKit/StoreButtonKind/restorePurchases",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "StoreKit",
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:17_StoreKit_SwiftUI0A10ButtonKindV16restorePurchasesACvpZ"
  },
  "title" : "restorePurchases"
}
-->

# restorePurchases

A type of button that people use to restore purchases.

```
static var restorePurchases: StoreButtonKind { get }
```

## Discussion

This button type is available for [`StoreView`](/documentation/StoreKit/StoreView) and [`SubscriptionStoreView`](/documentation/StoreKit/SubscriptionStoreView) only.

---

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)