In this article you will be going to know about:



What is Response Code/Status?


The response code/status is the authorization code/status that will be received for every transaction once it has been performed. 



The response code/status/message can be found in both the "return" response and the "callback" response. As well as on the transaction screen on your dashboard as well.



Callback Response

"payment_result": {
    "response_status": "A",
    "response_code": "G31822",
    "response_message": "Authorised",
  },

Return Response

acquirerMessage=
&acquirerRRN=
&cartId=cart_11111
&respCode=G31822
&respMessage=Authorised
&respStatus=A


Response on the Dashboard

<img>

Things you should know

  1. The value (A) of the "response_status" field in the callback is the same as the value (A) of the "respStatus" field in the return.
  2. The value (G31822) of the "response_code" field in the callback is the same as the value (G31822) of the "respCode" field in the return.


The merchant can depend on (response_status/respStatus) as (A) for the authorized transaction.


If the response status (response_status/respStatus) is error/decline (E or D), then the (response_code/respCode) can be used to help determine why it was declined.



What are the general response statuses


Response Status
Description
AAuthorized
HHold (Authorised but on hold for further anti-fraud review)
PPending (for refunds)
VVoided
EError
DDeclined


What are the different response codes/statuses?


The decline codes (Response code) are for the merchants internal use, it shouldn't be shown to the customers. 
The customer should have a general message like "Sorry, we are unable to process your transaction at this time" to protect the merchant.


Response code

Response status

 Response message

Issuer  Auth Code
Identifier
(ex. G31822)
AAuthorised

1

E

Authentication Failed

2

E

Invalid request

3

E

Invalid profile ID

4

E

Duplicate request

5

E

Request limit exceeded

100

E

Transaction cost or currency not valid

101

E

Cart ID not valid

102

E

Description not valid

103

E

Name not valid

104

E

Address not valid

105

E

Country not valid

106

E

Email not valid

107

E

Phone number not valid

108

E

IP address not valid

109

E

Invalid transaction mode

110

E

Invalid transaction type

111

E

Invalid transaction class

112

E

Method/Class/Currency combination not supported

113

E

Invalid transaction reference

114

E

Amount differs from original

115

E

Original transaction not authorised

116

E

Original transaction already voided

117

E

Original transaction mismatch

118

E

Amount greater than available balance

119

E

Original transaction can not be voided

120

E

Previous transaction is on hold

121

E

Transaction mode differs from original

122

D

Continuous authority not available on referenced transaction

200

E

Invalid card number

201

E

Invalid card expiry date

202

E

Invalid card security code (CVV)

203

E

Invalid account

204

E

Previous transaction in use

205

E

Invalid payment method

206

D

Currency mismatch

207

E

Invalid terminal

208

E

Invalid return url

209

E

Invalid merchant token

210

E

Invalid callback url

300

D

Not authorised

301

D

Card expiry date required

302

D

Card expired/Incorrect expiry date

303

D

Card is for ATM use only

304

D

Card security code (CVV) required

305

D

Card security code (CVV) mismatch

306

D

Address verification (AVS) mismatch

307

D

Card security code (CVV) and address (AVS) mismatch

308

D

Card is not enabled for e-commerce

309

D

3DSecure authentication not available for this card

310

D

3DSecure authentication rejected

311

D

Card cancelled

312

D

No/invalid account

313

D

Transaction not permitted by issuer

314

D

Not authorised

315

D

Not authorised

316

D

Insufficient funds

317

D

Blocked by acquirer

318

X

Authorisation expired

319

D

Unable to void

320

D

Unable to refund

321

C

Cancelled

322

D

Not supported by acquirer

323

D

Card limits exceeded

324

D

Terminal limits exceeded

325

D

Merchant limits exceeded

326

D

Account limits exceeded

327

D

OTP timeout

400

E

Internal system error

401

E

No response

402

E

Error connecting to service provider

500

D

Declined

501

D

Declined

502

D

Declined

503

D

Declined

600

P

Pending

601

H

On Hold