Response and action code mapping

Mapping table for Remote API response codes and network action codes.

Each action taken on a transaction is associated with a code; different codes are assigned to the same action by different parties/networks i.e. Mastercard, Visa, Remote API, Transaction Stream.

The table below shows the different codes used by Mastercard, UnionPay and Visa and how they are mapped to Remote API Response Codes and Paymentology's Transaction Stream (PubNub).

Response and action code mapping table

TRANSACTION STREAM/PUBNUB RESPONSE CODEREMOTE API RESPONSE CODEDESCRIPTIONISO_VAR_1993 (GIM)MASTERCARDVISA (BASE 1)UNIONPAY
00001APPROVED00000000
00022APPROVED FOR APRTIAL AMOUNT3 *** (3)101010
1000-7 AND -9DO NOT HONOUR100050505
1001-36EXPIRED CARD201 *** (2001)545454
1002-37SUSPECTED FRAUD10257 *** (1019)5959
1004-29RESTRICTED CARD104 *** (1018)626262 *** (9999)
1006-26ALLOWABLE PIN TRIES EXCEEDED106 *** (2006)757575
1009-8INVALID CARD ACCEPTOR1091203 *** (3)12 *** (9102)
1010-19INVALID AMOUNT1101313 *** (13)13
1011-4INVALID CARD NUMBER202 *** (2002)1414 *** (14)14
1015-41REQUESTED FUNCTION NOT SUPPORTED11512 *** (1009)12 *** (1061)12 *** (9102)
1016-17NOT SUFFICIENT FUNDS1165151 *** (51)51
1017-25INCORRECT PIN117555555
1018-16NO CARD RECORD202 *** (2002)14 *** (1011)14 *** (14)14 *** (1011)
1019-784TRANSACTION NOT PERMITTED TO CARDHOLDER1195757 *** (57)57
1020-5TRANSACTION NOT PERMITTED TO TERMINAL120585858
1021-18EXCEEDS WITHDRAWAL AMOUNT LIMIT123 *** (1023)616161
1022-24SECURITY VIOLATION183 *** (1045)6363 *** (63)05 *** (1000)
1025-17CARD NOT EFFECTIVE-96 *** (9109)06 *** (9999)-
1026-27INVALID PIN BLOCK-96 *** (9109)81 *** (9119)-
1027-28PIN LENGTH ERROR12755 *** (1017)55 *** (1017)55 *** (1017)
1035-34CLOSED ACCOUNT125 *** (1000)7846 *** (46)-
1075MISSING EXPIRY DATE201 *** (2001)54 *** (1001)54 *** (1001)54 *** (1001)
1076INCORRECT EXPIRY DATE201 *** (2001)54 *** (1001)54 *** (1001)54 *** (1001)
1077EXPIRED CVV2183 *** (1045)63 *** (1022)N7 *** (9124)05 *** (1000)
2008-38LOST CARD208414141
2009-39STOLEN CARD209434343
4000REVERSAL ACCEPTED-96 *** (9109)06 *** (9999)00 *** (0)
9102-41INVALID TRANSACTION90212 *** (1009)12 *** (1061)12
9111-7CARD ISSUER TIMED OUT9118291 *** (9107)98 *** (9999)
9113-3DUPLICATE TRANSMISSION308 *** (3008)9412 *** (1061)94