NPCI error Code
NPCI error Code
3.1 Response codes in RespPay Debit, RespPay Credit, RespPay Debit (Mandate) & RespChkTxn API: ...................................................................................................................7
3.2 Response codes in RespPayReversal API ..........................................................................................................................................................................................................12
3.3 Response codes in RespAuthDetail API .............................................................................................................................................................................................................13
3.4 Response codes sent by PSP in Meta API..........................................................................................................................................................................................................15
3.5 Response codes in Settlement ..........................................................................................................................................................................................................................17
3.6 Response codes for Mandate ............................................................................................................................................................................................................................17
3.6.1 RespAuthMandate ....................................................................................................................................................................................................................................17
3.6.2 RespMandate ............................................................................................................................................................................................................................................18
3.7 Response codes for PAN Validation ..................................................................................................................................................................................................................19
3.7.1 RespValCust ...............................................................................................................................................................................................................................................19
3.8 Response code for UPI Global ............................................................................................................................. .............................................................................................. 18
3.8.1 RespPay… .................................................................................................................................................................................................................................................. 18
4. Codes populated by UPI ............................................................................................................................................................................................................................... 19
1. Introduction
This document explains the usage of the final response sent by NPCI/Bank/UIDAI and about the error codes & response codes to be used in AEPS system.
2. Final Response
AEPS Error and Response Codes
The status of the transaction can be known to the initiator/Remitter/Acquirer Bank in the final response message given by AEPS. AePS sends RespPay
finally to the Remitter/Acquirer bank for pay scenario respectively which gives the information about credit/debit for the particular transaction. The
following tag have to be looked upon to know the status of the transaction.
Note: Back office Code “40” - REVERSAL BY NPCI NOT ACKNOWLEDGED BY ISSUER and “41” is REVERSAL BY ACQUIRER NOT ACKNOWLEDGED BY ISSUER will be TD
<for CREDIT> TD
T13 TXN.SUBTYPE MUST BE PRESENT subType
AEPS Error and Response Codes
T14 PURPOSE SHOULD BE PRESENT AND VALID purpose TD
IM0 INITIATIONMODE SHOULD BE PRESENT AND VALID initiationMode TD
IM5 PAYEE PSP DOES NOT SUPPORT VERSION 2.0 initiationMode BD
IM6 BANK/PSP IS NOT SUPPORTING VERSION 2.0 BD
BUSINESS VALIDATION: ELEMENT <TXN/> TAG IS MANDATORY AND HAS TO BE PROVIDED WITH VALID DATA. ATTRIBUTE ID & TYPE ARE
MANDATORY.
R01 PAYER NOT PRESENT < Payer/> TD
R02 PAYER.ADDR MUST BE VALID addr TD
R03 PAYER.NAME ALPHANUMERIC name TD
R04 PAYER.SEQNUM NUMERIC seqNum TD
R05 PAYER.TYPE MUST BE PRESENT/VALID type TD
R06 PAYER.CODE NUMERIC OF LENGTH 4 code TD
BUSINESS VALIDATION: ELEMENT < PAYER /> TAG IS MANDATORY AND HAS TO BE PROVIDED WITH VALID DATA. ATTRIBUTE ADDR & TYPE
ARE MANDATORY. FOR ENTITY TYPE CODE IS MANDATORY. OTHER ATTRIBUTES WILL BE VALIDATED IN DATA GIVEN.
B01 PAYEES NOT PRESENT < Payee/> TD
B02 PAYEE NOT PRESENT TD
B05 PAYEE.NAME ALPHANUMERIC MINLENGTH 1 MAXLENGTH name TD
99
B06 PAYEE.TYPE MUST BE PRESENT/VALID type TD
B07 PAYEE.CODE NUMERIC OF LENGTH 4 Code TD
BUSINESS VALIDATION: ELEMENT < PAYEE /> TAG IS MANDATORY AND HAS TO BE PROVIDED WITH VALID DATA. ATTRIBUTE ADDR & TYPE
ARE MANDATORY. FOR ENTITY TYPE CODE IS MANDATORY. OTHER ATTRIBUTES WILL BE VALIDATED IN DATA GIVEN.
I01 PAYER INFO MUST BE PRESENT <Info/> TD
I02 PAYER .INFO.IDENTITY MUST BE PRESENT identity TD
PAYER.INFO.IDENTITY.TYPE MUST BE PRESENT TD
I03 type
PAYER/PAYEE .INFO.IDENTITY VERIFIEDNAME MUST BE TD
I04 PRESENT verifiedName
AEPS Error and Response Codes
PAYER/PAYEE .INFO.RATING WHITELISTED TD
I05 verifiedAddress
BUSINESS VALIDATION: ELEMENT <INFO/> TAG IS MANDATORY AND WILL BE VALIDATED. INFO ELEMENT IS GIVEN ALL ATTRIBUTES ARE
REQUIRED. PAYER INCLUDED IN THE MESSAGES WILL COME DEPENDING UPON THEIR TYPE DURING VALIDATION.
D01 PAYER.DEVICE MUST BE PRESENT <Device/> TD
BUSINESS VALIDATION: ELEMENT < AC /> TAG IS MANDATORY FOR PAYER AND PAYEE FOR RESPECTIVELY PAY TRANSACTION.
IF AC TAG IS GIVEN WHERE IT IS NOT MANDATORY IT WILL BE VALIDATED. AC VALIDATION IS DONE BASED ON ACCOUNT or MOBILE. PAYER
INCLUDED IN THE MESSAGES WILL COME DEPENDING UPON THEIR TYPE DURING VALIDATION.
BUSINESS VALIDATION: ELEMENT < CREDS /> TAG IS MANDATORY FOR PAYER FOR PAY TRANSACTION. IF CREDS TAG IS GIVEN WHERE IT IS
NOT MANDATORY IT WILL BE VALIDATED. PAYER INCLUDED IN THE MESSAGES WILL COME DEPENDING UPON THEIR TYPE DURING
VALIDATION.
V01 PAYER/PAYEE. AMOUNT MUST BE PRESENT < Amount/> TD
AEPS Error and Response Codes
V02 PAYER/PAYEE .AMOUNT.CUR MUST BE PRESENT curr TD
PAYER/PAYEE.AMOUNT.VALUE MUST BE WITHIN 18 DIGITS TD
V03 INCLUDING TWO DECIMAL value
PAYER.INSTITUTION.ORIGINATOR.NAME MUST BE TD
PI9 PRESENT,MINLENGTH 1 MAXLENGTH 50 name
PAYER.INSTITUTION.ORIGINATOR.REFNO MUST BE TD
PJ1 PRESENT,MINLENGTH 1 MAXLENGTH 35 refNo
AEPS Error and Response Codes
PJ2 PAYER.INSTITUTION.ORIGINATOR.ADDRESS MUST BE <Address/> TD
PRESENT
PAYER.INSTITUTION.ORIGINATOR.ADDRESS.LOCATION MUST TD
PJ3 BE PRESENT,MINLENGTH 1 MAXLENGTH 40 location
PAYER.INSTITUTION.BENEFICIARY.NAME MUST BE TD
PJ5 PRESENT,MINLENGTH 1 MAXLENGTH 50 name
PAYER.INSTITUTION.ORIGINATOR.ADDRESS.CITY MUST BE TD
PJ7 PRESENT,MINLENGTH 1 MAXLENGTH 100 <Address/> city
PAYER.INSTITUTION.ORIGINATOR.ADDRESS.COUNTRY MUST TD
PJ8 BE PRESENT,MINLENGTH 1 MAXLENGTH 100 country
PAYER.INSTITUTION.ORIGINATOR.ADDRESS.GEOCODE MUST TD
PJ9 BE PRESENT geocode
PAYER.INSTITUTION.PURPOSE.NOTE MUST BE TD
PJ0 PRESENT,MINLENGTH 1 MAXLENGTH 50 <Purpose/> note
BUSINESS VALIDATION: ELEMENT <INSTITUTION/> TAG IS NOT MANDATORY FOR BOTH PAYER. IT GIVES INSTITUTION DETAILS
OF NRE|NRO TRANSACTIONS.
5. UIDAI Declines
Description
Response Receipt
Code/BO UIDAI Error Required
Code Code Status (Yes/No)
00 - APPROVED A Yes
Yes
AADHAAR LOCKED BY AADHAAR NUMBER HOLDER FOR ALL
KT 331 MODALITIES AUTHENTICATIONS D
KX 915 Face auth is not allowed for this age of resident D Yes
AEPS Error and Response Codes
KY 916 Invalid face Image format in input D Yes
WC 402 “txn” value did not match with “txn” value used in Request OTP API D Yes
WP 822 Invalid value in the “bs” attribute of “Bio” element within “Pid” D Yes
Maximum number of attempts for OTP match is exceeded or OTP is not generated.
XB 403 Please generate a fresh OTP and try to authenticate again D Yes
XC 516 Invalid/Non Decryptable ANCS Token in input. Use a correct ANCS token. D Yes
Inappropriate ANCS token used. This means that the ANCS token used is not
XE 519 associated with the AUA or with the transaction ID. D Yes
VID is not yet generated. To use specific services like UID lock which require VID
XF 532 to be pre generated, please generate a VID before using service. D Yes
XG 592 Device blocked for more than allowed error percentage D Yes