---
schema_version: "1"
id: 1ef70523eee4e6c6f34099ce302d63684d10029493160b398e46b90a2d9ac66e
title: RetryCategory Enum
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_enum_commercepayments_RetryCategory.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_enum_commercepayments_RetryCategory.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: a868c146d6f97d7de6515d436cf728b60c5b95997117d3905b897176fa1e85c5
description: Specifies the retry category.
---
# RetryCategory Enum

Specifies the retry category.

## Enum Values

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

| Value | Description |
| --- | --- |
| CardLimit | Insufficient funds, exceeded spending limits, or other restrictions on the card. |
| GatewayConnection | Connectivity or communication errors between systems, including upstream gateway errors. |
| PaymentInformation | Missing or incorrect data such as incorrect card numbers, addresses, or currencies. |
| PaymentProcessing | Payment account is invalid, closed, restricted, or the transaction was declined for reasons other than insufficient funds. |
| Security | Security violations or issues such as fraud, risk, authentication, verification, and authorization. |
| Unknown | The payment gateway error code isn't recognized or isn't mapped to a specific category. |