Updated Upi Error Code
Updated Upi Error Code
Updated Upi Error Code
PA3,PR0-PR5,PY1-PY5 in Sec 4.3.11, Error Codes OR1-OR9,R10,R13,R14,R15,R19-R21,R23-R25 in Sec 4.3.12, Error Codes
U83,UO1,UP2 in Sec 4.5
2.4.1 26/10/2018 Updated Error Code IM5 in Sec 4.3.1, MA10 in Sec 4.3.11, Added Error Codes RM1-RM9,RM11, MN1-MN9 in Sec 4.3.11
2.4.2 28/01/2019 Added Response Codes FL, FP in Sec 3.1, added Error Codes MP6, MP7,MP8,MP9 in Sec 4.3.11
2.4.3 02/08/2019 Added Error Codes UO0, UO1, UO3,UO4, UO5, UO7, UO8, UO9, MX0, MX1, MX2, MX3, MX4, MX5 in Sec 4.3.11
2.4.4 16/01/2020 Added Response codes PA in 3.7 and Error codes U97, U98, U99, UC1, A15, UC2, UC3, UC4, UC5 in Sec 4.3.13
2.4.5 17/06/2020 Added Error Codes–U84,U81,U86,U89 in sec 4.4 and Response Codes – V3,V4,NU in Sec 3.6.2
2.4.6 17/06/2020 Added Error Codes – UG1,UG3,UG5,UG6 in sec 4.3.13 and Response Codes – SD.CN,IV,PE,RD,IN in sec 3.8.1
Added Error Codes – X10,R26,Q13-Q14,G82-G95 in sec 4.3.10, T17 in sec 4.3.2 and PV1-PV5,PY2 AND PY4 in 4.3.13 and VZ1-
2.4.7 19/06/2020 VZ4 in sec 4.3.11 and U80,U90 AND U91 in sec 4.4 and PM16 in Sec 4.3.1,Q3 and Q4 in Sec3.6.1 V5 and V6 in Sec 3.6.2, MB9 in
Sec 4.3.11
Added Error Codes – C01-C04, V1-V13 ,MM1-MM7 in Sec 4.3.15 , Response code FP description updated and Added TD/BD
2.4.8 07/04/2021
bifurcation
Added Error codes – U92,U93,U94 in Section 4.4 , Added UDIR Error codes -
C15,C24,C25,C26,E13,E10,E15,E20,R14,T08,T14,V01,V03,UTO , response codes-
2.4.9 29/04/2021
102,103,104,105,106,114,115,116,117,118,119,120,501-RRC,TB,TP,UT1-UT6,UU1-UU3– and Error code U28, U78 descriptions
updated
Added Prepaid Voucher Error codes - T28,J10,J11,T30,IU0,T27,J09 in Section 4.3.17 and Response code – PQ in Section 3.10 ,
2.4.10 03/08/2021 added Central mapper error codes - C30 - C33,V30 - V42,MM1 – MM18 in Section 4.3.16, updated UDIR Error codes in Section
4.3.15 and UDIR Response codes in Section 3.9
3.9 Response Code for UDIR,3.10 Response Code for Prepaid Voucher,3.11 Code for UPI Lite,4.3.14 UPI Global,4.3.15 UDIR,4.3.16
2.5 24/03/2023 Central Mapper,4.3.17 Prepaid Voucher,4.3.18 Aadhaar OTP,4.3.19 UPI Lite,4.3.20 Credit Card on UPI,4.3.21 E-RUPI & API
Gateway , MR,MB, S99,HS1, HS2, HS3 response codes added
Table of Contents
1. Introduction......................................................................................................................................................................................................................................................................... 5
2. Final RespPay....................................................................................................................................................................................................................................................................... 5
3.1 Response codes in RespPay Debit, RespPay Credit, RespPay Debit (Mandate) & RespChkTxn API: .......................................................................................................... 6
3.2 Response codes in RespPayReversal API .............................................................................................................................................................................................................. 11
3.3 Response codes in RespAuthDetail API................................................................................................................................................................................................................ 12
3.4 Response codes sent by PSP in Meta API ............................................................................................................................................................................................................. 14
3.5 Response codes in Settlement................................................................................................................................................................................................................................ 16
3.6 Response codes for Mandate.................................................................................................................................................................................................................................. 16
3.6.1 RespAuthMandate............................................................................................................................................................................................................................................ 16
3.6.2 RespMandate..................................................................................................................................................................................................................................................... 17
3.7 Response codes for PAN Validation ...................................................................................................................................................................................................................... 18
3.7.1 RespValCust........................................................................................................................................................................................................................................................ 18
3.8 Response Code for UPI Global................................................................................................................................................................................................................................ 18
3.8.1 RespValQr........................................................................................................................................................................................................................................................... 18
3.8.2 RespPay............................................................................................................................................................................................................................................................... 18
3.9 Response Code for UDIR.......................................................................................................................................................................................................................................... 19
3.10 Response Code for e-RUPI Voucher/e-RUPI API Gateway ............................................................................................................................................................................. 20
3.11 Code for UPI Lite ..................................................................................................................................................................................................................................................... 20
4. Codes populated by UPI.................................................................................................................................................................................................................................................. 21
1. Introduction
This document explains the usage of the final RespPay send by UPI and the about the error codes & response codes to be used in UPI system.
2. Final RespPay
The status of the transaction can be known to the initiator PSP in the final RespPay message given by UPI. The s tatus can be known by the address translating PSP
using the ReqTxnConfirmation. UPI sends RespPay finally to the payer and payee for pay and collect scenario respectively which gives the information about debit,
credit and reversal for the particular transaction.
The following tag have to be looked upon to know the status of the transaction.
3.1 Response codes in RespPay Debit, RespPay Credit, RespPay Debit (Mandate) &
RespChkTxn API:
The below response codes should be populated by the PSP in case of any error. In RespPay Debit, RespPay Credit, RespChkTxn the PSP has to populate the following
response appropriately.
Response code D escription Remarks TD /BD
00 APPROVED OR COMPLETED SUCCESSFULLY -
15 ISSUER NOT LIVE ON UPI BD
59 SUSPECTED FRAUD, DECLINE/TRANSACTIONS DECLINED BASED ON RISKSCORE BY REMITTER BD
AM MPIN NOT SET BY CUSTOMER BD
B1 REGISTERED MOBILE NUMBER LINKED TO THE ACCOUNT HAS BEEN CHANGED/REMOVED BD
TRANSACTION NOT PERMITTED TO THE ACCOUNT (EXAMPLE: MINOR ACCOUNT, PROPRIETOR BD
B3 ACCOUNT,
LEGAL CASE AGAINST THIS ACCOUNT ETC., NRE (AS PER BANK’S POLICY))
B6 MISMATCH IN PAYMENT DETAILS TD
CA COMPLIANCE ERROR CODE FOR ACQUIRER BD
Response Type
D escription Meta API Remarks
co de
SCENARIO: CUSTOMER HAS BD
NEVER CREATED/ACTIVATED
AN ATM PIN HOWEVER
WHILE CREATING UPI PIN ON
THE PSP APP CUSTOMER
AJ CARD IS NOT ACTIVE RespRegMob
RANDOMLY ENTERS ANY
NUMERICAL VALUE IN THE
ATM PIN BLOCK IN MOBILE
BANKING REGISTRATION THE
RESPONSE SHOULD BE “AJ”
RespBalEnq , BD
AM MPIN NOT SET BY CUSTOMER
SetCre
EG: JOINT ACCOUNT, KARTA BD
ACCOUNT ETC.
B2 ACCOUNT LINKED WITH MULTIPLE NAMES RespListAccount 'RESPONSE CODES SENT BY
PSP META'!(AS PER BANK’S
POLICY
B3 TRANSACTION NOT PERMITTED TO THE ACCOUNT RespBalEnq BD
TD
B7 BANK CARD MANAGEMENT SYSTEM IS DOWN RespRegMob
RespListAcc, TD
UNABLE TO PROCESS DUE TO INTERNAL EXCEPTION RespBalEnq,
IR
AT SERVER/CBS/ETC ON REMITTER SIDE RespRegMob,
RespSetCreds
LC UNABLE TO PROCESS CREDIT FROM BANK’S BD
RespChkTxn
POOL/BGL ACCOUNT
LD UNABLE TO PROCESS DEBIT IN BANK’S POOL/BGL BD
RespChkTxn
ACCOUNT
INVALID MPIN ( VIOLATION OF POLICIES WHILE BD
RM RespSetCred
SETTING/CHANGING MPIN )
REGISTRATION IS TEMPORARY BLOCKED BD
RN RespRegMob
DUE TO MAXIMUM NO OF ATTEMPTS EXCEEDED
ACCOUNT IS ALREADY REGISTERED WITH MBEBA BD
RZ RespListAccount
FLAG AS 'Y'
SCENARIO: WHILE CREATING BD
UPI PIN
CUSTOMER HAS ENTERED
SP INVALID/INCORRECT ATM PIN RespRegMob
INVALID/INCORRECT ATM PIN
IN MOBILE BANKING
REGISTRATION
VN VAE DOES NOT EXIST ReqManageVae BD
XH ACCOUNT DOES NOT EXIST RespListAccount BD
XL EXPIRED CARD DETAILS RespRegMob BD
XN NO CARD RECORD FOUND RespRegMob BD
XR RESTRICTED CARD RespRegMob BD
Z6 NO OF PIN TRIES EXCEEDED RespBalEnq BD
ZM INVALID / INCORRECT MPIN RespRegMob BD
ZR INVALID / INCORRECT OTP RespRegMob BD
ZS OTP TIME EXPIRED RespRegMob BD
ZT NUMBER OF OTP’S TRIES HAS BEEN EXCEEDED RespRegMob BD
3.6.2 RespMandate
Response D escription TD /BD
co de
IB REVOKE MANDATE AFTER THE REMITTER UNBLOCKED THE AMOUNT BD
QJ UMN DOES NOT EXIST (PAYER) BD
QN DUPLICATE MANDATE REQUEST BD
VF UMN DOES NOT EXIST (REMITTER) BD
VG PAYER VPA IS INCORRECT (REMITTER) BD
VL MANDATE REGISTRATION NOT ALLOWED FOR CC PF PPF ACT (BANK'S POLICY) BD
VM NATURE OF DEBIT NOT ALLOWED IN ACCOUNT TYPE BD
VU MANDATE HAS EXPIRED BD
NU Unable to Notify the Customer BD
V1 SEQNUM MISMATCH (REMITTER) BD
3.8.2 RespPay
Response D escription TD /BD
co de
SD Service disable on UPI/ Customer is not active BD
Note : All reqmandate error code and response will be valid for API gateway as well.
Response TD /BD
D escription
co de
21 NO ACTION TAKEN (FULL REVERSAL) TD
32 PARTIAL REVERSAL TD
BT ACQUIRER/BENEFICIARY UNAVAILABLE(TIMEOUT) TD
RB CREDIT REVERSAL TIMEOUT(REVERSAL) TD
RP PARTIAL DEBIT REVERSAL TIMEOUT TD
For ReqPay RespPay and RespAuthDetails following prefix error codes are used:
H – Head validation HM – Meta part under Head validation T – Txn validation S - RiskScores validation L – Rules validation
R – Payer validation B – Payee validation I – Info validation D – Device validation A – Ac validation C – Creds validation V – Amount validation E – Resp
validation
For all other error codes from UPI service layer the prefix used is U.
In-case of <Head/> tag missing for any API, we would see U52 error message code because we are validating orgId for any request which is contained within
<Head/> tag.
PAYER.INSTITUTION.BENEFICIARY.NAME MUST BE TD
PJ5 name
PRESENT,MINLENGTH 1 MAXLENGTH 50
PAYER.INSTITUTION.ORIGINATOR.TYPE MUST BE PRESENT, TD
PJ6 <Originator/> type
INDIVIDUAL|COMPANY
PAYER.INSTITUTION.ORIGINATOR.ADDRESS.CITY MUST BE TD
PJ7 <Address/> city
PRESENT,MINLENGTH 1 MAXLENGTH 100
PAYER.INSTITUTION.ORIGINATOR.ADDRESS.COUNTRY MUST BE TD
PJ8 country
PRESENT,MINLENGTH 1 MAXLENGTH 100
PAYER.INSTITUTION.ORIGINATOR.ADDRESS.GEOCODE MUST BE TD
PJ9 geocode
PRESENT, IN nn.nnnn,nn.nnnn FORMAT
PAYER.INSTITUTION.PURPOSE.NOTE MUST BE TD
PJ0 <Purpose/> note
PRESENT,MINLENGTH 1 MAXLENGTH 50
INSTITUTION TAG SHOULD NOT BE PRESENT IF INITIATIONMODE TD
PK0 <Instituition/>
OTHER THAN 12
BUSINESS VALIDATION: ELEMENT <INSTITUTION/> TAG IS NOT MANDATORY FOR BOTH PAYER. IT GIVES INSTITUTION DETAILS OF NRE|NRO
TRANSACTIONS.
TD /BD
Er ror Code Message Details Element/ TAG Name Attribute
BUSINESS VALIDATION: ELEMENT <INFO/> TAG IS NOT MANDATORY BUT WILL BE VALIDATED IF GIVEN. INFO ELEMENT IS GIVEN ALL ATTRIBUTES ARE
REQUIRED. PAYER/PAYEE INCLUDED IN THE MESSAGES WILL COME DEPENDING UPON THEIR TYPE DURING VALIDATION.
D01 PAYER/PAYEE.DEVICE MUST BE PRESENT <Device/> TD
D02 PAYER/PAYEE. DEVICE.TAGS MUST BE PRESENT TD
D03 PAYER/PAYEE.TAG.DEVICE.NAME/VALUE MUST BE PRESENT name/value TD
D04 - D11 SAME VALIDATION MESSAGE BASED ON DEVICE TYPE TD
BUSINESS VALIDATION: ELEMENT < DEVICE /> TAG IS MANDATORY FOR PAYER AND PAYEE FOR RESPECTIVELY PAY AND COLLECT TRANSACTION. IF
DEVICE TAG IS GIVEN WHERE IT IS NOT MANDATORY IT WILL BE VALIDATED. PAYER/PAYEE INCLUDED IN THE MESSAGES WILL COME DEPENDING UPON
THEIR TYPE DURING VALIDATION.
A01 PAYER/PAYEE.AC MUST BE PRESENT < Ac/> TD
A02 PAYER/PAYEE .AC.ADDRTYPE MUST BE PRESENT addrType TD
A03 PAYER/PAYEE .AC.DETAIL MUST BE PRESENT detail TD
A04 PAYER/PAYEE .AC.NAME MUST BE PRESENT name TD
PAYER/PAYEE .AC.DETAIL.AADHAR MUST BE PRESENT OR NOT TD
A05
VALID
PAYER/PAYEE .AC.DETAIL.ACCOUNT MUST BE PRESENT OR NOT TD
A06
VALID
A07 PAYER/PAYEE .AC.DETAIL.MOBILE MUST BE PRESENT OR NOT VALID TD
A08 PAYER/PAYEE .AC.DETAIL.CARD MUST BE PRESENT OR NOT VALID TD
A09 PAYER/PAYEE .AC.DETAIL.VALUE INCORRECT FORMAT FOR / NAME TD
A10 PAYER/PAYEE .AC.DETAIL.VALUE MUST BE PRESENT FOR / NAME TD
PAYER/PAYEE AADHAAR BASED TRANSACTIONS ARE NOT BD
A11
SUPPORTED PRESENTLY
PAYER/PAYEE IFSC BASED TRANSACTIONS ARE NOT SUPPORTED BD
A12
PRESENTLY
PAYER/PAYEE MMID BASED TRANSACTIONS ARE NOT SUPPORTED BD
A13
PRESENTLY
BUSINESS VALIDATION: API EXPECTED TO HAVE <HEAD/> ELEMENT. ATTRIBUTE VER & TS WILL BE VALIDATED IF CON TAINS DATA.
ATTRIBUTE ORGID IS REQUIRED AND HAS TO BE REGISTERED WITH NPCI. ATTRIBUTE MSGID IS REQUIRED.
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.
PAYER TAG HAS AC CREDS NEWCREDS TAG REFERRED INSIDE.
K01 PAYER/PAYEE.AC MUST BE PRESENT < Ac/> TD
K02 PAYER/PAYEE .AC.ADDRTYPE MUST BE PRESENT addrType TD
K03 PAYER/PAYEE .AC.DETAIL MUST BE PRESENT detail TD
K04 PAYER/PAYEE .AC.NAME MUST BE PRESENT name TD
PAYER/PAYEE .AC.DETAIL.AADHAR MUST BE PRESENT OR NOT TD
K05
VALID
PAYER/PAYEE .AC.DETAIL.ACCOUNT MUST BE PRESENT OR NOT TD
K06
VALID
K07 PAYER/PAYEE .AC.DETAIL.MOBILE MUST BE PRESENT OR NOT VALID TD
K08 PAYER/PAYEE .AC.DETAIL.CARD MUST BE PRESENT OR NOT VALID TD
K09 PAYER/PAYEE .AC.DETAIL.VALUE MUST BE PRESENT FOR / NAME TD
BUSINESS VALIDATION: ELEMENT < AC /> TAG IS MANDATORY. AC VALIDATION IS DONE BASED ON AADHAR ACCOUNT MOBILE CARD.
W01 PAYER/PAYEE .CREDS NOT PRESENT <Creds/> TD
W02 PAYER/PAYEE .CREDS.CRED MUST BE PRESENT TD
W03 PAYER/PAYEE.CRED DATA IS WRONG TD
W04 PAYER/PAYEE .CRED.AADHAR MUST BE PRESENT TD
W05 PAYER/PAYEE .CRED.OTP MUST BE PRESENT TD
W06 PAYER/PAYEE .CRED.PIN MUST BE PRESENT TD
W07 PAYER/PAYEE .CRED.CARD MUST BE PRESENT TD
W08 PAYER/PAYEE .CRED.PREAPPROVED MUST BE PRESENT TD
W09 PAYER/PAYEE .CRED.DATA MUST BE PRESENT TD
PAYER/PAYEE . .CRED.DATA ENCRYPTED AUTHENTICATION MUST TD
W10
BE PRESENT
BUSINESS VALIDATION: ELEMENT < CREDS /> TAG IS MANDATORY.
N01 - N10 SAME VALIDATION LIKE CREDS. <NewCred/> TD
(NOTE – Error codes U97, U98, U99 are applicable for all Meta APIs. Same highlighted here specifically for ValCust Meta API.)
4.3.15 UDIR
Er ror Code TD /BD
Message Details
(by UPI)
C15 Only Beneficiary can initiate Preapproved Refund. BD
C24 Complaint Not Present TD
C25 Complaint ReqAdjFlag not present TD
C26 Complaint ReqAdjCode not present TD
E13 Resp.AdjCode should be present TD
E10 Ref adjAmt should be within 18 digits including 2 decimal TD
E15 Ref approvalNum is mandatory & text TD
E20 Resp.AdjFlag should be present TD
R14 Txn.OrgTxnDate must be present/ valid TD
T08 Txn.getOrgTxnId must be present/ valid; alphanumeric; minlength 1 , maxlength 35 TD
T30
PurposeCode should be "19" & InitiationMode "11|13"
IU0 UUID not present in the system BD
T27 BD
UUID Must be Valid, Alphanumeric, length must be either 32 or 36 before '@'
J09 MCC Mismatch with Mandatecreation and ValAdd BD
UN0 REQMANDATE NEGATIVE ACK RECEIVED FROM REMITTER BANK ReqMandate (Remitter) TD
RESPMANDATE NEGATIVE ACK SENT FROM UPI TO REMITTER
UN1
BANK RespMandate (remitter) TD
UN2 ORIGINAL REQMANDATE NOT FOUND ReqMandate TD
UN3 RESPMANDATE ACK NOT RECEIVED FROM PAYER RespMandate (Payer) TD
UN4 REQMANDATECONFIRMATION ACK NOT RECEIVED FROM PAYER ReqMandateConfirmation (Payer) TD
UN5 PAYER PSP NOT AVAILABLE ReqMandate(Payee initiated) TD
UN6 PAYEE PSP NOT AVAILABLE ReqMandate(Payer Initiated) TD
UN7 REMITTER BANK NOT AVAILABLE ReqMandate (Remitter) TD
UN8 PAYER PSP NOT REGISTERED ReqMandate TD
UN9 PAYEE PSP NOT REGISTERED ReqMandate TD
UO0 REMITTER BANK NOT REGISTERED (MANDATE) ReqMandate TD
UO1 BENEFICIARY BANK NOT REGISTERED (MANDATE) RespAuthMandate TD
UP2 MANDATE AMOUNT CAP IS EXCEEDED ReqMandate BD
S99 Graceful decline -
HS1 HSM is offline -
HS2 HSM Time out -
HS3 HSM communication error -
TIMESTAMP VALUE IS FUTURE TIME (VALUE SPECIFIED "PID->TS" IS AHEAD OF AUTHENTICATION SERVER TIME BEYOND ACCEPTABLE
562
THRESHOLD)
563 DUPLICATE REQUEST (THIS ERROR OCCURS WHEN EXACTLY SAME AUTHENTICATION REQUEST WAS RESENT BY AUA)
564 HMAC VALIDATION FAILED
565 LICENSE KEY HAS EXPIRED
566 INVALID LICENSE KEY
INVALID INPUT (THIS ERROR OCCURS WHEN SOME UNSUPPORTED CHARACTERS WERE FOUND IN INDIAN LANGUAGE VALUES,
567
"LNAME" OR "LAV")
568 UNSUPPORTED LANGUAGE
DIGITAL SIGNATURE VERIFICATION FAILED (THIS MEANS THAT AUTHENTICATION REQUEST XML WAS MODIFIED AFTER IT WAS
569
SIGNED)
INVALID KEY INFO IN DIGITAL SIGNATURE (THIS MEANS THAT CERTIFICATE USED FOR SIGNING THE AUTHENTICATION REQUEST IS
570 NOT VALID – IT IS EITHER EXPIRED, OR DOES NOT BELONG TO THE AUA OR IS NOT CREATED BY A WELL-KNOWN CERTIFICATION
AUTHORITY)
PIN REQUIRES RESET (THIS ERROR WILL BE RETURNED IF RESIDENT IS USING THE DEFAULT PIN WHICH NEEDS TO BE RESET BEFORE
571
USAGE)
INVALID BIOMETRIC POSITION (THIS ERROR IS RETURNED IF BIOMETRIC POSITION VALUE "POS" ATTRIBUTE IN "BIO" ELEMENT - IS
572
NOT APPLICABLE FOR A GIVEN BIOMETRIC TYPE - "TYPE" ATTRIBUTE IN "BIO" ELEMENT.)
573 PI USAGE NOT ALLOWED AS PER LICENSE
574 PA USAGE NOT ALLOWED AS PER LICENSE
575 PFA USAGE NOT ALLOWED AS PER LICENSE
576 FMR USAGE NOT ALLOWED AS PER LICENSE
577 FIR USAGE NOT ALLOWED AS PER LICENSE
578 IIR USAGE NOT ALLOWED AS PER LICENSE
579 OTP USAGE NOT ALLOWED AS PER LICENSE
580 PIN USAGE NOT ALLOWED AS PER LICENSE
581 FUZZY MATCHING USAGE NOT ALLOWED AS PER LICENSE
582 LOCAL LANGUAGE USAGE NOT ALLOWED AS PER LICENSE
584 INVALID PIN CODE IN META ELEMENT
585 INVALID GEO CODE IN META ELEMENT
710 MISSING "PI" DATA AS SPECIFIED IN "USES"