Contents

JWSRenewalInfoDecodedPayload

A decoded payload containing subscription renewal information for an auto-renewable subscription.

Declaration

object JWSRenewalInfoDecodedPayload

Properties

NameTypeDescription
appAccountTokenappAccountToken

A UUID you create at the time of purchase that associates the transaction with a customer on your own service. This is the token that applies to the upcoming renewal transaction. If your app doesn’t provide an appAccountToken, this field is omitted. For more information, see appAccountToken(_:).

appTransactionIdappTransactionId

The unique identifier of the app download transaction.

autoRenewProductIdautoRenewProductId

The identifier of the product that renews at the next billing period.

autoRenewStatusautoRenewStatus

The renewal status of the auto-renewable subscription.

currencycurrency

The currency code for the renewalPrice of the subscription.

eligibleWinBackOfferIdseligibleWinBackOfferIds

The list of win-back offer IDs that the customer is eligible for.

environmentenvironment

The server environment, either sandbox or production.

expirationIntentexpirationIntent

The reason the subscription expired.

gracePeriodExpiresDategracePeriodExpiresDate

The time when the Billing Grace Period for subscription renewals expires.

isInBillingRetryPeriodisInBillingRetryPeriod

A Boolean value that indicates whether the App Store is attempting to automatically renew the expired subscription.

offerDiscountTypeofferDiscountType

The payment mode you configure for the offer.

offerIdentifierofferIdentifier

The offer code or the promotional offer identifier.

offerPeriodofferPeriod

The duration of the offer.

offerTypeofferType

The type of subscription offer.

originalTransactionIdoriginalTransactionId

The transaction identifier of the original purchase associated with this transaction.

priceIncreaseStatuspriceIncreaseStatus

The status that indicates whether the auto-renewable subscription is subject to a price increase.

productIdproductId

The product identifier of the In-App Purchase.

recentSubscriptionStartDaterecentSubscriptionStartDate

The earliest start date of the auto-renewable subscription in a series of subscription purchases that ignores all lapses of paid service that are 60 days or fewer.

renewalDaterenewalDate

The UNIX time, in milliseconds, when the most recent auto-renewable subscription purchase expires.

renewalPricerenewalPrice

The renewal price, in milliunits, of the auto-renewable subscription that renews at the next billing period.

signedDatesignedDate

The UNIX time, in milliseconds, that the App Store signed the JSON Web Signature (JWS) data.

advancedCommerceInfoadvancedCommerceRenewalInfo

Renewal information that is present only for Advanced Commerce SKUs.

commitmentInfoRenewalCommitmentInfo
renewalBillingPlanTyperenewalBillingPlanType

Mentioned in

See Also

JWS headers and payloads