> For the complete documentation index, see [llms.txt](https://docs.digitalriver.com/commerce-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.digitalriver.com/commerce-api/admin-apis/subscription-management/subscription-notifications/sending-an-expired-credit-card-notification.md).

# Sending an expired credit card notification

Ensuring seamless subscription renewals is key to maintaining customer satisfaction and retaining subscribers. An expired credit card can interrupt this process, leading to service disruptions for the customer and potential revenue loss for the service provider. By implementing a system that triggers notifications for upcoming credit card expirations, the service provider and the customer can take proactive steps to update payment information and avoid interruption in service. This documentation outlines the process for triggering and sending an expired credit card notification to improve subscriptions' update and renewal success rate.

This notification triggers before a shopper's credit card information associated with a subscription expires.

{% hint style="success" %}
If the credit card information expires, automatic subscription renewal will fail. The notification allows you to ask a shopper to update their credit card details before it expires, increasing the card update and renewal success rate for a subscription.
{% endhint %}

## Notification trigger

The following classes trigger an expired credit card notification:

* `SubscriptionNotificationTask`
* `RenewalReminderNotificationTask`
* `AutoRenewalReminderNotificationTask`
* `TrialReminderNotificationTask`
* `ManualRenewalReminderNotificationTask`
* `TrialManualRenewalReminderNotificationTask`


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.digitalriver.com/commerce-api/admin-apis/subscription-management/subscription-notifications/sending-an-expired-credit-card-notification.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
