<!--
{
  "availability" : [
    "iOS: 15.2.0 -",
    "iPadOS: 15.2.0 -",
    "macCatalyst: 15.2.0 -",
    "macOS: 12.1.0 -",
    "tvOS: 15.2.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 8.3.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "StoreKitTest",
  "identifier" : "/documentation/StoreKitTest/SKTestSession/TimeRate-swift.enum/monthlyRenewalEveryThirtySeconds",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "StoreKit Test"
    ],
    "preciseIdentifier" : "c:@E@SKTestTimeRate@SKTestTimeRateMonthlyRenewalEveryThirtySeconds"
  },
  "title" : "SKTestSession.TimeRate.monthlyRenewalEveryThirtySeconds"
}
-->

# SKTestSession.TimeRate.monthlyRenewalEveryThirtySeconds

A rate of time in the test environment in which monthly subscriptions renew every 30 seconds.

```
case monthlyRenewalEveryThirtySeconds
```

## Discussion

The following table shows how this time rate affects subscriptions with various renewal periods in the testing environment:

|Subscription renewal period|Renewal time       |
|---------------------------|-------------------|
|Weekly                     |10 seconds         |
|Monthly                    |30 seconds         |
|Bimonthly                  |1 minute           |
|Quarterly                  |1 minute 30 seconds|
|Semiannually               |3 minutes          |
|Annually                   |6 minutes          |

The sandbox environment doesn’t have an equivalent subscription renewal rate for [`SKTestSession.TimeRate.monthlyRenewalEveryThirtySeconds`](/documentation/StoreKitTest/SKTestSession/TimeRate-swift.enum/monthlyRenewalEveryThirtySeconds). For more information about renewal rates in the sandbox environment, see [Test Apple In-App Purchases](https://help.apple.com/app-store-connect/#/dev7e89e149d).

The time rate also affects the billing grace period and the billing retry period in the testing environment, as the table below shows:

|Type                                                         |Time period|
|-------------------------------------------------------------|-----------|
|Grace period for subscriptions with a weekly renewal period  |9 seconds  |
|Grace period for subscriptions with all other renewal periods|15 seconds |
|Billing retry period                                         |1 minute   |

---

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)