Use this page with AI

Copy this into your coding assistant and add your request.

Read https://openiap.dev/docs/types/ios/renewal-info-ios and https://openiap.dev/llms.txt. Follow the reading instructions, detailed reference, and linked guides relevant to my task before making changes.
Inspect my existing project and reuse its framework and conventions. Ask me for missing product decisions. Implement the requested behavior and run the applicable checks.
Show the working result, the commands and actual test results, and any remaining limitations. Keep your explanation brief.

My request: [describe what customers should be able to do]
See an example request →

iOS RenewalInfoIOS

Subscription renewal details exposed by StoreKit 2's Product.SubscriptionInfo.RenewalInfo. Carries auto-renewal intent, billing-retry state, price-increase responses, and the JWS payload for server-side verification.

iOS only. Mirrors Product.SubscriptionInfo.RenewalInfo — autoRenewStatus, renewalDate, expirationReason (Apple docs).

RenewalInfoIOS#

NameSummary
willAutoRenewWhether the subscription will automatically renew.
autoRenewPreferenceProduct ID the subscription will renew to (may differ if an upgrade or downgrade is pending).
expirationReasonStoreKit's raw integer expiration-reason value represented as a string. The Xcode 27 SDK adds the back-deployed unbundled case for subscriptions that leave an Apple Subscription Bundle; callers should preserve unknown future values.
gracePeriodExpirationDateGrace-period end timestamp (epoch ms).
isInBillingRetryTrue if Apple is retrying after a billing failure.
pendingUpgradeProductIdProduct ID for the pending upgrade/downgrade.
priceIncreaseStatusPrice-increase response: "AGREED", "PENDING", or null.
renewalDateExpected renewal timestamp (epoch ms).
renewalOfferIdOffer ID applied to the next renewal.
renewalOfferTypeOffer type: "PROMOTIONAL", "SUBSCRIPTION_OFFER_CODE", "WIN_BACK".
renewalBillingPlanTypeStoreKit 26.4 billing plan type for the next renewal when available: monthly, up-front, or unknown.
commitmentInfoCommitment renewal details, including auto-renew product, renewal billing plan type, renewal date, and renewal price. See RenewalCommitmentInfoIOS.
bundleOriginalTransactionIdOriginal transaction ID of the Subscription Bundle or Suite used by the next renewal (Xcode 27 SDK).
bundleProductIdProduct ID of the bundle or suite used by the renewal.
bundleSubscriptionGroupIdSubscription-group ID of the bundle or suite used by the renewal.
willUnbundleWhether this subscription will leave its bundle and renew as a standalone subscription.
jsonRepresentationRaw JWS representation of the StoreKit renewal info — useful for server-side validation.