> For the complete documentation index, see [llms.txt](https://docs.verifone.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.verifone.com/psdk-latest/psdk-user-guide-and-training/psdk-user-guide/notifications.md).

# Notification Events

Notification Events are triggered when various notifications are received from the terminal that might be helpful to the cashier. Implement [CommerceListenerAdapter.handleNotificationEvent(event: NotificationEvent) ](https://app.gitbook.com/s/yzyMJNwlQJZoQOIC8vZ8/api/moduleindex-4/_commerce_listener_adapter_8java#cppv4n3com8verifone11payment_sdk19phonynameduetoerror23handlenotificationevente17notificationevent)to process those events. The [NotificationEvent.getNotificationType()](https://docs.verifone.com/psdk-api-latest/android-java/index/notificationevent#getnotificationtype) method provides information on type of event.

## SAF\_STATUS\_UPDATE notification <a href="#saf-status-update-notification" id="saf-status-update-notification"></a>

SAF refers to Store and Forward functionality. When enabled and connection to payment host is lost, the payment terminal can locally approve transactions below a set floor limit until such time as a total limit and maximum pending record limit are reached.

A payment terminal sends current SAF status after a transaction is added to or removed from SAF queue. [NotificationEvent.getSafData()](https://docs.verifone.com/psdk-api-latest/android-java/index/notificationevent#getsafdata) returns information on SAF queue state and SAF processing (IDLE or IN\_PROGRESS when SAF is being uploaded to host). This method will only return populated data for SAF\_STATUS\_UPDATE notification. These notifications are currently only implemented by AGPA payment application. Refer to API guide for more details.

***

{% columns %}
{% column width="25%" %}

<figure><img src="/files/9ezXRridnCaI1awLr3X9" alt="" width="150"><figcaption></figcaption></figure>
{% endcolumn %}

{% column width="25%" %}

{% endcolumn %}

{% column width="16.66666666666666%" %}
**Version:**\
**Date:**
{% endcolumn %}

{% column width="33.333333333333336%" %} <code class="expression">space.vars.psdk\_version</code>\ <code class="expression">space.vars.psdk\_date</code>
{% endcolumn %}
{% endcolumns %}


---

# 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.verifone.com/psdk-latest/psdk-user-guide-and-training/psdk-user-guide/notifications.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.
