User's Guide

Table Of Contents
Fraud Protection Services User’s Guide 65
8
Responses to Credit Card
Transaction Requests
This chapter describes the contents of a response to a credit card transaction request.
In This Chapter
“An Example Response String” on page 65
“Contents of a Response to a Credit Card Transaction Request” on page 65
“PNREF Value” on page 66
“RESULT Codes and RESPMSG Values” on page 67
An Example Response String
When a transaction finishes, the server returns a response string made up of name-value pairs.
For example, this is a response to a credit card Sale transaction request:
RESULT=0&PNREF=VXYZ01234567&RESPMSG=APPROVED&AUTHCODE=123456&AVSADDR=Y&AVSZ
IP=N&IAVS=Y&CVV2MATCH=Y
Contents of a Response to a Credit Card Transaction Request
All transaction responses include values for RESULT, PNREF, and RESPMSG. A value for
AUTHCODE is included for Voice Authorization transactions. Values for AVSADDR and
AVSZIP are included if you use address verification system (AVS). Table 8.1 describes the
values returned in a response string.
TABLE 8.1 Transaction response values
Field Description Type Length
PNREF Reference ID, a unique number that identifies the
transaction. PNREF is described in
“PNREF
Format” on page 67
.
Alpha-
numeric
12
RESULT The outcome of the attempted transaction. A result
of 0 (zero) indicates the transaction was approved.
Any other number indicates a decline or error.
RESULT codes are described in
“RESULT Codes
and RESPMSG Values” on page 67
.
Numeric Variable