Appendix B - Functional Reference & Result Fields

In version 3.0 and 3.1 of the system, there are many ways to integrate a merchant's server with the system. This section provides a convenient reference to all of the types of information that can be sent to the system, and all of the things that could be expected in return. All integration with the system is done by performing an HTTP(S) form POST to https://secure.authorize.net/gateway/transact.dll.

Form Fields

The following table provides an alphabetical list of all of the possible values that will be recognized by the system when sent in an HTML form. This table specifies which fields and which values are needed for each of the different connection types.

v3.0 and v3.1 Gateway Interface Form Field NamesPossible Values (Bold = Default if not present or stored)WebLinkADC Direct ResponseADC Relay Response
x_ADC_Delim_Characterany character ( , )N/AoptionalN/A
x_ADC_Delim_DataTRUEN/ArequiredN/A
x_ADC_Encapsulate_Characterany character (none)N/AoptionalN/A
x_ADC_Relay_ResponseTRUEN/AN/A required
x_ADC_URLany valid URL (or FALSE for ADC Direct Response)N/Arequired(it is required for x_ADC_URL to have a value of “FALSE” for ADC Direct Response)required
x_Addressany stringrequired for all eCheck transactions and Wells Fargo SecureSource Merchants—otherwise optionalrequired for all eCheck transactions and Wells Fargo SecureSource Merchants—otherwise optionalrequired for all eCheck transactions and Wells Fargo SecureSource Merchants—otherwise optional
x_Amountany valid amountrequiredrequiredrequired
x_Auth_Codeany valid Authorization Codeoptionaloptionaloptional
x_Background_URLany valid URLoptionaloptionaloptional
x_Bank_ABA_Codeany valid bank ABA coderequired for all eCheck transactions—otherwise optional required for all eCheck transactions—otherwise optionalrequired for all eCheck transactions—otherwise optional
x_Bank_Acct_Numany valid bank account numberrequired for all eCheck transactions—otherwise optional required for all eCheck transactions—otherwise optionalrequired for all eCheck transactions—otherwise optional
x_Bank_Acct_TypeCHECKING, SAVINGSoptionaloptionaloptional
x_Bank_Nameany valid bank namerequired for all eCheck transactions—otherwise optionalrequired for all eCheck transactions—otherwise optionalrequired for all eCheck transactions—otherwise optional
x_Card_Codeany valid CVV2 or CVC2 valueoptionaloptionaloptional
x_Card_Numany valid credit card numberrequired if not using x_Show_Formrequiredrequired if not using x_Show_Form
x_Cityany stringrequired for all eCheck transactions and Wells Fargo SecureSource Merchants—otherwise optional required for all eCheck transactions and Wells Fargo SecureSource Merchants—otherwise optionalrequired for all eCheck transactions and Wells Fargo SecureSource Merchants—otherwise optional
x_Color_Backgroundany valid color or color hex code (White or #FFFFFF)optionaloptionaloptional
x_Color_Linkany valid color or color hex code (Blue or #0000FF)optionaloptionaloptional
x_Color_Textany valid color or color hex code (Black or #000000)optionaloptionaloptional
x_Companyany stringoptionaloptionaloptional
x_Countryany stringrequired for all eCheck transactions and Wells Fargo SecureSource Merchants—otherwise optionalrequired for all eCheck transactions and Wells Fargo SecureSource Merchants—otherwise optionalrequired for all eCheck transactions and Wells Fargo SecureSource Merchants—otherwise optional
x_Currency_CodeUSDoptionaloptionaloptional
x_Cust_IDany stringoptionaloptionaloptional
x_Customer_IPMust be in the format 255.255.255.255required for all eCheck transactions and Wells Fargo SecureSource Merchants—otherwise optionalrequired for all eCheck transactions and Wells Fargo SecureSource Merchants—otherwise optionalrequired for all eCheck transactions and Wells Fargo SecureSource Merchants—otherwise optional
x_Customer_Tax_ID20 digits (numbers and spaces only)—may be used for customer SSNrequired for all eCheck transactions (either drivers license #, state and DOB, or SSN)required for all eCheck transactions (either drivers license #, state and DOB, or SSN)required for all eCheck transactions (either drivers license #, state and DOB, or SSN)
x_Customer_Organization_Type"I" or "B" "I" = Individual "B" = Businessrequired for all eCheck transactions and Wells Fargo SecureSource Merchants—otherwise optionalrequired for all eCheck transactions and Wells Fargo SecureSource Merchants—otherwise optionalrequired for all eCheck transactions and Wells Fargo SecureSource Merchants—otherwise optional
x_Descriptionany stringoptionaloptionaloptional
x_Drivers_License_NumeCheck only, any stringrequired for all eCheck transactions (either drivers license #, state and DOB, or SSN) required for all eCheck transactions (either drivers license #, state and DOB, or SSN)required for all eCheck transactions (either drivers license #, state and DOB, or SSN)
x_Drivers_License_StateeCheck only, 2-character state abbreviationrequired for all eCheck transactions (either drivers license #, state and DOB, or SSN)required for all eCheck transactions (either drivers license #, state and DOB, or SSN)required for all eCheck transactions (either drivers license #, state and DOB, or SSN)
x_Drivers_License_DOBeCheck only, YYYYMMDDrequired for all eCheck transactions (either drivers license #, state and DOB, or SSN)required for all eCheck transactions (either drivers license #, state and DOB, or SSN)required for all eCheck transactions (either drivers license #, state and DOB, or SSN)
x_Dutyany valid amountoptionaloptionaloptional
x_Emailany valid email addressrequired for all eCheck transactions and Wells Fargo SecureSource Merchants—otherwise optionalrequired for all eCheck transactions and Wells Fargo SecureSource Merchants—otherwise optionalrequired for all eCheck transactions and Wells Fargo SecureSource Merchants—otherwise optional
x_Email_CustomerTRUE, FALSEoptionaloptionaloptional
x_Email_MerchantTRUE, FALSEoptionaloptionaloptional
x_Exp_Datemmyy, mm/yy, mm/yyyyrequired if not using x_Show_Formrequiredrequired if not using x_Show_Form
x_Faxany stringoptionaloptionaloptional
x_First_Nameany stringrequired for all eCheck transactions and Wells Fargo SecureSource Merchants—otherwise optionalrequired for all eCheck transactions and Wells Fargo SecureSource Merchants—otherwise optionalrequired for all eCheck transactions and Wells Fargo SecureSource Merchants—otherwise optional
x_Footer_Email_Receiptany valid textoptionaloptionaloptional
x_Footer_Html_Payment_Formany valid text or HTMLoptionaloptionaloptional
x_Footer_Html_Receiptany valid text or HTMLoptionaloptionaloptional
x_Freightany valid amountRequired for all eCheck transactions and Wells Fargo SecureSource Merchants ($0 is valid)—otherwise optionalRequired for all eCheck transactions and Wells Fargo SecureSource Merchants ($0 is valid)—otherwise optionalRequired for all eCheck transactions and Wells Fargo SecureSource Merchants ($0 is valid)—otherwise optional
x_Header_Email_Receiptany valid textoptionaloptionaloptional
x_Header_Html_Payment_Formany valid text or HTMLoptionaloptionaloptional
x_Header_Html_Receiptany valid text or HTMLoptionaloptionaloptional
x_Invoice_Numany stringoptionaloptionaloptional
x_Last_Nameany stringrequired for all eCheck transactions and Wells Fargo SecureSource Merchants—otherwise optional required for all eCheck transactions and Wells Fargo SecureSource Merchants—otherwise optionalrequired for all eCheck transactions and Wells Fargo SecureSource Merchants—otherwise optional
x_Loginany valid merchant login IDrequiredrequiredrequired
x_Logo_URLany valid URLoptionaloptionaloptional
x_Merchant_Emailany valid email addressoptionaloptionaloptional
x_MethodCC, ECHECKshould be set to ECHECK for eCheck transactions—otherwise optionalshould be set to ECHECK for eCheck transactions—otherwise optionalshould be set to ECHECK for eCheck transactions—otherwise optional
x_Passwordvalid password for the Login ID specified in x_LoginN/Arequired for x_Type values of CREDIT, VOID, CAPTURE_ONLY, and PRIOR_AUTH_CAPTURE—otherwise optionalrequired for x_Type values of CREDIT, VOID, CAPTURE_ONLY, and PRIOR_AUTH_CAPTURE—otherwise optional
x_Phoneany stringrequired for all eCheck transactions and Wells Fargo SecureSource Merchants—otherwise optionalrequired for all eCheck transactions and Wells Fargo SecureSource Merchants—otherwise optionalrequired for all eCheck transactions and Wells Fargo SecureSource Merchants—otherwise optional
x_PO_Numany stringoptionaloptionaloptional
x_Receipt_Link_MethodLINK, POST, GEToptionaloptionaloptional
x_Receipt_Link_Textany string ("Continue")optionaloptionaloptional
x_Receipt_Link_URLany valid URL (must also exist in Merchant Configuration)optionaloptionaloptional
x_Recurring_BillingTRUE, FALSEoptionaloptionaloptional
x_Rename[OldVariableName], [NewVariableName]optionaloptionaloptional
x_Ship_To_Addressany stringoptionaloptionaloptional
x_Ship_To_Cityany stringoptionaloptionaloptional
x_Ship_To_Companyany stringoptionaloptionaloptional
x_Ship_To_Countryany stringoptionaloptionaloptional
x_Ship_To_First_Nameany stringoptionaloptionaloptional
x_Ship_To_Last_Nameany stringoptionaloptionaloptional
x_Ship_To_Stateany stringoptionaloptionaloptional
x_Ship_To_Zipany stringoptionaloptionaloptional
x_Show_FormPAYMENT_FORM (do not use this field if you do not want to show the system’s payment form)optionalN/Aoptional
x_Stateany stringrequired for all eCheck transactions and Wells Fargo SecureSource Merchants—otherwise optional required for all eCheck transactions and Wells Fargo SecureSource Merchants—otherwise optionalrequired for all eCheck transactions and Wells Fargo SecureSource Merchants—otherwise optional
x_Taxany valid amountRequired for all eCheck transactions and Wells Fargo SecureSource Merchants ($0 is valid)—otherwise optionalRequired for all eCheck transactions and Wells Fargo SecureSource Merchants ($0 is valid)—otherwise optionalRequired for all eCheck transactions and Wells Fargo SecureSource Merchants ($0 is valid)—otherwise optional
x_Tax_ExemptTRUE, FALSEoptionaloptionaloptional
x_Test_RequestTRUE, FALSEoptionaloptionaloptional
x_Trans_IDany valid Transaction IDRequired for CREDIT and PRIOR_AUTH_CAP-TURE type transactions, otherwise optionalRequired for CREDIT and PRIOR_AUTH_CAP-TURE type transactions, otherwise optionalRequired for CREDIT and PRIOR_AUTH_CAP-TURE type transactions, otherwise optional
x_TypeAUTH_CAPTURE, AUTH_ONLY, CAPTURE_ONLY, CREDIT, VOID, PRIOR_AUTH_CAPTUREoptional--see the table below for more informationoptional--see the table below for more informationoptional--see the table below for more information
x_Use_Fraudscreen(Reserved for future use)Not yet supported
x_Version2.5, 3.0, 3.1Optional, but strongly recommended to be set to 3.0 or 3.1 to inform the system that you are passing 3.0 or 3.1 code.Optional, but strongly recommended to be set to 3.0 or 3.1 to inform the system that you are passing 3.0 or 3.1 code and are expecting a 3.0 or 3.1 response.Optional, but strongly recommended to be set to 3.0 or 3.1 to inform the system that you are passing 3.0 or 3.1 code and are expecting a 3.0 or 3.1 response.
x_Zipany stringrequired for all eCheck transactions and Wells Fargo SecureSource Merchants—otherwise optional required for all eCheck transactions and Wells Fargo SecureSource Merchants—otherwise optionalrequired for all eCheck transactions and Wells Fargo SecureSource Merchants—otherwise optional

Transaction Types

The following table provides a description of the several different transaction types for use with the x_Type form field.

TypeDescription
AUTH_CAPTUREAuth-Capture is the normal transaction method; a transaction is sent to the system for approval, the transaction is approved, the merchant is notified of the approval, and the transaction automatically settles at the end of the business day without any further action by the merchant.
AUTH_ONLYAuth-Only stands for Authorization-Only and means obtaining an authorization for a certain amount on a customer's credit card without actually charging the card. If the money is not captured within 30 days, the transaction will expire.
PRIOR_AUTH_CAPTUREA Prior-Auth-Capture transaction is used to capture funds authorized previously using an Auth-Only transaction. Prior-Auth-Capture is really just an operation on an already existing transaction. Prior-Auth-Capture should only be used on Auth-Only transactions processed using the system.
CAPTURE_ONLYCapture-Only transactions are used when an authorization-only is obtained through any means other than the system.
CREDITCredits are not processed in real time, but are submitted at settlement time with other transactions.
VOIDVoiding a transaction prevents a charge to a credit card/bank account from occurring. Voids are performed on existing transactions that have yet to be settled.

ADC Result Fields

The ADC methods provide a way of connecting to the gateway in which a merchant's server can integrate directly with the system to send transactions and receive responses. The table below provides a reference to all of the fields of information that are returned by one of the Automated Direct Connect (ADC) methods.

The ADC Relay Response method will return an HTTP(S) form POST containing the following fields to a script written by the merchant to complete the purchasing process and/or generate an HTML page to be displayed to the customer. The URL of this script is designated using the x_ADC_URL field, and must be set as one of the Valid ADC or Receipt Link URLs in the URL Manager section of the Settings menu. This post will occur after the transaction is processed, and the response given by the merchant's script will be displayed to the customer as the result of the transaction. It is possible that none of the system's pages will ever be displayed using this method.

The ADC Direct Response method will return a simple comma delimited string (field1,field2,field3, etc.) containing the fields from the following table in the order indicated below. This format can be changed in the Automated Direct Connect (ADC) Settings section of the Settings menu. A developer would parse this string to obtain the desired information.

IMPORTANT: The version 3.0 response string is different from the version 3.1 response string. The version 3.0 response string contains system fields 1-38 as shown below and echoes merchant defined fields from field 39 on, in the order the system received them. The version 3.1 response string contains 68 system fields with field number 39 representing the x_cvv2_resp_code. In the version 3.1 response string, merchant defined fields are echoed from field 69 on. Merchants wishing to use the CVV2 response code must switch to response string version 3.1. The response string version is set from within the Merchant Menu Interface.

To change the Response String Version, do the following:

Position in Direct Response returnField NameDescription
1x_response_codeIndicates the result of the transaction.
1 = Approved
2 = Declined
3 = Error
2x_response_subcodeA code used by the system for internal transaction tracking.
3x_response_reason_codeA code representing more details about the result of the transaction.
4x_response_reason_textBrief description of result, which corresponds with the Response Reason Code.
5x_auth_codeSix-digit approval code.
6x_avs_codeIndicates the result of Address Verification System (AVS) checks.
A = Address (Street) matches, ZIP does not
E = AVS error
N = No Match on Address (Street) or ZIP
P = AVS not applicable for this transaction
R = Retry – System unavailable or timed out
S = Service not supported by issuer
U = Address information is unavailable
W = 9 digit ZIP matches, Address (Street) does not
X = Exact AVS Match
Y = Address (Street) and 5 digit ZIP match
Z = 5 digit ZIP matches, Address (Street) does not
7x_trans_idThis number identifies the transaction in the system, and can be used to submit a modification of this transaction at a later time via HTTP(S) form POST (such as voiding the transaction, or capturing an Auth Only transaction).
8x_invoice_numEchoed from form input values.
9x_descriptionEchoed from form input values.
10x_amountEchoed from form input values.
11x_methodEchoed from form input values.
12x_typeEchoed from form input values.
13x_cust_idEchoed from form input values.
14x_first_nameEchoed from form input values.
15x_last_nameEchoed from form input values.
16x_companyEchoed from form input values.
17x_addressEchoed from form input values.
18x_cityEchoed from form input values.
19x_stateEchoed from form input values.
20x_zipEchoed from form input values.
21x_countryEchoed from form input values.
22x_phoneEchoed from form input values.
23x_faxEchoed from form input values.
24x_emailEchoed from form input values.
25x_ship_to_first_nameEchoed from form input values.
26x_ship_to_last_nameEchoed from form input values.
27x_ship_to_companyEchoed from form input values.
28x_ship_to_addressEchoed from form input values.
29x_ship_to_cityEchoed from form input values.
30x_ship_to_stateEchoed from form input values.
31x_ship_to_zipEchoed from form input values.
32x_ship_to_countryEchoed from form input values.
33x_taxEchoed from form input values.
34x_dutyEchoed from form input values.
35x_freightEchoed from form input values.
36x_tax_exemptEchoed from form input values.
37x_po_numEchoed from form input values.
38x_MD5_hashGenerated by the system and to be validated by merchant for added security.
39 (v3.1 only)x_cvv2_resp_codeIndicates the results of CVV2 verification:
M = Match
N = No Match
P = Not Processed
S = Should have been present
U = Issuer unable to process request
40 (v3.1 only) (Reserved for future use.)
41 (v3.1 only) (Reserved for future use.)
42 (v3.1 only) (Reserved for future use.)
43 (v3.1 only) (Reserved for future use.)
44 (v3.1 only) (Reserved for future use.)
45 (v3.1 only) (Reserved for future use.)
46 (v3.1 only) (Reserved for future use.)
47 (v3.1 only) (Reserved for future use.)
48 (v3.1 only) (Reserved for future use.)
49 (v3.1 only) (Reserved for future use.)
50 (v3.1 only) (Reserved for future use.)
51 (v3.1 only) (Reserved for future use.)
52 (v3.1 only) (Reserved for future use.)
53 (v3.1 only) (Reserved for future use.)
54 (v3.1 only) (Reserved for future use.)
55 (v3.1 only) (Reserved for future use.)
56 (v3.1 only) (Reserved for future use.)
57 (v3.1 only) (Reserved for future use.)
58 (v3.1 only) (Reserved for future use.)
59 (v3.1 only) (Reserved for future use.)
60 (v3.1 only) (Reserved for future use.)
61 (v3.1 only) (Reserved for future use.)
62 (v3.1 only) (Reserved for future use.)
63 (v3.1 only) (Reserved for future use.)
64 (v3.1 only) (Reserved for future use.)
65 (v3.1 only) (Reserved for future use.)
66 (v3.1 only) (Reserved for future use.)
67 (v3.1 only) (Reserved for future use.)
68 (v3.1 only) (Reserved for future use.)
39 (v3.0) or 69 (v3.1)any merchant defined fields in the order the system received themEchoed from form input values.

Last updated: 01/14/2002