PHN6WKI7 UPI Error and Response Codes V 2 3 1
PHN6WKI7 UPI Error and Response Codes V 2 3 1
PHN6WKI7 UPI Error and Response Codes V 2 3 1
2.1 16/09/2016 Added two response codes ( AM , BR) in sec 3.4 & AM in Sec 3.1
2.2 25/10/2016 Added three response codes – B1 , B3 in Sec 3.1 & B2 in Sec 3.4
2.3 24/11/2016 Added three response codes – TM in Sec 3.3 & SP,AJ in Sec 3.4
2.3.1 15/06/2017 Added Response Code DF, DT, NO, PS in Sec 3.1, Response Code OC,OD,NC and ND in Sec 3.2, Response code VN, VE in Sec 3.4,
Response code E13, E15 in Sec 4.3.3, Error Code G74, Error Code U77, U78 in Sec 4.4
V 2.3.1 Page 1 of 37
UPI Error and Response Codes
Table of Contents
1. Introduction................................................................................................................................................................................................................................................... 4
3.1 Response codes in RespPay Debit, RespPay Credit & RespChkTxn API: ............................................................................................................................................................ 6
3.2 Response codes in RespPayReversal API ............................................................................................................................................................................................................ 8
3.3 Response codes in RespAuthDetail API .............................................................................................................................................................................................................. 9
3.4 Response codes sent by PSP in Meta API ......................................................................................................................................................................................................... 10
4. Codes populated by UPI ............................................................................................................................................................................................................................... 12
V 2.3.1 Page 2 of 37
UPI Error and Response Codes
V 2.3.1 Page 3 of 37
UPI Error and Response Codes
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 status can be known by the issuer PSP using the
RespTxnConfirmation.
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.
V 2.3.1 Page 4 of 37
UPI Error and Response Codes
V 2.3.1 Page 5 of 37
UPI Error and Response Codes
3.1 Response codes in RespPay Debit, RespPay Credit & 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 Description
00 APPROVED OR COMPLETED SUCCESSFULLY
AM MPIN NOT SET BY CUSTOMER
B1 REGISTERED MOBILE NUMBER LINKED TO THE ACCOUNT HAS BEEN CHANGED/REMOVED
TRANSACTION NOT PERMITTED TO THE ACCOUNT (EXAMPLE: MINOR ACCOUNT, PROPRIETOR ACCOUNT,
B3
LEGAL CASE AGAINST THIS ACCOUNT ETC., NRE (AS PER BANK’S POLICY))
DF DUPLICATE RRN FOUND IN THE TRANSACTION. (BENEFICIARY)
DT DUPLICATE RRN FOUND IN THE TRANSACTION. (REMITTER)
K1 SUSPECTED FRAUD, DECLINE / TRANSACTIONS DECLINED BASED ON RISK SCORE BY REMITTER
NO NO ORIGINAL REQUEST FOUND DURING DEBIT/CREDIT
PS MAXIMUM BALANCE EXCEEDED AS SET BY BENEFICIARY BANK
X6 INVALID MERCHANT (ACQURIER)
X7 MERCHANT NOT REACHABLE (ACQURIER)
XB INVALID TRANSACTION OR IF MEMBER IS NOT ABLE TO FIND ANY APPROPRIATE RESPONSE CODE (REMITTER)
XC INVALID TRANSACTION OR IF MEMBER IS NOT ABLE TO FIND ANY APPROPRIATE RESPONSE CODE (BENEFICIARY)
XD INVALID AMOUNT (REMITTER)
XE INVALID AMOUNT (BENEFICIARY)
XF FORMAT ERROR (INVALID FORMAT) (REMITTER)
V 2.3.1 Page 6 of 37
UPI Error and Response Codes
V 2.3.1 Page 7 of 37
UPI Error and Response Codes
V 2.3.1 Page 8 of 37
UPI Error and Response Codes
V 2.3.1 Page 9 of 37
UPI Error and Response Codes
V 2.3.1 Page 10 of 37
UPI Error and Response Codes
V 2.3.1 Page 11 of 37
UPI Error and Response Codes
V 2.3.1 Page 12 of 37
UPI Error and Response Codes
05 DO NOT HONOUR
08 HOST (CBS) OFFLINE
08 ISSUER NODE OFFLINE
10 PIN BLOCK ERROR
12 INVALID TRANSACTION
13 INVALID AMOUNT FIELD
14 INVALID CARD NUMBER
17 CUSTOMER CANCELLATION
20 INVALID RESPONSE CODE
21 NO ACTION TAKEN
22 SUSPECTED MALFUNCTION
30 INVALID MESSAGE FORMAT
34 SUSPECTED FRAUD
36 RESTRICTED CARD
40 INVALID DEBIT ACCOUNT
43 LOST OR STOLEN ACCOUNT
51 NOT SUFFICIENT FUNDS
52 INVALID ACCOUNT
54 EXPIRED CARD
57 TRANSACTION NOT PERMITTED TO ACCOUNT HOLDER
61 EXCEEDS TRANSACTION AMOUNT LIMIT
62 WARM CARD: RESTRICTED USE
63 SECURITY VIOLATION
65 EXCEEDS TRANSACTION FREQUENCY LIMIT
68 RESPONSE RECEIVED TOO LATE
75 EXCESSIVE PIN TRIES
V 2.3.1 Page 13 of 37
UPI Error and Response Codes
V 2.3.1 Page 14 of 37
UPI Error and Response Codes
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.
V 2.3.1 Page 15 of 37
UPI Error and Response Codes
V 2.3.1 Page 16 of 37
UPI Error and Response Codes
V 2.3.1 Page 17 of 37
UPI Error and Response Codes
V 2.3.1 Page 18 of 37
UPI Error and Response Codes
V 2.3.1 Page 19 of 37
UPI Error and Response Codes
V 2.3.1 Page 20 of 37
UPI Error and Response Codes
V 2.3.1 Page 21 of 37
UPI Error and Response Codes
MINLEGTH 1 MAXLENGTH 20
V 2.3.1 Page 22 of 37
UPI Error and Response Codes
V 2.3.1 Page 23 of 37
UPI Error and Response Codes
V 2.3.1 Page 24 of 37
UPI Error and Response Codes
MAXLENGTH 5
BUSINESS VALIDATION: ELEMENT < RISKSCORES /> TAG IS NOT MANDATORY BUT WILL BE VALIDATED IF GIVEN.
E01 <RESP> MUST BE PRESENT < Resp/>
E02 RESP.MSGID MUST BE PRESENT MAXLENGTH 35 reqMsgId
RESP.RESULT MUST BE PRESENT ALPHANUMERIC
E03 result
MIN LENGTH 1 MAX LENGTH 20
E04 RESP.ERRORCODE MUST BE PRESENT errCode
E05 RESP.ERRORCODE SHOULD NOT BE PRESENT errCode
E06 RESP.ERRORCODE MUST BE SUCCESS OR FAILURE result
E07 TYPE IS MANDATORY & ALPHANUMERIC <Ref/> type
E08 SEQNUM IS MANDATORY & NUMERIC seqNum
E09 ADDR IS MANDATORY & ALPHANUMERIC addr
E10 SETTLEAMOUNT IS MANDATORY & DECIMAL settAmount
E11 SETTLECURRENCY IS MANDATORY & TEXT settCurrency
E12 APPROVALNUM IS MANDATORY & TEXT approvalNum
E13 RESPCODE IS MANDATORY & ALPHANUMERIC AND MUST BE VALID respCode
E14 SETTLEAMOUNT OF FAILURE CASES CANNOT BE MORE THAN ZERO settleAmount
E15 INVALID RESPONSE CODE FOR THIS API respCode
BUSINESS VALIDATION: ELEMENT < RESP /> TAG IS MANDATORY. ATTRIBUTE MSGID AND RESULT ARE MANDATORY.
ERRCODE IS MANDATORY IF RESULT IS FAILURE. REF TAG IS REFERRED INSIDE RESP. IF REF ELEMENT IS GIVEN THEN THIS TAG WILL BE VALIDATED.
ALL REF ATTRIBUTES ARE MANDATORY.
V 2.3.1 Page 25 of 37
UPI Error and Response Codes
V 2.3.1 Page 26 of 37
UPI Error and Response Codes
V 2.3.1 Page 27 of 37
UPI Error and Response Codes
V 2.3.1 Page 28 of 37
UPI Error and Response Codes
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/>
K02 PAYER/PAYEE .AC.ADDRTYPE MUST BE PRESENT addrType
K03 PAYER/PAYEE .AC.DETAIL MUST BE PRESENT detail
K04 PAYER/PAYEE .AC.NAME MUST BE PRESENT name
K05 PAYER/PAYEE .AC.DETAIL.AADHAR MUST BE PRESENT OR NOT VALID
K06 PAYER/PAYEE .AC.DETAIL.ACCOUNT MUST BE PRESENT OR NOT VALID
K07 PAYER/PAYEE .AC.DETAIL.MOBILE MUST BE PRESENT OR NOT VALID
K08 PAYER/PAYEE .AC.DETAIL.CARD MUST BE PRESENT OR NOT VALID
K09 PAYER/PAYEE .AC.DETAIL.VALUE MUST BE PRESENT FOR / NAME
BUSINESS VALIDATION: ELEMENT < AC /> TAG IS MANDATORY. AC VALIDATION IS DONE BASED ON AADHAR ACCOUNT MOBILE CARD.
W01 PAYER/PAYEE .CREDS NOT PRESENT <Creds/>
W02 PAYER/PAYEE .CREDS.CRED MUST BE PRESENT
W03 PAYER/PAYEE.CRED DATA IS WRONG
W04 PAYER/PAYEE .CRED.AADHAR MUST BE PRESENT
W05 PAYER/PAYEE .CRED.OTP MUST BE PRESENT
W06 PAYER/PAYEE .CRED.PIN MUST BE PRESENT
W07 PAYER/PAYEE .CRED.CARD MUST BE PRESENT
W08 PAYER/PAYEE .CRED.PREAPPROVED MUST BE PRESENT
W09 PAYER/PAYEE .CRED.DATA MUST BE PRESENT
PAYER/PAYEE . .CRED.DATA ENCRYPTED AUTHENTICATION MUST BE
W10
PRESENT
BUSINESS VALIDATION: ELEMENT < CREDS /> TAG IS MANDATORY.
N01 - N10 SAME VALIDATION LIKE CREDS. <NewCred/>
BUSINESS VALIDATION: ELEMENT < NEWCRED /> TAG IS MANDATORY.
V 2.3.1 Page 29 of 37
UPI Error and Response Codes
V 2.3.1 Page 30 of 37
UPI Error and Response Codes
V 2.3.1 Page 31 of 37
UPI Error and Response Codes
V 2.3.1 Page 32 of 37
UPI Error and Response Codes
V 2.3.1 Page 33 of 37
UPI Error and Response Codes
V 2.3.1 Page 34 of 37
UPI Error and Response Codes
V 2.3.1 Page 35 of 37
UPI Error and Response Codes
V 2.3.1 Page 36 of 37
UPI Error and Response Codes
V 2.3.1 Page 37 of 37