Payment Response Codes

Map each payment responseCode to its meaning and status to handle approvals, declines, and errors programmatically

Every payment response includes a responseCode: an integer that gives the specific reason for the payment's status. Read it together with authMessage (the human-readable description) and, when present, IssuerResponseCode (the issuer's own two-digit code). Use this reference to map each responseCode to its meaning and status so you can handle outcomes programmatically. For guidance on what to do after a decline, see Handling Declines.

These codes indicate a successful transaction or a successful action. A Partial Approval means the card issuer approved a lower amount than what was requested.

Response CodeAuthorization MessageStatus
0Approved or completed successfullyApproved
8Honor with IDApproved
10Partial ApprovalPartial Approval
85Not declined Valid for all zero amount transactionsApproved
87Purchase Amount Only, No Cash Back AllowedApproved
2Approved for a lesser amount than what was requestedPartial Approval
101ReferralApproved
109Approved (not captured)Approved
110AVS Request AcceptedApproved
123Balance InquiryApproved
125Close batch successfulApproved
126Deposit InquiryApproved
136Certificate Not RecognizedApproved
400Reversal SuccessApproved

AVS and CVV results (risk object)

Address (AVS) and card-security-code (CVV) results are not part of responseCode. The issuer returns them as letter codes inside a risk object on the payment response:

"risk": {
  "avsResponseCode": "X",
  "avsResponse": "Address and postal code match",
  "avsAddressMatch": true,
  "avsZipMatch": true,
  "cvvResponseCode": "M",
  "cvvResponse": "Match",
  "cvvMatch": true,
  "emsResponseCode": ""
}
FieldTypeDescription
avsResponseCodestringAVS letter code from the issuer (see table below).
avsResponsestringHuman-readable AVS result.
avsAddressMatchbooleantrue if the billing street address matched.
avsZipMatchbooleantrue if the billing postal/ZIP matched.
cvvResponseCodestringCVV letter code from the issuer (see table below).
cvvResponsestringHuman-readable CVV result.
cvvMatchbooleantrue if the submitted CVV matched.
emsResponseCodestringEnhanced fraud-screening (EMS) result, when enabled; empty when not run.

AVS letter codes

CodeMeaning
YAddress and postal code both match
AAddress matches, postal code does not
ZPostal code matches, address does not
NNeither address nor postal code matches
XAddress and postal code match (exact, U.S.)
UAddress information unavailable
RRetry — issuer system unavailable
SAVS not supported by the issuer
GNon-U.S. issuer; AVS unavailable

For the full AVS code list (including international variants) and auto-decline behavior, see Address Verification System (AVS).

CVV letter codes

CodeMeaning
MMatch
NNo match
PNot processed
SCVV should be present but was not submitted
UIssuer does not support CVV / unavailable

See CVV response codes for details.



Did this page help you?
.readme-logo { display: none !important; }