<!--
{
  "availability" : [
    "App Store Receipts: 1.0.0 - 1.7.0"
  ],
  "documentType" : "symbol",
  "framework" : "AppStoreReceipts",
  "identifier" : "/documentation/AppStoreReceipts/expiration_intent",
  "metadataVersion" : "0.1.0",
  "role" : "Type",
  "symbol" : {
    "kind" : "Type",
    "modules" : [
      "App Store Receipts"
    ],
    "preciseIdentifier" : "data:store_receipts:expiration_intent"
  },
  "title" : "expiration_intent"
}
-->

# expiration_intent

The reason a subscription expires.

```
string expiration_intent
```

## Discussion

This field is returned in the JSON response, in the [`responseBody.Pending_renewal_info`](/documentation/AppStoreReceipts/responseBody/Pending_renewal_info-data.dictionary) array.

You can use this value to do the following:

- If the value is `"1"`, decide whether to survey the subscribers who have opted in to an account on your system or show alternative subscription products within the same group. Decide whether to present a subscription offer to win back the user.
- If the value is `"2"`, decide whether to show the same or alternative subscription products because the user didn’t actively make the choice to unsubscribe.

For more information, see [Engineering Subscriptions](https://developer.apple.com/videos/play/wwdc2018/705/) from WWDC 2018 and <doc://com.apple.documentation/documentation/StoreKit/implementing-promotional-offers-in-your-app>.

---

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)