<!--
{
  "availability" : [
    "iOS: 7.0.0 - 18.0.0",
    "iPadOS: 7.0.0 - 18.0.0",
    "macCatalyst: 13.1.0 - 18.0.0",
    "macOS: 10.9.0 - 15.0.0",
    "tvOS: -",
    "visionOS: 1.0.0 - 2.0.0",
    "watchOS: 6.2.0 - 11.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "StoreKit",
  "identifier" : "/documentation/StoreKit/SKReceiptRefreshRequest/init(receiptProperties:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "StoreKit"
    ],
    "preciseIdentifier" : "c:objc(cs)SKReceiptRefreshRequest(im)initWithReceiptProperties:"
  },
  "title" : "init(receiptProperties:)"
}
-->

# init(receiptProperties:)

Creates a receipt refresh request with optional properties.

```
init(receiptProperties properties: [String : Any]?)
```

## Parameters

`properties`

In the test environment, the properties that the new receipt is to have. For keys, see Receipt Properties and Keys.

    In the production environment, set this parameter to     `nil`    .

## Return Value

The initialized request.

## Discussion

In the sandbox environment, you can initialize a receipt with any combination of properties to test the state transitions related to Volume Purchase Plan receipts. Set the `properties` when you call this initializer.

---

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)