---
schema_version: "1"
id: 6830fada8c83ce4662479700c4d0026a4a017c9138a91a0a96f3012f12862523
title: NotificationStatus Enum
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_enum_commercepayments_NotificationStatus.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_enum_commercepayments_NotificationStatus.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 96897f89b434d930de33eba19225b0c3b5b7ab0ee6dc12b0d684ea2ac90c5c16
description: Shows whether the payments platform successfully received the notification from the gateway.
---
# NotificationStatus Enum

Shows whether the payments platform successfully received the notification from the gateway.

## Usage

When the gateway sends a notification for a payment request, the payments platform delegates the notification request to the gateway adapter. First, the adapter evaluates the signature from the notification request. If the signature is valid, the adapter builds a notification object to store information about the notification. During this process, the adapter sets the NotificationStatus to Failed or Success based on information from the notification request.

## Enum Values

The following are the values of the commercepayments.NotificationStatus enum.

| Value | Description |
| --- | --- |
| Failed | The payments platform couldn’t receive the notification due to an error. |
| Success | The payments platform received the notification. |