> 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-invalid-payment-account-notification.md).

# Sending an invalid payment account notification

When processing transactions, it's crucial to ensure that the payment information is accurate and up-to-date. There are instances when a payment cannot be processed due to invalid account details, such as when a card has been reported lost or stolen or an account has been closed. In these situations, a specific protocol is triggered, prompting a need for immediate action to update the payment information. This document outlines the process for sending notifications related to invalid payment accounts, ensuring businesses can swiftly rectify any issues and maintain a seamless transaction process.

This notification triggers when the partnering bank returns a "Contact Customer" message for stolen or lost cards or an “Account Closed” message for deactivated accounts. See [Card Account Updater](/commerce-api/admin-apis/subscription-management/subscription-notifications/card-account-updater.md) for more information. You need to contact the shopper to get updated information.

## Notification trigger

When a transaction is processed and encounters issues with the payment account's validity, a notification is triggered to inform the necessary stakeholders. This typically occurs under two circumstances:

* **Stolen or Lost Cards**: If the partnering bank reports a card as stolen or lost (`Contact Customer`).
* **Deactivated Accounts**: If an account has been closed or deactivated (`Account Closed`).

Upon receiving one of the following response codes from a reconciler job, the system automatically initiates a notification:

* `AccountClosed` – The payment account associated with the transaction has been closed.
* `Contact` – Indicates a need to contact the customer for additional information due to potential issues with their payment method, such as a reported lost or stolen card.

It is crucial to promptly contact the customer to obtain updated payment information, ensuring transactions can proceed without unnecessary delays.


---

# 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-invalid-payment-account-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.
