Error Codes

The following are possible errors and error codes for a transaction. You need to remember the following while error handling based on payment response:

  • The PayU Error Code column in the following table corresponds to the value returned in the error parameter of the payment response
  • The error_message / message column in the following table corresponds to the value returned in the error_message / message parameter of the payment response
📘

Note:

The reason for failure depends upon the error codes provided by different banks and hence the detailing of error reasons may differ from one transaction to another.

❗️

Transaction Stages Error handling:

For error references on during various transaction stages in Net Banking, Cards and Wallets, refer to Transaction Stages - Error References on Field7 & Field8.

📘

Reference:

Refer to the Cards section for AuthN and AuthZ errors

Loading table data...

Other Error Codes from PayU

Loading table data...

Error References on Field7 and Field8

The PayU error mappings documentation page provides a reference guide for various error codes in the PayU payment system. The page includes:

📘 Standard error codes vs Field 7 error codes

The Field7 error codes documented in this section are part of PayU's comprehensive error handling system. These codes provide detailed transaction state information that complements the standard Error Codes used across PayU's payment platform.

While standard error codes (E.g. E501, E502, etc.) indicate specific failure reasons, Field7 values track the transaction state and provide visibility into exactly where in the payment flow an error or status change occurred. For complete error handling, developers should check both:

  1. Field7 Values: To determine the transaction state and processing stage
  2. Error Codes: To identify specific failure reasons when applicable

For integration purposes, always implement error handling that accounts for both these complementary systems to provide the best user experience and troubleshooting capabilities.

Field Error code structure

To understand the error codes, you need to read the Error Code Object sent in the Response structure or stored in database.

  1. Field7 – Execution Leg: This field is used to understand at which execution stage (or leg) the transaction got declined. It is essentially a forward leg or process leg of an API that identifies the point of transaction failure. Refer to following sub-sections for understanding this field values:
  2. Field8 – Bank or Wallet's Reason: This field captures the actual reason for the transaction failure as provided by the bank.
    It gives direct feedback or error information from the bank's end.
  3. Field9 – PayU's Error Translation: This field contains the PayU-translated version of the error recorded in Field8.
    It provides a simplified and standardized interpretation of the error for easier understanding and debugging.
  4. Error Code: Represents PayU's error code mapped to the specific issue. It acts as a unique identifier for the error.
  5. Error Message: This contains PayU's error interpretation, which elaborates on or describes the error in a user-friendly manner to assist in troubleshooting.

Issuer Decline Error Codes

The following table helps you identify specific reasons for payment failures and provides standardized error codes and messages. This will facilitate troubleshooting and communicate your customers when transactions are declined.

Loading table data...

Cards

The following are the errors associated with cards along with their reasons and descriptions.

Field7 for Card payments

Loading table data...

AuthN Errors

Loading table data...

AuthZ Errors

Loading table data...

Alt ID Errors

Loading table data...

NetBanking and Wallets

The following are the errors associated with NetBanking and wallets along with their reasons and descriptions.

Loading table data...

UPI Error Codes

Loading table data...

Subscription Error Codes

These are the errors you may get during mandate registration, along with their descriptions and recommended actions.

⚠️Errors and Recommended Fix
Errors (Error Code)Error MessageError DescriptionRecommended Fix
E756Tokenization failed before debit could be initiatedThis error occurs when tokenization fails or the card/token BIN is not supported for subscriptions.

Note:
  1. You should enable the required flag on your MID to receive this error. Raise request to the support team to enable the flag.
  2. This failure scenario does not apply to the Direct Auth flow.
Retry using a new card.