> For the complete documentation index, see [llms.txt](https://docs.2checkout.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.2checkout.com/json-rpc-api-reference/json-rpc-api-6.0/api-responses/subscription-churn-prevention-campaigns.md).

# Subscription churn prevention campaigns

The object below is returned directly or within a successful response from the following API request:

* [Retrieve eligible campaigns](/json-rpc-api-reference/json-rpc-api-6.0/api-requests/subscription-churn-prevention-campaigns/retrieve-eligible-campaigns.md)

## Response parameters

<table><thead><tr><th width="394.2666015625">Parameter</th><th>Type / Description</th></tr></thead><tbody><tr><td><code>AvailableCancellationReasons</code></td><td><strong>Object with dynamic properties</strong> (as reasons number can change in time)</td></tr><tr><td><code>AvailableCancellationReasons.REASON_CODE_1</code></td><td><strong>Required (string)</strong></td></tr><tr><td><code>AvailableCancellationReasons.REASON_CODE_3</code></td><td><strong>Required (string)</strong></td></tr><tr><td><code>AvailableCancellationReasons.REASON_CODE_5</code></td><td><strong>Required (string)</strong></td></tr><tr><td><code>AvailableCancellationReasons.REASON_CODE_6</code></td><td><strong>Required (string)</strong></td></tr><tr><td><code>AvailableCancellationReasons.REASON_CODE_7</code></td><td><strong>Required (string)</strong></td></tr><tr><td><code>AvailableCancellationReasons.REASON_CODE_9</code></td><td><strong>Required (string)</strong></td></tr><tr><td><code>Campaigns</code></td><td><strong>Array of objects</strong></td></tr><tr><td><code>Campaigns.Code</code></td><td><p><strong>String</strong> </p><p>Unique, system-generated campaign identifier.</p></td></tr><tr><td><code>Campaigns.Name</code></td><td><p><strong>String</strong></p><p>Name of the campaign.</p></td></tr><tr><td><code>Campaigns.DefaultMessage</code></td><td><p><strong>String</strong></p><p>Default message of the campaign displayed to shoppers.</p></td></tr><tr><td><code>Campaigns.CancellationReasonRequired</code></td><td><p><strong>Boolean</strong></p><p>Indicates if collecting feedback from customers is required.</p></td></tr><tr><td><code>Campaigns.OfferPause</code></td><td><p><strong>Boolean</strong></p><p>Indicates if shoppers are allowed to pause the subscription.</p></td></tr><tr><td><code>Campaigns.OfferDiscount</code></td><td><strong>Object</strong> containing</td></tr><tr><td><code>Campaigns.OfferDiscount.Message</code> </td><td><p><strong>String</strong> </p><p>Discount message.</p></td></tr><tr><td><code>Campaigns.OfferDiscount.Discount</code></td><td><p><strong>String</strong></p><p>Discount value as a decimal number.</p></td></tr><tr><td><code>Campaigns.OfferDiscount.BillingCycles</code></td><td><p><strong>String</strong></p><p>Number of billing cycles.</p></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.2checkout.com/json-rpc-api-reference/json-rpc-api-6.0/api-responses/subscription-churn-prevention-campaigns.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
