DC Gateway API Developer's Guide -...

177
Direct Connect Merchant Services, LLC. is a registered ISO of Wells Fargo Bank NA, Walnut Creek, CA. DC Gateway API Developer's Guide Last updated: December 1, 2016 Version 2.1

Transcript of DC Gateway API Developer's Guide -...

Page 1: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

DC Gateway

API Developer's Guide

Last updated: December 1, 2016

Version 2.1

Page 2: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 2 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Table of Contents

Direct Connect Gateway ........................................................................................................................................................................ 6 Customizing and Integrating to the DC Gateway ............................................................................................................................... 6

Application Programming Interfaces (APIs) ................................................................................................................................................ 6 Simple Object Access Protocol (SOAP) API .................................................................................................................................................. 6 Name-Value Pairs (NVP) ................................................................................................................................................................................ 7 Hosted Payment Pages.................................................................................................................................................................................. 8

Getting Started ........................................................................................................................................................................................ 8 Gateway Integration Certification Overview ............................................................................................................................................... 8 Step 1: Registration ........................................................................................................................................................................................ 9 Step 2: Specification and Analysis ................................................................................................................................................................ 9 Step 3: Development ..................................................................................................................................................................................... 9 Step 4: Certification ........................................................................................................................................................................................ 9 Step 5: Transition ........................................................................................................................................................................................... 9

Web Services .......................................................................................................................................................................................... 10 Administration Web Service ........................................................................................................................................................................ 11

AddMerchant ............................................................................................................................................................................................ 12 UpdateMerchant ...................................................................................................................................................................................... 14

ExtData Parameters (AddMerchant, UpdateMerchant) ................................................................................................................... 16 Merchant Parameters (AddMerchant, UpdateMerchant) ................................................................................................................ 16 Access Parameters (AddMerchant, UpdateMerchant) ..................................................................................................................... 17 PaymentMethodXml Parameters (AddMerchant, UpdateMerchant) ............................................................................................. 17 RegistersXml Parameters (AddMerchant, UpdateMerchant) .......................................................................................................... 18 CardVerification Parameters (AddMerchant, UpdateMerchant) .................................................................................................... 18

DeleteMerchant ........................................................................................................................................................................................ 20 Response Structure (AddMerchant, UpdateMerchant, DeleteMerchant) ......................................................................................... 20 InfoMerchant ............................................................................................................................................................................................ 20 Response Structure (InfoMerchant) ....................................................................................................................................................... 21 AddUser ..................................................................................................................................................................................................... 22 UpdateUser ............................................................................................................................................................................................... 24 Response (AddUser, UpdateUser) .......................................................................................................................................................... 24 InfoUser ..................................................................................................................................................................................................... 25 Response (InfoUser) ................................................................................................................................................................................. 25 InfoCustomer ............................................................................................................................................................................................ 26 InfoContract .............................................................................................................................................................................................. 26 Response Structure (InfoCustomer, InfoContract) ............................................................................................................................... 27

PaymentMethod Parameters (InfoCustomer, InfoContract) ........................................................................................................... 27 Contract Parameters (InfoContract) ................................................................................................................................................... 28

GetAPIUser ................................................................................................................................................................................................ 29 Response (GetAPIUser) ............................................................................................................................................................................ 29 GetDebitAccount ...................................................................................................................................................................................... 29 Login........................................................................................................................................................................................................... 30 Response (Login) ...................................................................................................................................................................................... 30

Transaction Processing Web Service ......................................................................................................................................................... 31 GetInfo ....................................................................................................................................................................................................... 31 ProcessCash .............................................................................................................................................................................................. 32

ExtData Parameters (ProcessCash) .................................................................................................................................................... 33 ProcessCheck ............................................................................................................................................................................................ 33

ExtData Parameters (ProcessCheck) .................................................................................................................................................. 34 ProcessCreditCard .................................................................................................................................................................................... 36

ExtData Parameters (ProcessCreditCard) .......................................................................................................................................... 40 CustomFields Parameters ................................................................................................................................................................... 42 LineItemDetail Parameters (Level III) ................................................................................................................................................. 43 P2PE Parameters (Point to Point Encryption) .................................................................................................................................... 43 Presentation Parameters ..................................................................................................................................................................... 44

Page 3: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 3 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

ProcessDebitCard ..................................................................................................................................................................................... 44 ExtData Parameters (ProcessDebitCard) ........................................................................................................................................... 46 P2PE Parameters (Point to Point Encryption) .................................................................................................................................... 47

ProcessEBTCard ........................................................................................................................................................................................ 47 ExtData Parameters (ProcessEBTCard) .............................................................................................................................................. 50 EWICDetGrp (eWIC Line Item) ............................................................................................................................................................. 51

ProcessGiftCard ........................................................................................................................................................................................ 51 ExtData Parameters (ProcessGiftCard) .............................................................................................................................................. 53

ProcessSignature ...................................................................................................................................................................................... 53 ExtData Parameters (ProcessSignature) ............................................................................................................................................ 54

ProcessLoyaltyCard .................................................................................................................................................................................. 54 Response (Transact Web Service) ........................................................................................................................................................... 54

ExtData ................................................................................................................................................................................................... 55 Card Safe Web Service ................................................................................................................................................................................. 56

StoreCard .................................................................................................................................................................................................. 56 Response (StoreCard) .............................................................................................................................................................................. 57 ProcessCreditCard .................................................................................................................................................................................... 57

ExtData Parameters (ProcessCreditCard) .......................................................................................................................................... 59 LineItemDetail Parameters (Level III) ................................................................................................................................................. 62 CustomFields Parameters ................................................................................................................................................................... 63

Response (ProcessCreditCard) ............................................................................................................................................................... 63 ExtData ................................................................................................................................................................................................... 64

Recurring Payment Web Service ................................................................................................................................................................ 65 ManageCustomer ..................................................................................................................................................................................... 65

ExtData Parameters (ManageCustomer) ........................................................................................................................................... 68 ManageCheckInfo ..................................................................................................................................................................................... 68

ExtData (ManageCheckInfo) ................................................................................................................................................................ 71 ManageCreditCardInfo ............................................................................................................................................................................ 71 UpdateContractSettings .......................................................................................................................................................................... 72

ExtData Parameters (UpdateContractSettings) ................................................................................................................................ 73 FailureRetryResultCode Parameters .................................................................................................................................................. 73 RecurringBillingSettings Parameters .................................................................................................................................................. 74

ManageContract ....................................................................................................................................................................................... 74 ExtData (ManageContract) .................................................................................................................................................................. 78 FailureRetryResultCode Parameters .................................................................................................................................................. 78

ManageContractAddDaysToNextBillDt .................................................................................................................................................. 78 ProcessCheck ............................................................................................................................................................................................ 79

ExtData (ProcessCheck) ....................................................................................................................................................................... 80 ProcessCreditCard .................................................................................................................................................................................... 81

ExtData (ProcessCreditCard) ............................................................................................................................................................... 82 AddRecurringCheck .................................................................................................................................................................................. 82 AddRecurringCreditCard ......................................................................................................................................................................... 82 Response (Recurring Web Service) ......................................................................................................................................................... 82

Transaction Reporting Web Service ........................................................................................................................................................... 84 GetCardTrx ................................................................................................................................................................................................ 84 GetCardTrx2 .............................................................................................................................................................................................. 86 GetCardTrxSummary ............................................................................................................................................................................... 88 GetCheckTrx .............................................................................................................................................................................................. 89 GetOpenBatchSummary ......................................................................................................................................................................... 91

ExtData Parameters (GetCardTrx; GetCardTrx2; GetCheckTrx) ...................................................................................................... 92 ExtData Parameters (GetCardTrxSummary; GetOpenBatchSummary) ......................................................................................... 92

TrxDetailCard (Transaction Reporting Web Service) ............................................................................................................................ 92 PaymentMethod (Transaction Reporting Web Service) ....................................................................................................................... 94

Custom Fields Web Service ......................................................................................................................................................................... 96 AddCustomField ....................................................................................................................................................................................... 96 Response (AddCustomField) ................................................................................................................................................................... 97

Page 4: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 4 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

GetCustomFields ...................................................................................................................................................................................... 97 Response (GetCustomFields) .................................................................................................................................................................. 98

Card Account Updater Web Service ........................................................................................................................................................... 99 UpdateSettings ......................................................................................................................................................................................... 99 Response (UpdateSettings) ................................................................................................................................................................... 100 InfoSettings ............................................................................................................................................................................................. 100 Response (InfoSettings) ......................................................................................................................................................................... 100 GetCardAdminReport ............................................................................................................................................................................ 101 Response (GetCardAdminReport) ........................................................................................................................................................ 102

Validate Credit Card Web Service ............................................................................................................................................................. 103 GetCardType ........................................................................................................................................................................................... 103 Response (GetCardType) ....................................................................................................................................................................... 103 GetNetworkID ......................................................................................................................................................................................... 104 Response (GetNetworkID) ..................................................................................................................................................................... 104 IsCommercialCard .................................................................................................................................................................................. 104 Response (IsCommercialCard) .............................................................................................................................................................. 105 ValidCard ................................................................................................................................................................................................. 105 Response (ValidCard) ............................................................................................................................................................................. 105 ValidCardLength ..................................................................................................................................................................................... 105 Response (ValidCardLength) ................................................................................................................................................................. 105 ValidExpDate ........................................................................................................................................................................................... 106 Response (ValidExpDate) ....................................................................................................................................................................... 106 ValidMod10 ............................................................................................................................................................................................. 106 Response (ValidMod10) ......................................................................................................................................................................... 106

Enumerations ...................................................................................................................................................................................... 107 Hosted Payment Pages ...................................................................................................................................................................... 118

Response (Hosted Payment Page) ....................................................................................................................................................... 119 Appendix .............................................................................................................................................................................................. 121

Front End Processors ................................................................................................................................................................................. 121 Responses ................................................................................................................................................................................................... 121

HTTP Status Codes ................................................................................................................................................................................. 121 DC Gateway Result ................................................................................................................................................................................. 121 DC Gateway ResultCode ........................................................................................................................................................................ 123

Address Verification System (AVS) Result Codes .................................................................................................................................... 124 Card Verification System (CVS) Result Codes .......................................................................................................................................... 124 Examples ..................................................................................................................................................................................................... 125

Admin Web Service Examples ............................................................................................................................................................... 125 AddMerchant ...................................................................................................................................................................................... 125 UpdateMerchant ................................................................................................................................................................................. 126 DeleteMerchant .................................................................................................................................................................................. 128 InfoMerchant ....................................................................................................................................................................................... 128 AddUser ............................................................................................................................................................................................... 130 UpdateUser ......................................................................................................................................................................................... 131 InfoUser ............................................................................................................................................................................................... 132 InfoCustomer ...................................................................................................................................................................................... 133 InfoContract ........................................................................................................................................................................................ 134 GetAPIUser .......................................................................................................................................................................................... 134 Login ..................................................................................................................................................................................................... 135

Transact Web Service Examples ........................................................................................................................................................... 136 GetInfo ................................................................................................................................................................................................. 136 ProcessCash ........................................................................................................................................................................................ 136 ProcessCheck ...................................................................................................................................................................................... 137 ProcessCreditCard .............................................................................................................................................................................. 138 ProcessDebitCard ............................................................................................................................................................................... 139

Cardsafe Web Service Examples........................................................................................................................................................... 139 StoreCard ............................................................................................................................................................................................. 139

Page 5: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 5 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

ProcessCreditCard .............................................................................................................................................................................. 140 Recurring Web Service Examples ......................................................................................................................................................... 141

ManageCustomer (ADD) .................................................................................................................................................................... 141 ManageCustomer (UPDATE) .............................................................................................................................................................. 142 ManageCustomer (DELETE) ............................................................................................................................................................... 143 ManageCheckInfo (ADD) .................................................................................................................................................................... 144 ManageCheckInfo (UPDATE) ............................................................................................................................................................. 145 ManageCheckInfo (DELETE) ............................................................................................................................................................... 146 ManageCreditCardInfo (ADD) ........................................................................................................................................................... 147 ManageCreditCardInfo (UPDATE) ..................................................................................................................................................... 148 ManageCreditCardInfo (DELETE) ...................................................................................................................................................... 148 UpdateContractSettings..................................................................................................................................................................... 149 ManageContract (Check ADD) ........................................................................................................................................................... 150 ManageContract (Check UPDATE) .................................................................................................................................................... 151 ManageContract (Check DELETE) ...................................................................................................................................................... 153 ManageContract (CreditCard ADD) .................................................................................................................................................. 154 ManageContract (CreditCard UPDATE) ............................................................................................................................................ 155 ManageContract (CreditCard DELETE) ............................................................................................................................................. 157 ManageContractAddDaysToNextBillDt ............................................................................................................................................ 158 ProcessCheck ...................................................................................................................................................................................... 158 ProcessCreditCard .............................................................................................................................................................................. 159

TrnDetail Web Service Examples .......................................................................................................................................................... 160 GetCardTrx .......................................................................................................................................................................................... 160 GetCardTrx2 ........................................................................................................................................................................................ 161 GetCardTrxSummary ......................................................................................................................................................................... 163 GetCheckTrx ........................................................................................................................................................................................ 165 GetOpenBatchSummary .................................................................................................................................................................... 166

CustomFields Web Service Examples................................................................................................................................................... 168 AddCustomField.................................................................................................................................................................................. 168 GetCustomField .................................................................................................................................................................................. 169

CardAccountUpdater Web Service Examples ..................................................................................................................................... 169 UpdateSettings.................................................................................................................................................................................... 169 InfoSettings ......................................................................................................................................................................................... 169 GetCardAdminReport ......................................................................................................................................................................... 170

Validate Web Service Examples ............................................................................................................................................................ 172 GetCardType ....................................................................................................................................................................................... 172 GetNetworkID ..................................................................................................................................................................................... 173 IsCommercialCard .............................................................................................................................................................................. 173 ValidCard ............................................................................................................................................................................................. 174 ValidCardLength ................................................................................................................................................................................. 174 ValidExpDate ....................................................................................................................................................................................... 175 ValidMod10.......................................................................................................................................................................................... 175

Document Revisions ........................................................................................................................................................................... 176

Page 6: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 6 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Direct Connect Gateway

The Direct Connect Payment Gateway (DC Gateway) is a service used by merchants and service providers to

take payments from customers. DC Gateway can stand alone as a web-based storefront with (or without)

attached card readers or may be used in combination with point-of-sale (POS) and order entry applications. DC

Gateway accepts payments in many forms, including check, credit, debit, gift, loyalty and EBT cards. Payments

may be taken online, over the telephone, from a mobile phone and at physical store locations. In addition to

handling large volumes of commercial transactions, the DC Gateway manages and settles batches, protects

sensitive card information, administers billing contracts and produces operational and analytical reports.

Customizing and Integrating to the DC Gateway

Administrators with web browsers configure DC Gateway through its user interface by entering company name,

contact information, applying branding themes and specifying the content and format of the customer-facing

webpages presented by the DC Gateway. Direct Connect will customize the DC Gateway User Interface, virtual

terminal screens and/or transaction reports for clients whose needs cannot be fully met through configuration

options. The DC Gateway may also be integrated quickly with web applications using Hosted Payment Pages

and integrated seamlessly with software and hardware products using DC Gateway Application Programming

Interfaces.

Application Programming Interfaces (APIs)

APIs make the same capabilities that are available interactively through the DC Gateway user interface

accessible programmatically to software applications and hardware devices. Systems and devices communicate

with the DC Gateway by exchanging messages. An application – the client - formulates and sends a request to

the DC Gateway – the server - which prepares and returns a response.

1. Client Application formulates a message and transmits the request to the DC Gateway

2. DC Gateway translates request and relays it to Payment Processing Network

3. Payment Processing Network processes request and returns response to the DC Gateway

4. DC Gateway translates response and relays to Client Application

Simple Object Access Protocol (SOAP) API

Client applications use the SOAP protocol to communicate with DC Gateway. The body of SOAP request and

response messages contain the name of a web service operation and, in addition, all input or output

parameters. The body is enclosed in an envelope and both parts of each message are encoded using extensible

markup language (XML). Requests and responses are exchanged by the client application and DC Gateway’s web

services in the same way that a web browser communicates with a web server across the Internet – using the

secure form of the Hypertext Transfer Protocol (HTTPS).

Page 7: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 7 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Developer Notes

DC Gateway SOAP APIs are based on open, web services standards, including the Simple Object Access

Protocol (SOAP), Web Services Definition Language (WSDL), and the XML Schema Definition language (XSD).

Submit a request to the endpoints of web services with the query string of ‘WSDL’ to generate files that define

the operations, parameters and data structures supported by DC Gateway API.

Inspect status code from HTTP header to verify that request message was successfully received by DC

Gateway.

Inspect Result or Code from SOAP Message body to reveal outcome from DC Gateway Web Service operation

that was invoked.WebServicesEndpoints

Name-Value Pairs (NVP)

Client applications may also format messages for DC Gateway using a lightweight alternative to SOAP, known as

Name-Value Pairs (NVP.) DC Gateway web services listen for HTTP GET and POST requests made to the

addresses of their endpoints using the name of an operation to be invoked. Input parameters are passed as

pairs of URL encoded names and values either on the query string of a GET request or in the body of a POST. DC

Gateway responses are encoded using XML but without SOAP envelopes or bodies.

Developer Notes

A name-value pair must be provided for both required and also optional input parameters in NVP integrations

with DC Gateway. A client application should not include a value for any input parameter whose value is not

explicitly specified when it invokes web service operations using NVP-formatted request messages.

Inspect status code from HTTP header to verify that GET/POST request was successfully received by DC

Gateway.

Inspect Result or Code from XML-encoded response to reveal outcome from the DC Gateway Web Service

operation that was invoked.

Page 8: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 8 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Hosted Payment Pages

The simplest and shortest way to add payment processing to an existing application or website is with Hosted

Payment Pages (HPP). Administrators configure and activate an HPP through the DC Gateway User Interface.

HPPs may be created quickly, are easily deployed and minimize the scope of the Payment Card Industry Data

Security Standards (PCI-DSS) compliance requirements. Since the DC Gateway forwards card holder data

provided by customers directly to payment networks, the sensitive data never passes through the application’s

or website’s own servers. Once it is active, a webmaster embeds, links or redirects to the HPP from her/his

website to process payments.

1. Customer touches payment link on website

2. Browser opens Hosted Payment Page

3. Customer fills and submits order form to DC Gateway

4. DC Gateway forwards payment details to Payment Processing Network

5. Payment Processing Network approves or declines transfer from Customer to Merchant account and

notifies DC Gateway

6. DC Gateway redirects browser to website

7. Customer reviews result of payment request

Getting Started

Take the following steps to integrate an application with DC Gateway in your development environment.

Gateway Integration Certification Overview

To ensure secure and compliant integration with Direct Connect’s Payment Gateway, Direct Connect has

developed a certification process for payment integrators. Certification is required for final integration to the DC

Gateway.

All integration documentation is available via the DC Developer Portal (http://directconnectps.com/developers/).

The DC Gateway Integration Support Team ([email protected]) will provide guidance along with the

necessary information to complete the certification process.

Page 9: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 9 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Step 1: Registration

Visit http://directconnectps.com/developers/ to register for a free DC Gateway test account. Follow the

instructions contained in the registration response email. Download the API Developer’s Guide to learn how to

formulate and transmit requests to the DC Gateway and interpret the responses.

Step 2: Specification and Analysis

Test account registrants will be contacted within 2 business days to discuss business and technical

requirements. The DC Integration Support Team provides expert guidance for engineering gateway integration,

defines required test cases, offers card numbers for cases, monitors testing progress, and describes how test

results should be documented using saved receipts and preserved gateway response messages.

Step 3: Development

Developers will facilitate integration certification using testing and documentation guidelines as directed by the

DC Integration Support Team. To ensure a secure and compliant integration solution, integrators should retain

an Assessor (trained and validated by the PCI Security Standards Council) or complete a PCI Self-Assessment

Questionnaire (SAQ). When integration, testing, and documentation is complete, integrators must submit

certification requests to the Integration Support Team for evaluation.

Step 4: Certification

Direct Connect reviews testing documentation and certification requests to ensure integration compliance with

Payment Card Industry Data Security Standards (PCI-DSS). The DC Integration Support Team will approve and

confirm certification, or will advise and assist with additional requirements.

Step 5: Transition

Successful certified integrators will be introduced to Support Representatives at Direct Connect who will provide

ongoing DC Gateway support.

Developer Notes

Install your development platform according to its product documentation.

Read through all the steps before you get started. You may also wish to review the rest of the Developer’s

Guide to familiarize yourself with DC Gateway terms, capabilities, web services and operations.

3 5 1 2 4

Registration

Specification

and Analysis

Development

Certification

Transition

Page 10: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 10 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Web Services

DC Gateway APIs are grouped into the following web services:

Name Description Endpoint

Administration Perform administrative functions of DC Gateway /vt/ws/admin.asmx

Batch Info Retrieve batch information for existing transactions /ws/batchinfo.asmx

Card Account Updater Automatically update payment card details stored by the DC Gateway /ws/cardsafe.asmx

Card Safe Store and retrieve payment methods for existing customers /ws/cardsafe.asmx

Custom Fields Adds a field to capture a value for each processed transaction /ws/customfields.asmx

Recurring Payment Manage customers, payment methods and contracts for recurring

payments

/vt/ws/recurring.asmx

Transaction Processing Process payments by methods such as Checks and Credit, Debit, EBT and

Gift cards

/ws/transact.asmx

Transaction Reporting Query transactions processed by DC Gateway for a merchant /vt/ws/trxdetail.asmx

Validate Card Validate Credit Card types and numbers /ws/validate.asmx

Developer Notes

The base URL for DC Gateway Web services is https://gateway.1directconnect.com.

Contact Direct Connect Sales Representative to request custom URL.

DC Gateway removes XML predefined entities from user-supplied values. Enclose values in CDATA section

or substitute replacement values for special characters: double quotation mark - ", ampersand -

&, apostrophe - ', less-than sign - <, greater-than sign - >.

DC Gateway Web Service Definition Language references for each Web Service is located below:

Name Web Service Definition Language URL

Administration https://gateway.1directconnect.com/paygate/ws/admin.asmx?wsdl

Batch Info https://gateway.1directconnect.com/ws/batchinfo.asmx?wsdl

Card Account Updater https://gateway.1directconnect.com/paygate/ws/cardaccountupdater.asmx?wsdl

Card Safe https://gateway.1directconnect.com/ws/cardsafe.asmx?wsdl

Custom Fields https://gateway.1directconnect.com/ws/customfields.asmx?wsdl

Recurring Payment https://gateway.1directconnect.com/paygate/ws/recurring.asmx?wsdl

Transaction Processing https://gateway.1directconnect.com/ws/transact.asmx?wsdl

Transaction Reporting https://gateway.1directconnect.com/paygate/ws/trxdetail.asmx?wsdl

Validate Card https://gateway.1directconnect.com/ws/validate.asmx?wsdl

Page 11: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 11 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Administration Web Service

Name

Administer Gateway.

Description

Perform administrative functions of DC Gateway.

Operations

Name Description

AddMerchant Add a Merchant account in DC Gateway.

UpdateMerchant Update a Merchant account in DC Gateway.

DeleteMerchant Delete a Merchant account in DC Gateway.

InfoMerchant Retrieve information about a Merchant in DC Gateway.

AddUser Add a Username for a Merchant in DC Gateway.

UpdateUser Update a Username for a Merchant in DC Gateway.

InfoUser Retrieve information about a Username for a Merchant in DC Gateway.

InfoCustomer Retrieve information about a Customer stored in DC Gateway.

InfoContract Retrieve information about Contracts stored for a Customer in DC Gateway.

GetAPIUser Retrieve network credentials for a Username (with access to DC Gateway APIs).

GetDebitAccount Retrieve information about Debit Account for a Merchant in DC Gateway.

Login Login to DC Gateway Virtual Terminal.

Developer Notes

Originating Internet Protocol (IP) address must be whitelisted in order for operations of the Administration web

service to be invoked. Please contact Direct Connect Integration Coordinator to add IP addresses to the DC

Gateway Administration web service whitelist.

User Credentials Requirements Matrix

Page 12: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 12 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

AddMerchant

Description

Add a Merchant account to DC Gateway.

Parameters

Field Name Type Max

Length Required Description

Username

string 25 Required

User name assigned in DC Gateway.

The account must be granted a

sufficient level of security access in

order to invoke the operation.

SecureToken string Variable Required

A unique value for each User Name

that is used by DC Gateway to

authenticate the originator of API

requests.

ResellerKey string 10 Required Unique identifier for Direct Connect

reseller.

MerchantUsername string 25 Required User Name of Primary User for

Merchant in DC Gateway.

MerchantPassword string 20 Required Password for User Name of Primary

User for Merchant in DC Gateway.

MerchantID string 50 Optional Unique identifier for a Merchant in DC

Gateway.

MerchantID2 string 50 Optional Unique identifier for a Merchant in DC

Gateway.

AnnualSales string 18 Optional Annual Sales for a Merchant, in US or

CAN Dollars.

BusinessStartDate string 10 Optional Merchant's first day in business.

CompanyName string 50 Required Company Name of Merchant Account

Holder.

DoingBusinessAs string 50 Optional Trade name for a Merchant.

Url string 50 Optional Universal Resource Locator (for

Merchant website).

FederalTaxID string 25 Optional

Unique identifier for a business entity

issued by the Internal Revenue Service

(IRS), also known as an Employer

Identification Number (EIN).

StateTaxID string 25 Optional

Unique identifier for a Merchant

assigned by a State in the United

States.

SalesTaxID string 25 Optional Sales Tax identifier of a Merchant in

DC Gateway.

OwnershipType string 25 Optional Structure of ownership for Merchant

Business.

AutoCloseBatch enum

(BooleanVerboseType) 5 Optional

Valid values are True/False; Close

transaction batches automatically

(Terminal-based settlement only).

AutoCloseBatchHour string 2 Optional

Hour of day (between 0 and 23) for DC

Gateway to close transaction batches

when AutoCloseBatch = T (Terminal-

based settlement, only).

ForceDuplicate enum

(BooleanVerboseType) 5 Optional

Valid values are True/False; Allow

(True) duplicate transactions (in

batch).

Page 13: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 13 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Required Description

RequirePNRef enum

(BooleanVerboseType) 5 Optional

Valid values are True/False; DC

Gateway requires (True) unique

identifier for original transaction to

allow refunds or credits.

ContactFirstName string 50 Required First name of Contact Person at

Merchant Account Holder.

ContactLastName string 50 Required Last name of Contact Person at

Merchant Account Holder.

ContactEmail string 100 Required Electronic Mail Address of Contact

Person at Merchant Account Holder.

ContactDayPhone string 13 Required Daytime Phone number of Contact

Person at Merchant Account Holder.

ContactFax string 13 Optional Fax number for Contact Person at

Merchant Account Holder.

ContactStreet1 string 50 Required First line of Address of Contact Person

at Merchant Account Holder.

ContactStreet2 string 50 Optional Second line of Address of Contact

Person at Merchant Account Holder.

ContactCity string 50 Required City for Address of Contact Person at

Merchant Account Holder.

ContactState string 2 Required

State Abbreviation for Address of

Contact Person at Merchant Account

Holder.

ContactPostalCode string 10 Required

ZIP/Postal Code for Address of

Contact Person at Merchant Account

Holder.

ContactCountryCode string 3 Required

Code (USA or CAN) for Country of

Address of Contact Person at

Merchant Account Holder.

TimeZoneOffset string 6 Required Offset from Coordinated Universal

Time (in minutes).

PaymentMethodsXml xml

PaymentMethodsXml

Variable Optional

Collection of methods allowed for

payments to Merchant through DC

Gateway (XML encoded).

RegistersXml xml RegistersXml Variable Optional

Collection of registers or terminals

configured for a Merchant in DC

Gateway.

ReadOnlyCardSafeCustomerID enum

(BooleanVerboseType) 5 Optional

Prevent (True) CustomerID associated

with a Recurring Payment Agreement

from being changed.

ReadOnlyRecurringBillingContractID enum

(BooleanVerboseType) 5 Optional

Prevent (True) ContractID associated

with a Recurring Payment Agreement

from being changed.

ReadOnlyRecurringBillingCustomerID enum

(BooleanVerboseType) 5 Optional

Prevent (True) CustomerID associated

with Card Safe payment method from

being changed.

BypassAvsCvvFiltersEnabled enum

(BooleanVerboseType) 5 Optional

Bypass (True) AVS/CVV verification on

a per transaction basis.

ExtData xml ExtData Variable Optional Structure for extended data provided

to/from DC Gateway.

Returns

Page 14: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 14 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Hyperlink to AddMerchant Response structure

Example

Hyperlink to AddMerchant Request/Response example

UpdateMerchant

Description

Update information for an existing Merchant account in DC Gateway.

Developers Notes

Invoke the InfoMerchant operation to retrieve values for corresponding parameters to the UpdateMerchant

operation to ensure that existing data are not overwritten with empty values.

Parameters

Field Name Type Max

Length Required Description

Username string 25 Required

User name assigned in DC Gateway.

The account must be granted a

sufficient level of security access in

order to invoke the operation.

SecureToken string Variable Required

A value - unique for each User Name -

that is used by DC Gateway to

authenticate the originator of API

requests.

MerchantKey string 10 Required Unique identifier for a Merchant in DC

Gateway.

ResellerKey string 10 Required Unique identifier for Direct Connect

reseller.

MerchantID string 50 Optional Unique identifier for a Merchant in DC

Gateway.

MerchantID2 string 50 Optional Unique identifier for a Merchant in DC

Gateway.

AnnualSales string 18 Optional Annual Sales for a Merchant, in US or

CAN Dollars.

BusinessStartDate string 10 Optional Merchant's first day in business.

CompanyName string 50 Required Company Name of Merchant Account

Holder.

DoingBusinessAs string 50 Optional Trade name for a Merchant.

Url string 50 Optional Universal Resource Locator (for

Merchant website).

FederalTaxID string 25 Optional

Unique identifier for a business entity

issued by the Internal Revenue Service

(IRS), also known as an Employer

Identification Number (EIN).

StateTaxID string 25 Optional

Unique identifier for a Merchant

assigned by a State in the United

States.

SalesTaxID string 25 Optional Sales Tax identifier of a Merchant in

DC Gateway.

OwnershipType string 25 Optional Structure of ownership for Merchant

Business.

AutoCloseBatch enum

(BooleanVerboseType) 5 Optional

Close (True) transaction batches

automatically (Terminal-based

settlement only).

Page 15: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 15 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Required Description

AutoCloseBatchHour string 2 Optional

Hour of day (between 0 and 23) for DC

Gateway to close transaction batches

when AutoCloseBatch = T (Terminal-

based settlement, only).

ForceDuplicate enum

(BooleanVerboseType) 5 Optional

Allow (True) duplicate transactions (in

batch).

RequirePNRef enum

(BooleanVerboseType) 5 Optional

DC Gateway requires (True) unique

identifier for original transaction to

allow refunds or credits.

ContactFirstName string 50 Required First name of Contact Person at

Merchant Account Holder.

ContactLastName string 50 Required Last name of Contact Person at

Merchant Account Holder.

ContactEmail string 100 Required Electronic Mail Address of Contact

Person at Merchant Account Holder.

ContactDayPhone string 13 Required Daytime Phone number of Contact

Person at Merchant Account Holder.

ContactFax string 13 Optional Fax number for Contact Person at

Merchant Account Holder.

ContactStreet1 string 50 Required First line of Address of Contact Person

at Merchant Account Holder.

ContactStreet2 string 50 Optional Second line of Address of Contact

Person at Merchant Account Holder.

ContactCity string 50 Required City for Address of Contact Person at

Merchant Account Holder.

ContactState string 2 Required

State Abbreviation for Address of

Contact Person at Merchant Account

Holder.

ContactPostalCode string 10 Required

ZIP/Postal Code for Address of

Contact Person at Merchant Account

Holder.

ContactCountryCode string 3 Required

Code for Country of Address of

Contact Person at Merchant Account

Holder.

TimeZoneOffset string 6 Required Offset from Coordinated Universal

Time (in minutes).

PaymentMethodsXml xml

PaymentMethodsXml

Variable Optional

Collection of methods allowed for

payments to Merchant through DC

Gateway (XML encoded).

RegistersXml xml RegistersXml Variable Optional

Collection of registers or terminals

configured for a Merchant in DC

Gateway.

ReadOnlyCardSafeCustomerID enum

(BooleanVerboseType) 5 Optional

Prevent (True) CustomerID associated

with a Recurring Payment Agreement

from being changed.

ReadOnlyRecurringBillingContractID enum

(BooleanVerboseType) 5 Optional

Prevent (True) ContractID associated

with a Recurring Payment Agreement

from being changed.

ReadOnlyRecurringBillingCustomerID enum

(BooleanVerboseType) 5 Optional

Prevent (True) CustomerID associated

with Card Safe payment method from

being changed.

BypassAvsCvvFiltersEnabled enum

(BooleanVerboseType) 5 Optional

Bypass (True) AVS/CVV verification on

a per transaction basis.

Page 16: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 16 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Required Description

ExtData xml ExtData Variable Optional Structure for extended data provided

to/from DC Gateway.

Returns

Hyperlink to UpdateMerchant Response structure

Example

Hyperlink to UpdateMerchant Request/Response example

ExtData Parameters (AddMerchant, UpdateMerchant)

Field Name Type Max

Length Required Description

SendEmail enum (BooleanType) 1 Optional Enable (T) DC Gateway to send message

to new merchant/user.

Merchant xml Merchant Variable Optional Structure for configuration specified for

merchant in DC Gateway.

Access xml Access Variable Optional Structure for configuration of access

parameters specified for merchant in

DC Gateway.

Merchant Parameters (AddMerchant, UpdateMerchant)

The Merchant element consists of a set of features enabled or disabled in DC Gateway enclosed within a

Configuration XML tag:

Field Name Type Max

Length Required Description

ImageCapture enum

(BooleanType)

1 Optional Enable (T) merchant to store

signatures.

ReceiptCapture enum

(BooleanType)

1 Optional Enable (T) merchant to store receipt

images.

VirtualTerminalShippingAmount enum

(BooleanType)

1 Optional Enable (T) merchant to specify an

amount for shipping through virtual

terminal user interface.

VirtualTerminalAllowRepeat enum

(BooleanType)

1 Optional Enable (T) merchant to process repeat

sales through virtual terminal user

interface.

VirtualTerminalCreditAccess enum

(BooleanType)

1 Optional Enable (T) merchant to process

refunds/credits through virtual

terminal user interface.

VirtualTerminalTipAmount enum

(BooleanType)

1 Optional Enable (T) merchant to specify a tip

amount through virtual terminal user

interface.

VirtualTerminalTaxAmount enum

(BooleanType)

1 Optional Enable (T) merchant to specify a tax

amount through virtual terminal user

interface.

VirtualTerminalConvenienceAmount enum

(BooleanType)

1 Optional Enable (T) merchant to specify a

convenience amount through virtual

terminal user interface.

Page 17: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 17 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Required Description

VirtualTerminalCorporateCard enum

(BooleanType)

1 Optional Enable (T) merchant to specify that

payment method is corporate card

through virtual terminal user interface.

AutoSettleMerchantEmail enum

(BooleanType)

1 Optional Enable (T) DC Gateway to send

message to merchant when batch

settled automatically is complete.

InvoiceDuplicate enum

(BooleanType)

1 Optional Enable (T) new invoice number to be

required when multiple transactions

with same payment method and

amount are processed for the same

time period.

CardVerification xml

CardVerification

1 Optional Structure for configuration specified in

DC Gateway for address (AVS) and

card verification (CVS) services.

ReadOnlyRecurringBillingCustomerID enum

(BooleanType)

1 Optional Prevent (T) CustomerID associated

with a Recurring Payment Agreement

from being changed

ReadOnlyRecurringBillingContractID enum

(BooleanType)

1 Optional Prevent (T) ContractID associated with

a Recurring Payment Agreement from

being changed

ReadOnlyCardSafeCustomerID enum

(BooleanType)

1 Optional Prevent (T) CustomerID associated

with Card Safe payment method from

being changed

EnableRecurringBillingSettings enum

(BooleanType)

1 Optional Override (T) values provided by

Merchant or API User for MaxFailure,

FailureInterval, FailureResultCode and

MaxBillingCycleRetry

BypassExpiredCardValidationForCreditCards enum

(BooleanType)

1 Optional Enable (T) DC Gateway to bypass

validation of credit card expiration

date.

Access Parameters (AddMerchant, UpdateMerchant)

Field Name Type Max

Length Required Description

DialIn enum (BooleanType) 1 Optional Enable (T) transactions to be sent to DC

Gateway via dial-up connection.

BinManagementApi enum (BooleanType) 1 Optional Enable (T) access to Debit Bin

Management API.

PaymentMethodXml Parameters (AddMerchant, UpdateMerchant)

Field Name Type Max

Length Required Description

ProcessorID enum

(ProcessorIDType)

10 Optional Front end processor used to process a

type of payment transaction for

merchant.

PaymentTypeID enum

(PaymentTypeIDType)

10 Optional Payment Type: CREDIT, DEBIT, EBT,

CASH, CHECK, ECHECK, VERIFY, EGC.

Page 18: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 18 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Required Description

HostBased enum

(BooleanVerboseType)

5 Optional Batch settlement process initiated by

Host (True) or by merchant (False) in DC

Gateway virtual terminal.

RegistersXml Parameters (AddMerchant, UpdateMerchant)

The RegistersXml element defines Register details for a Merchant in DC Gateway enclosed within a Registers

XML tag:

Field Name Type Max

Length Required Description

Register enum

(ProcessorIDType)

10 Optional Unique identifier for the register,

terminal or computer on which the

transaction was processed.

RegisterName string 25 Optional Register Name – used to define each

specific register used by merchant.

RegisterNum string 10 Optional Register Number – used to define each

specific register used by merchant.

CardVerification Parameters (AddMerchant, UpdateMerchant)

Developer Notes

Card Verification services are supported by the following processors: Concord EFS Network, Elavon (NOVA

Information System, First Data Nashville, First Data North, First Data Omaha, First Data Rapid Connect, Global

Payments, Heartland Payment Systems, Paymentech - Tampa, TSYS Host, TSYS Terminal (Vital).

Description

The CardVerification element contains settings for DC Gateway to determine whether to accept or reject

transactions based on results from the address (AV) and card verification (CV) services of terminal capture

processors:

Field Name Type Max

Length Required Description

AVExactMatch enum (BooleanType) 1 Optional Accept (T) transactions for which AV

service reports exact match.

AVZipOnly enum (BooleanType) 1 Optional Accept (T) transactions for which AV

service reports ZIP Code match only.

AVAddOnly enum (BooleanType) 1 Optional Accept (T) transactions for which AV

service reports only Address line match.

AVNoMatch enum (BooleanType) 1 Optional Accept (T) transactions for which AV

service reports no Address match.

AVVerUnavail enum (BooleanType) 1 Optional Accept (T) transactions for which AV

service reports Address verification

service not available.

AVServUnsupported enum (BooleanType) 1 Optional Accept (T) transactions for which AV

service reports Address verification is

not supported by process.

Page 19: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 19 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Required Description

AVInvalidAddZip enum (BooleanType) 1 Optional Accept (T) transactions for which AV

service reports formats of address and

ZIP code are invalid.

AVAddNotVerifiable enum (BooleanType) 1 Optional Accept (T) transactions for which AV

service reports Address not verifiable.

AVAddNotVerifiableGlobal enum (BooleanType) 1 Optional Accept (T) transactions for which global

AV service reports Address is not

verifiable.

AVUnregCode enum (BooleanType) 1 Optional Accept (T) transactions for which AV

service returns unrecognized result.

AVNoData enum (BooleanType) 1 Optional Accept (T) transactions for which AV

service returns no result.

AVNotRequested enum (BooleanType) 1 Optional Accept (T) transactions for which AV was

not requested.

CVMatch enum (BooleanType) 1 Optional Accept (T) transactions for which CV

service reports code matches.

CVNoMatch enum (BooleanType) 1 Optional Accept (T) transactions for which CV

service reports code does not match.

CVNotProcessed enum (BooleanType) 1 Optional Accept (T) transactions not processed

through CV service.

CVNotPresent enum (BooleanType) 1 Optional Accept (T) transactions for which CV

service reports code not provided.

CVNoDataFromIssuer enum (BooleanType) 1 Optional Accept (T) transactions for which CV

service reports no code provided from

issuing bank for card number.

CVUnregCode enum (BooleanType) 1 Optional Accept (T) transactions for which CV

service returns unrecognized result.

CVNoData enum (BooleanType) 1 Optional Accept (T) transactions for which CV

service returns no result.

BypassAvsCvvFiltersEnabled enum (BooleanType) 1 Optional Bypass (T) AVS/CVV verification on a per

transaction basis.

Page 20: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 20 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

DeleteMerchant

Description

Delete a Merchant account in DC Gateway.

Parameters

Field Name Type Max

Length Required Description

Username string 25 Required

User name assigned in DC Gateway.

The account must be granted a

sufficient level of security access in

order to invoke the operation.

SecureToken string Variable Required

A value - unique for each User Name -

that is used by DC Gateway to

authenticate the originator of API

requests.

ResellerKey string 10 Required Unique identifier for Direct Connect

reseller.

MerchantKey string 10 Required Unique identifier for a Merchant in DC

Gateway.

ExtData xml ExtData Variable Optional Structure for extended data provided

to DC Gateway.

Returns

Hyperlink to DeleteMerchant Response structure

Example

Hyperlink to DeleteMerchant Request/Response example

Response Structure (AddMerchant, UpdateMerchant, DeleteMerchant)

Field Name Type Max

Length Description

code GatewayResultCode 50 Result code returned from DC Gateway.

error string Variable Message from DC Gateway describing the result of

the processed web method call.

Partner string 10 Direct Connect Reseller number.

Vendor string 10 Unique identifier for a Merchant in DC Gateway.

Username string 25 DC Gateway user name (when operation invoked).

InfoMerchant

Description

Retrieve information about a Merchant in DC Gateway.

Parameters

Field Name Type Max

Length Required Description

Username string 25 Required

User name assigned in DC Gateway.

The account must be granted a

sufficient level of security access in

order to invoke the operation.

Page 21: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 21 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Required Description

SecureToken string Variable Required

A unique value for each User Name

that is used by DC Gateway to

authenticate the originator of API

requests.

VendorKey string 10 Required Unique identifier for Customer (also

known as RPNum in DC Gateway).

ExtData xml ExtData Variable Optional Structure for extended data provided

to/from DC Gateway.

Example

Hyperlink to InfoMerchant Request/Response example

Response Structure (InfoMerchant)

Field Name Type Max

Length Description

code GatewayResultCode 50 Result Code (returned from DC Gateway).

error string Variable

Message from DC Gateway describing the result of

a processed transaction. Only present when an

error is returned for the request message.

Partner string 10 Direct Connect reseller.

Vendor string 10 Unique identifier for a Merchant in DC Gateway.

Username string 25 DC Gateway User Name (when operation invoked).

ResellerKey string 10 Unique identifier for Direct Connect reseller.

MerchantID string 50 Unique identifier for a Merchant in DC Gateway.

MerchantID2 string 50 Unique identifier for a Merchant in DC Gateway.

AnnualSales string 18 Annual Sales for a Merchant, in US or CAN Dollars.

BusinessStartDate string 10 Merchant's first day in business.

CompanyName string 50 Company Name of Merchant Account Holder.

DoingBusinessAs string 50 Trade name for a Merchant.

Url string 50 Universal Resource Locator (for Merchant website).

FederalTaxID string 25

Unique identifier for a business entity issued by the

Internal Revenue Service (IRS), also known as an

Employer Identification Number (EIN).

StateTaxID string 25 Unique identifier for a Merchant assigned by a

State in the United States.

SalesTaxID string 25 Sales Tax identifier of a Merchant in DC Gateway.

OwnershipType string 25 Structure of ownership for Merchant Business.

AutoCloseBatch string 1 Close transaction batches automatically (Terminal-

based settlement only).

AutoCloseBatchHour string 2

Hour of day (between 0 and 23) for DC Gateway to

close transaction batches when AutoCloseBatch = T

(Terminal-based settlement, only).

ForceDuplicate string 1 Allow duplicate transactions (in batch).

RequirePNRef string 1 DC Gateway requires unique identifier for original

transaction to allow refunds or credits.

ContactFirstName string 50 First name of Contact Person at Merchant Account

Holder.

ContactLastName string 50 Last name of Contact Person at Merchant Account

Holder.

ContactPostalCode string 10 ZIP/Postal Code for Address of Contact Person at

Merchant Account Holder.

Page 22: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 22 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Description

ContactSate string 2 State Abbreviation for Address of Contact Person at

Merchant Account Holder.

ContactCity string 50 City for Address of Contact Person at Merchant

Account Holder.

ContactStreet2 string 50 Second line of Address of Contact Person at

Merchant Account Holder.

ContactStreet1 string 50 First line of Address of Contact Person at Merchant

Account Holder.

ContactFax string 25 Fax number for Contact Person at Merchant

Account Holder.

ContactDayPhone string 25 Daytime Phone number of Contact Person at

Merchant Account Holder.

ContactEmail string 100 Electronic Mail Address of Contact Person at

Merchant Account Holder

ContactCountryCode string 3 Code for Country of Address of Contact Person at

Merchant Account Holder.

TimeZoneOffset string 6 Offset from Coordinated Universal Time (in

minutes).

PaymentMethodXml xml

PaymentMethodXml Variable

Collection of methods allowed for payments to

Merchant through DC Gateway (XML encoded).

ReadOnlyCardSafeCustomerID enum

(BooleanVerboseType) 5

Prevent (True) CustomerID associated with a

Recurring Payment Agreement from being

changed.

ReadOnlyRecurringBillingContractID enum

(BooleanVerboseType) 5

Prevent (True) ContractID associated with a

Recurring Payment Agreement from being

changed.

ReadOnlyRecurringBillingCustomerID enum

(BooleanVerboseType) 5

Prevent (True) CustomerID associated with Card

Safe payment method from being changed.

BypassAvsCvvFiltersEnabled enum

(BooleanVerboseType) 5

Bypass (True) AVS/CVV verification on a per

transaction basis.

RegistersXml xml RegistersXml Variable

Collection of registers or terminals configured for a

Merchant in DC Gateway. Only present if registers

are configured for a merchant account.

ExtData xml ExtData Variable Structure for extended data provided to/from DC

Gateway.

AddUser

Description

Add a User Name for a Merchant in DC Gateway.

Parameters

Field Name Type Max

Length Required Description

adminUserName string 25 Required DC Gateway User Name for Merchant

Administrator.

adminPassword string 20 Required Password for Merchant Administrator

User Name.

partner string 10 Conditional

Direct Connect Reseller number;

Required when creating a Reseller

user account.

Page 23: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 23 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Required Description

vendor string 10 Conditional

Unique identifier for a merchant in DC

Gateway; Required when creating a

Merchant user account.

username string 25 Optional

User name assigned in DC Gateway.

The account must be granted a

sufficient level of security access in

order to invoke the operation.

password string 20 Optional Password for the user name assigned

in DC Gateway.

contactFirstName string 50 Required First name of Contact Person at

Merchant Account Holder.

contactLastName string 50 Required Last name of Contact Person at

Merchant Account Holder.

contactEmail string 100 Required Electronic Mail Address of Contact

Person at Merchant Account Holder.

contactDayPhone string 25 Required Daytime Phone number of Contact

Person at Merchant Account Holder.

contactFax string 25 Optional Fax number for Contact Person at

Merchant Account Holder.

contactStreet1 string 50 Optional First line of Address of Contact Person

at Merchant Account Holder.

contactStreet2 string 50 Optional Second line of Address of Contact

Person at Merchant Account Holder.

contactCity string 50 Optional City for Address of Contact Person at

Merchant Account Holder.

contactState string 2 Optional

State Abbreviation for Address of

Contact Person at Merchant Account

Holder.

contactPostalCode string 10 Optional ZIP/Postal Code for Address of Contact

Person at Merchant Account Holder.

contactCountryCode string 3 Required

Code for Country of Address of

Contact Person at Merchant Account

Holder.

userSecurityLevel string 1 Required Level of Security Access granted to

User Name in DC Gateway.

timeZoneOffset string 6 Required Offset from Coordinated Universal

Time (in minutes).

ExtData xml ExtData Variable Optional Structure for extended data provided

to DC Gateway.

Returns

Hyperlink to AddUser Response structure.

Example

Hyperlink to AddUser Request/Response example

Page 24: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 24 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

UpdateUser

Description

Update a User for a Merchant in DC Gateway.

Developers Notes

Invoke the InfoUser operation to retrieve values for corresponding parameters to the UpdateUser operation to

ensure that existing data are not overwritten with empty values.

Parameters

Field Name Type Max

Length Required Description

Username string 25 Required

User name assigned in DC Gateway.

The account must be granted a

sufficient level of security access in

order to invoke the operation.

SecureToken string Variable Required

A unique value for each User Name

that is used by DC Gateway to

authenticate the originator of API

requests.

VendorKey string 10 Required Unique identifier for a reseller in DC

Gateway.

TargetUsername string 25 Required User Name (requested from DC

Gateway for a new User).

FirstName string 50 Required First Name for Customer stored in DC

Gateway.

LastName string 50 Required Last name of Customer stored in DC

Gateway.

Email string 100 Required Electronic Mail Address.

DayPhone string 25 Required Daytime Phone Number.

Fax string 25 Optional Fax number.

Street1 string 50 Optional House number and Street name of a

postal address.

Street2 string 50 Optional Second line of a postal address.

City string 50 Optional City of the cardholder's billing address.

State string 2 Optional

United States Postal Service

abbreviation for a state, possession or

territory.

Zip string 10 Optional ZIP or Postal Code.

Country string 3 Required Country Code of Shipping Address.

Status enum

(UserStatusType) 1 Required

Status of User Name in DC Gateway; 1

= ACTIVE; 2 = INACTIVE.

UserSecurityLevel string 1 Required Level (1-4) of Security Access granted

to User Name in DC Gateway.

SysSecurityLevel string 1 Required System security level (1-4).

MerchantGroupXml xml

MerchantGroupXml Variable Required

Collection of Merchants with which a

User Name is associated.

ExtData xml ExtData Variable Optional Structure for extended data provided

to/from DC Gateway.

Example

Hyperlink to UpdateUser Request/Response example

Response (AddUser, UpdateUser)

Page 25: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 25 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Description

code GatewayResultCode 50 Result code returned from DC Gateway.

error string Variable Message from DC Gateway describing the result of

the processed web method call.

Partner string 10 Direct Connect Reseller number.

Vendor string 10 Unique identifier for a Merchant in DC Gateway.

Username string 25 DC Gateway user name (when operation invoked).

InfoUser

Description

Retrieve information about a User Name for a Merchant in DC Gateway.

Parameters

Field Name Type Max

Length Required Description

Username string 25 Required

User name assigned in DC Gateway.

The account must be granted a

sufficient level of security access in

order to invoke the operation.

SecureToken string Variable Required

A unique value for each User Name

that is used by DC Gateway to

authenticate the originator of API

requests.

VendorKey string 10 Required Unique identifier for a reseller in DC

Gateway.

TargetUsername string 25 Required User Name (requested from DC

Gateway for a new User).

ExtData xml ExtData Variable Optional Structure for extended data provided

to/from DC Gateway.

Example

Hyperlink to InfoUser Request/Response example

Response (InfoUser)

Field Name Type Max

Length Description

code GatewayResultCode 50 Result Code (returned from DC Gateway).

error string Variable Message from DC Gateway describing the result of a

processed transaction.

Partner string 10 Direct Connect reseller.

Vendor string 10 Unique identifier for a Merchant in DC Gateway.

Username string 25 DC Gateway User Name (when operation invoked).

FirstName string 50 First name of the user.

LastName string 50 Last name of the user.

Email string 100 Electronic mail address for the user.

Street1 string 50 First line of postal address for user.

Street2 string 50 Second line of postal address for user.

City string 50 City name of postal address for user.

State string 2 State abbreviation of postal address for user.

Zip string 10 ZIP Code of postal address for user.

Page 26: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 26 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Description

Country string 3 User Country code (USA, CAN) of postal address.

DayPhone string 25 Daytime phone number of user.

Fax string 25 Facsimile phone number of user.

Status string 1 Status (1 - Active or 0 - Inactive) of username.

UserSecurityLevel string 1 Level (1-4) of Security Access granted to User Name

in DC Gateway.

SysSecurityLevel string 1 Level (1-4) of Security Access granted to User Name

in DC Gateway.

MerchantGroupXml xml

MerchantGroupXml Variable

Collection of Merchant identifiers enclosed by one

or more MerchantKey elements within a

MerchantGroup tag for a DC Gateway Username.

ExtData xml ExtData Variable Structure for extended data provided to/from DC

Gateway.

InfoCustomer

Description

Retrieve information about a Customer stored in DC Gateway.

Parameters

Field Name Type Max

Length Required Description

Username string 25 Required

User name assigned in DC Gateway.

The account must be granted a

sufficient level of security access in

order to invoke the operation.

SecureToken string Variable Required

A unique value for each User Name

that is used by DC Gateway to

authenticate the originator of API

requests.

CustomerKey string 10 Required Unique identifier for Customer (in DC

Gateway).

ExtData xml ExtData Variable Optional Structure for extended data provided

to/from DC Gateway.

Returns

Hyperlink to InfoCustomer Response structure.

Example

Hyperlink to InfoCustomer Request/Response example

InfoContract

Description

Retrieve information about Contracts stored for a Customer in DC Gateway.

Parameters

Field Name Type Max

Length Required Description

Username string 25 Required

User name assigned in DC Gateway.

The account must be granted a

sufficient level of security access in

order to invoke the operation.

Page 27: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 27 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Required Description

SecureToken string Variable Required

A unique value for each User Name

that is used by DC Gateway to

authenticate the originator of API

requests.

CustomerKey string 10 Required Unique identifier for Customer (in DC

Gateway).

ExtData xml ExtData Variable Optional Structure for extended data provided

to/from DC Gateway.

Example

Hyperlink to InfoContract Request/Response example

Response Structure (InfoCustomer, InfoContract)

Field Name Type Max

Length Description

code GatewayResultCode 50 Result Code (returned from DC Gateway).

error string Variable Message from DC Gateway describing the result of a

processed transaction.

Partner string 10 Direct Connect reseller.

Vendor string 10 Unique identifier for a Merchant in DC Gateway.

Username string 25 DC Gateway User Name (when operation invoked).

City string 50 City of postal address.

Country string 3 Country code (USA, CAN) of postal address.

DayPhone string 25 Phone number (daytime).

Department string 50 Department Name in Address of Primary Contact

for Customer.

Email string 100 Electronic mail address of Primary Contact for

Customer.

Fax string 25 Facsimile phone number of Primary Contact for

Customer.

FirstName string 50 First Name of Primary Contact for Customer.

LastName string 50 Last Name of Primary Contact for Customer.

Mobile string 50 Mobile phone number of Primary Contact for

Customer.

NightPhone string 50 Phone number (night time) of Primary Contact for

Customer.

Province string 50 Canadian Province.

State string 2 USPS abbreviation for state, province, district or

possession.

Street1 string 50 House number and street name for postal address.

Street2 string 50 Second line of postal address.

Street3 string 50 Third line of postal address.

Title string 50 Title of Primary Contact for Customer.

Zip string 10 ZIP/Postal code of postal address.

PaymentMethods (only present in

InfoCustomer web method) xml PaymentMethod Variable

Collection of methods for payments from Customer

through DC Gateway.

Contract (only present in InfoContract

web method) xml Contract Variable

Collection of Recurring Payment Agreements

between a DC Gateway Customer and a Merchant.

PaymentMethod Parameters (InfoCustomer, InfoContract)

Page 28: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 28 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Description

CcType enum (PaymentType) Card Brand._PaymentType_(DC_Gateway

CcZIP string 10 ZIP Code of cardholder postal address.

CcStreet string 25 Street line of cardholder postal address.

CcNameonCard string 25 Name of cardholder (as it appears on card).

CcExpDate string 4 Expiration date on card.

CcAccountNum string 19 Card number (all but final 4 digits of number are

masked to protect privacy).

CardInfoKey string 10 Unique identifier assigned to card in DC Gateway.

Contract Parameters (InfoContract)

Field Name Type Max

Length Description

AmountToDate string 18 Total of all recurring payments made on contract to-

date.

BillAmt string 18 Sales amount for each recurring payment.

BillingInterval string 2 Number of periods between payments.

BillingPeriod string Unit (DAY, WEEK, MONTH, YEAR) for billing time

period.

BillsToDate string 10 Number of bills presented to Customer from the

initiation of payment agreement until current date.

ContractID string 10 Unique identifier assigned by user to the Recurring

Payment Agreement between Merchant and

Customer.

ContractName string 100 Description for Recurring Payment Agreement.

CreatedDT string 10 Date of initiation for Recurring Payment Agreement.

DayOfWeek string 1 Days of week (1-7) on which recurring payments are

processed.

EmailCustOnFailure enum (BooleanType) 1 Send (T) electronic mail message to Customer when

an attempted payment is unsuccessful.

EmailCustOnSuccess enum (BooleanType) 1 Send (T) electronic mail message to Customer when

an attempted payment is successful.

EmailMerchantOnFailure enum (BooleanType) 1 Send (T) electronic mail message to Merchant when

an attempted payment is unsuccessful.

EmailMerchantOnSuccess enum (BooleanType) 1 Send (T) electronic mail message to Merchant when

an attempted payment is successful.

EndDT string 10 Date of termination for Recurring Payment

Agreement.

FailurePeriod string Unit (DAY, WEEK, MONTH, YEAR) for failure time

period.

FailureInterval string 2 Number of time periods between reprocessing

attempts (after an unsuccessful payment).

NextBillDt string 10 Date of next scheduled payment.

NumPayments string 2 Number of payments authorized by Recurring

Payment Agreement.

Page 29: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 29 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Description

PaymentPref string 2 Credit Card (CC) or Check (CK).

StartDT string 10 Date of first payment.

TaxAmt string 18 Tax amount (for each payment).

TotalAmt string 18 Total (Sales + Tax) amount (for each payment).

ContractKey string 10 Unique identifier assigned to a Recurring Payment

Agreement created by DC Gateway.

GetAPIUser

Description

Retrieve network credentials for a User Name (with access to DC Gateway APIs).

Developers Notes

GetAPIUser is not currently a viable operation of the DC Gateway Administration web service.

Parameters

Field Name Type Max

Length Required Description

userName string 25 Required

User name assigned in DC Gateway.

The account must be granted a

sufficient level of security access in

order to invoke the operation.

secureToken string Variable Required

A unique value for each User Name

that is used by DC Gateway to

authenticate the originator of API

requests.

merchantKey string 10 Required Unique identifier for a Merchant in DC

Gateway.

Example

Hyperlink to GetAPIUser Request/Response example

Response (GetAPIUser)

Field Name Type Max

Length Description

UserName string 25 DC Gateway User Name (when operation invoked).

Password string Variable Password for DC Gateway User Name.

SecurePassword string Variable Password for DC Gateway User Name (encrypted).

Domain string 10 Network domain of DC Gateway User Name.

GetDebitAccount

Description

The GetDebitAccount operation is not supported by DC Gateway.

Page 30: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 30 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Login

Description

Login to DC Gateway Virtual Terminal.

Parameters

Field Name Type Max

Length Required Description

Username string 25 Required

User name assigned in DC Gateway.

The account must be granted a

sufficient level of security access in

order to invoke the operation.

Password string 20 Required Password for the user name assigned

in DC Gateway.

Example

Hyperlink to Login Request/Response example

Response (Login)

Field Name Type Max

Length Description

code GatewayResultCode 50 Result Code (returned from DC Gateway)

error string Variable Message from DC Gateway describing the result of a

processed transaction.

Partner string 10 Direct Connect reseller

Vendor string 10 Unique identifier for a Merchant in DC Gateway

Username string 25 DC Gateway User Name (when operation invoked)

Page 31: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 31 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Transaction Processing Web Service

Name

Process Transaction with Card or Check.

Description

Process payments with Checks and Cards.

Operations

Name Description

GetInfo Retrieves information about the status or configuration of DC Gateway.

ProcessCash Process transaction with Cash.

ProcessCheck Process transaction with a Check.

ProcessCreditCard Process transaction with a Credit Card.

ProcessDebitCard Process transaction with a Debit Card.

ProcessEBTCard Process transaction with an Electronic Benefits Transfer (EBT) Card.

ProcessGiftCard Process transction with a Gift Card.

ProcessLoyaltyCard Deprecated - Process transaction with a Loyalty Card.

ProcessSignature Add Signature to a transaction processed with DC Gateway.

Developer Notes

Invoke Transaction Processing Web Service operations with a Testing Account and a Trigger Amount to elicit

a specific response from DC Gateway during development and testing._Testing_Accounts

Default timeout values (in seconds) are 30 for transaction and 300 for settlement requests.

GetInfo

Description

Retrieves information about the status of DC Gateway.

Developer Notes

GetInfo StatusCheck operation is supported by DC Gateway for all processors.

GetInfo BatchInquiry/KeyChangeRequest/Initialize/Setup transaction types have been deprecated.

Parameters

Field Name Type Max

Length Required Description

UserName string 25 Required

User name assigned in DC Gateway.

The account must be granted a

sufficient level of security access in

order to invoke the operation.

Password string 20 Required Password for the user name assigned

in DC Gateway.

Page 32: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 32 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Required Description

TransType string 11 Required

Valid TransType value: StatusCheck -

provides status of the DC Gateway

(BatchInquiry, KeyChangeRequest,

Initialize, and Setup transaction types

have been deprecated).

ExtData xml ExtData Variable Optional

There are no Extended Data

parameters for the GetInfo -

StatusCheck Operation.

Returns

Hyperlink to Transact Web Service Response structure.

Example

Hyperlink to GetInfo Request/Response example

ProcessCash

Description

Process a transaction with Cash.

Developer Notes

ProcessCash allows DC Gateway to produce comprehensive reports of payments processed by a Merchant in a

batch or over a time period.

Parameters

Field Name Type Max

Length Required Description

UserName string 25 Required

User name assigned in DC Gateway.

The account must be granted a

sufficient level of security access in

order to invoke the operation.

Password string 20 Required Password for the user name assigned

in DC Gateway.

TransType enum

(CashTransType) 6 Required

Transaction type for processing a cash

payment. Valid TransType values: Sale;

Return.

Amount string 18 Required $0.00 > Amount < $1,000,000.00

(DDDDDD.CC).

InvNum string 20 Optional

Identifier assigned by the merchant to

locate a specific transaction or

multiple transactions (grouped by a

single invoice).

PNRef string 10 Conditional

Unique identifier of a transaction,

assigned by DC Gateway.

Required for TransType =Return;

Optional for TransType = Sale.

RegisterNum string 10 Optional

A string that uniquely identifies the

register, terminal, or computer on

which the transaction was performed.

Page 33: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 33 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Required Description

ExtData xml ExtData Variable Optional

Structure for extended data provided

to/from Transaction Processing Web

Service.

ExtData Parameters (ProcessCash)

Field Name Type Max

Length Required Description

Timeout string 10 Optional Processor timeout, in seconds.

TrainingMode enum (BooleanType) 1 Optional

Transactions are processed for local

loop back testing when Training Mode

is active (T).

Returns

Hyperlink to Transact Web Service Response structure.

Example

Hyperlink to ProcessCash Request/Response example

ProcessCheck

Description

Process a transaction with Check.

Developer Notes

Account and routing data outputted by a MICR can be passed through the API. Refer to MICR manufacture

documentation.

Important notes regarding the ProcessCheck - Capture operation:

o Capture and CaptureAll web methods are only supported by processors that operate on terminal

settlement platform. _Front_End_Processors

o Merchant must successfully make a sale before invoking a ProcessCheck - Capture operation.

o Include the value of PNRef in the response received from a ProcessCheck – Sale operation as the PNRef

parameter to ProcessCheck – Capture operation.

Parameters

Field Name Type Max

Length Required Description

UserName string 25 Required

User name assigned in DC Gateway.

The account must be granted a

sufficient level of security access in

order to invoke the operation.

Password string 20 Required Password for the user name assigned

in DC Gateway.

TransType enum

(CheckTransType) 10 Required

Transaction type for processing a

check payment. Valid TransType

values: Auth; Sale Return; Force; Void;

Capture; CaptureAll.

CheckNum string 10 Required Unique identifier for an original check

(on a Checking Account).

Page 34: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 34 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Required Description

TransitNum string 9 Required

A Nine-digit code, used in the United

States to identify the financial

institution on which a check is drawn.

AccountNum string 20 Required Unique identifier of the check owner's

bank account.

Amount string 18 Required $0.00 > Amount < $1,000,000.00

(DDDDDD.CC).

MICR string 250 Optional

Magnetic Ink Check Reader (MICR)

data line, including routing number of

Bank and Account number of owner.

NameOnCheck string 50 Required Check owner's name as it appears on

the check.

DL string 255 Optional Identifier on Driver's License of Check

owner.

SS string 11 Optional

Nine-digit number issued to citizens,

permanent residents and temporary

workers by the Social Security

Administration in the United States.

DOB string 10 Optional Date of Birth (MM/DD/YYYY or YYYY-

MM-DD).

StateCode string 2 Conditional

United States Postal Service

abbreviation for a state, district,

possession or territory.

Required for TransType = Sale;

Return;

Optional for TransType = Auth; Force;

Void; Capture; CaptureAll.

CheckType enum (CheckType) 10 Conditional

Checking Account Type: Personal,

Business.

Required for TransType = Sale;

Return;

Optional for TransType = Auth; Force;

Void; Capture; CaptureAll.

ExtData xml ExtData Variable Conditional

Structure for extended data provided

to/from Transaction Processing Web

Service.

Required for TransType = Sale;

Return; Void;

Optional for TransType = Auth; Force;

Capture; CaptureAll.

ExtData Parameters (ProcessCheck)

Field Name Type Max

Length Required Description

AccountType enum (CheckAcctType) 10 Conditional

Valid Account Type: Checking, Savings.

Required for TransType = Sale;

Return;

Optional for TransType = Auth; Force;

Void; Capture; CaptureAll.

AllianceNum string 20 Optional Alliance number associated with

checking account.

Page 35: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 35 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Required Description

AuthOptionForm enum

(AuthOptionFormType) 25 Conditional

Signed Form authorization option.

Required for SECCType CCD or PPD.

AuthOptionVoice enum

(AuthOptionVoiceType) 25 Conditional

Recorded Voice authorization option.

Required for SECCType = TEL.

BillToStreet string 100 Conditional

Address of Customer.

Required for TransType = Sale;

Return;

Optional for TransType = Auth; Force;

Void; Capture; CaptureAll.

BillToCity string 50 Conditional

City of Customer.

Required for TransType = Sale;

Return;

Optional for TransType = Auth; Force;

Void; Capture; CaptureAll.

BillToState string 50 Optional

United States Postal Service

abbreviation for a state, district,

possession or territory.

Required for TransType = Sale;

Return;

Optional for TransType = Auth; Force;

Void; Capture; CaptureAll.

BillToPostalCode string 5 Conditional

Zip code of Customer.

Required for TransType = Sale;

Return;

Optional for TransType = Auth; Force;

Void; Capture; CaptureAll.

BillToCountry string 3 Optional Country of Customer.

CItyOfAccount string 50 Optional City of Account.

CustomerID string 50 Optional Identifier assigned by merchant to

cardholder.

Email string 100 Optional Electronic Mail Address of checking

account owner.

ExternalIP string 15 Optional Originating IP address to use for

logging and IP filtering.

InvNum string 20 Optional

Identifier assigned by merchant to

locate a specific transaction or

multiple transactions (grouped by a

single invoice).

Phone string 12 Conditional

Phone number of Customer: xxx-xxx-

xxxx.

Required for TransType = Sale;

Return;

Optional for TransType = Auth; Force;

Void; Capture; CaptureAll.

PNRef string 10 Conditional

Unique identifier of a transaction,

assigned by DC Gateway.

Required for TransType = Return;

Void; Capture;

Optional for TransType = Auth; Sale;

Force; CaptureAll.

Page 36: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 36 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Required Description

RawMICR string 250 Optional

Magnetic Ink Check Reader (MICR)

received from a check reader

composed of a transit number, the

letter “T”, an account number, the

letter “O” and the check number.

SECCType enum (SECCType) 3 Conditional Standard Entry Class codes. Required

for First ACH transactions.

Timeout string 10 Optional Processor timeout, in seconds.

TrainingMode enum (BooleanType) 1 Optional

Transactions are processed for local

loop back testing when Training Mode

is active (T).

Returns

Hyperlink to Transact Web Service Response structure.

Example

Hyperlink to ProcessCheck Request/Response example

ProcessCreditCard

Description

Process a transaction with a Credit Card.

Developer Notes

The ProcessCreditCard operation is supported by the following processors: Concord EFS Network, Elavon

(NOVA Information System), First Data Nashville, First Data North, First Data Omaha, First Data Rapid

Connect, Global Payments, Heartland Payment Systems, Paymentech - Tampa, TSYS Host, TSYS Terminal

(Vital).

Important notes regarding obtaining customer card information:

o A value for MagData is required for DC Gateway to process payment with credit card presented by

consumer and obtained with swipe or proximity (Near Field Communication) card reader at the point of

sale/service.

o Proximity (NFC) card readers are supported by the following processors: First Data North, First Data

Rapid Connect, TSYS Terminal (Vital).

o EMV payment technology is supported by First Data Rapid Connect processor.

Notes regarding Level II processing:

o The PONum and TaxAmt extended data elements used to specify Purchase Order Number and Tax

Amount Level II data item for the following processors: First Data Nashville, First Data North, First Data

Omaha, First Data Rapid Connect, Global Payments, Heartland Payment Systems, Paymentech – Tampa,

TSYS Host, TSYS Terminal (Vital).

o Transactions must be processed with Purchasing/Procurement Cards to qualify for Level II interchange

rates.

o The CustCode extended data element used to specify Purchase Order Number Level II data item for the

Global Payments processor.

Notes regarding Level III processing:

o Level III - Line Item detail provided with ProcessCreditCard – Auth operation will be preserved during

ProcessCreditCard – Force and Capture operations.

o Level III – Line Item detail is supported for Visa and MasterCard transactions by the following

processors: First Data North, Heartland Payment Systems.

o Line Item detail should only be provided for transactions processed with Business/Corporate Cards.

Page 37: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 37 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Notes regarding Partial Authorization processing:

o The ProcessCreditCard – Auth (Partial) operation is supported for Visa and MasterCard transactions by

the following processors: First Data Rapid Connect, TSYS Host, TSYS Terminal (Vital).

o Inspect value (for “Partial Approval” or “Approval”) of Message element in Response message received

from ProcessCreditCard – Auth operation when Merchant Account is configured to support Partial

Authorization.

Transactions that require PNRef number for processing:

o Include the value of PNRef in the response received from a ProcessCreditCard - Auth operation as the

PNRef parameter to ProcessCreditCard – Force operation.

o Include the value of PNRef in the response received from a ProcessCreditCard – Sale or RepeatSale

operation as the PNRef parameter to ProcessCreditCard – Return operation.

o Include the value of PNRef in the response received from a ProcessCreditCard – Sale or RepeatSale

operation as the PNRef parameter to ProcessCreditCard – Reversal operation and Void operation.

o Include the value of PNRef in the response received from a ProcessCreditCard – Sale, RepeatSale or Auth

operation as the PNRef parameter to ProcessCreditCard – Capture operation.

Merchant must successfully authorize a transaction or make a sale before invoking a ProcessCreditCard

Void operation.

Merchant must successfully make a sale or force an authorization before invoking a ProcessCreditCard -

CaptureAll operation.

A value for the CVPresence extended data element is required with ProcessCreditCard operations for the

following processors: First Data Nashville, First Data North, First Data Omaha, First Data Rapid Connect.

Utility Bill Payments are supported (through the BillPayment extended data element) by the following

processors: First Data North, Global Payments, TSYS Terminal (Vital).

Special processing for medical expenses supported for Visa transactions by First Data North processor using

the following extended data elements: IIAS_Indicator, Partial_Indicator, QHP_Amount, RX_Amount,

Vision_Amount, Dental_Amount, Clinical_Amount.

Concord EFS Network processor refuses duplicate transactions (ignores instruction received from DC

Gateway as value of ForceDuplicate extended data element).

The name and address of secondary Merchants (which share a single Merchant Account) are supported for

First Data Rapid Connect processor with the following extended data elements: AltMerchName,

AltMerchAddr, AltMerchCity, AltMerchState, AltMerchZip.

The ProcessCreditCard – Capture and CaptureAll operations are supported by the following processors

operating on terminal settlement platforms: First Data North, First Data Omaha, Paymentech - Tampa, TSYS

Terminal (Vital).

For Sale/Auth transactions, AVS and CVV responses are validated against the fraud filters (if enabled).

For RepeatSale transactions, AVS and CVV responses are not validated against the fraud filters (if

enabled)._Front_End_Processors

Parameters

Field Name Type Max

Length Required Description

UserName string 25 Required

User name assigned in DC Gateway.

The account must be granted a

sufficient level of security access in

order to invoke the operation.

Password string 20 Required Password for the user name assigned

in DC Gateway.

Page 38: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 38 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Required Description

TransType enum

(CreditCardTransType) 10 Required

Transaction type for processing a

credit card payment. Valid TransType

values: Auth; Sale; Force; RepeatSale;

Return; Reversal; Void; Capture;

CaptureAll.

CardNum string 19 Conditional

The Primary Account Number (PAN)

uniquely identifies the issuer and

credit cardholder account.

Required for TransType = Auth; Sale;

RepeatSale; Return; Reversal;

Optional for TransType = Force; Void;

Capture; CaptureAll.

ExpDate string 4 Conditional

Expiration Date (MMYY)

Required for TransType = Auth; Sale;

RepeatSale; Return; Reversal;

Optional for TransType = Force; Void;

Capture; CaptureAll.

MagData string Variable Conditional

The data - number and expiration date

- read from magnetic stripe on card.

Required when credit card

presented by consumer at point of

sale/service.

NameOnCard string 25 Optional Cardholder's name as it appears on

the card.

Amount string 18 Conditional

$0.00 > Amount < $1,000,000.00

(DDDDDD.CC).

Required for TransType = Auth; Sale;

RepeatSale; Force; Return; Reversal;

Optional for TransType = Void;

Capture; CaptureAll.

InvNum string 20 Optional

Identifier assigned by the merchant to

locate a specific transaction or

multiple transactions (grouped by a

single invoice).

PNRef string 10 Conditional

Unique identifier of a transaction,

assigned by DC Gateway.

Required for TransType = Force;

Return; Reversal; Void; Capture;

Optional for TransType = Auth; Sale;

RepeatSale; CaptureAll.

Zip string 10 Optional ZIP or Postal Code of cardholder's

billing address.

Street string 25 Optional House number and Street name of

cardholder's billing address.

CVNum string 4 Optional Credit Card Verification Number.

ExtData xml ExtData Variable Conditional

Structure for extended data provided

to/from Transaction Processing Web

Service;

Required for TransType = Sale w/

Level II/III Data and P2PE enabled

transactions.

Optional for Auth; Sale (w/o Level II/III);

Reversal.

Page 39: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 39 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Page 40: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 40 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

ExtData Parameters (ProcessCreditCard)

Field Name Type Max

Length Required Description

AltMerchName string 50 Optional

Soft descriptor: name of secondary

Merchant (single Merchant Account

used for more than one merchant

website). Specific to First Data Rapid

Connect & FD ISO Nashville.

AltMerchAddr string 50 Optional

Soft descriptor: address of secondary

Merchant (single Merchant Account

used for more than one merchant

website). Specific to First Data Rapid

Connect & FD ISO Nashville.

AltMerchCity string 50 Optional

Soft descriptor: city of secondary

Merchant (single Merchant Account

used for more than one merchant

website). Specific to First Data Rapid

Connect & FD ISO Nashville.

AltMerchState string 2 Optional

Soft descriptor: state of secondary

Merchant (single Merchant Account

used for more than one merchant

website).

AltMerchZip string 10 Optional

Soft descriptor: ZIP Code of secondary

Merchant (single Merchant Account

used for more than one merchant

website). Specific to First Data Rapid

Connect & FD ISO Nashville.

AuthCode string 20 Optional Authorization/approval code assigned

to original transaction by processor.

Authentication string 20 Optional Value to authenticate the payment.

BillPayment enum (BooleanType) 1 Optional Indicate (T) transaction accepted for

payment on Utility Bill.

BillToState string 2 Optional State abbreviation of checking

account owner’s billing address.

BypassAvsCvv enum (BooleanType) 1 Optional

Flag used to indicate if the DC

Gateway should bypass AVS and CVV

validation.

City string 50 Optional City of checking account owner’s

billing address.

Clinical_Amount string 13 Optional Subtotal for clinical services

(DDDD.CC). Decimal included.

ConvenienceAmt string 18 Optional

Fee (added to Amount) for utility

company, government or school to

recover cost of accepting credit card

for payment (DDDDD.CC).

CustCode string 20 Optional

Identifier assigned by merchant to

allow payment processed by Global

Payments to be traced to purchase

order number.

CustomerID string 50 Optional Identifier assigned by merchant to

cardholder.

CustomFields xml CustomFields Variable Optional User defined Custom fields for

Merchant in DC Gateway.

Page 41: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 41 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Required Description

CVPresence enum

(CVPresenceType) 1 Optional

Card verification provided for

transaction:

1 – No CV provided

2 – No CV submitted (along with key-

entered card number)

3 – CV submitted

4 – CV illegible

5 – CV not on card.

Dental_Amount string 13 Optional Subtotal for dental services

(DDDD.CC). Decimal included.

EMVData string Variable Optional

Application cryptogram generated by

chip requesting issuer to confirm

legitimacy of card.

EntryMode enum

(EntryModeType) 15 Conditional

Indicate how merchant obtained

values from credit card, as follows:

UNKNOWN; MANUAL MagneticStripe;

ICC; PROXIMITY.

Required when MagData or

EMVData fields are populated.

ExternalIP string 15 Optional Originating IP address to use for

logging and IP filtering.

Fleet string Deprecated

Force enum (BooleanType) 1 Optional

Force (T) DC Gateway to accept

duplicate transaction into current

batch (ignored by Concord EFS

processor).

IIAS_Indicator enum (BooleanType) 1 Optional

Indication (T) received from an

Inventory Information Approval

System (IIAS) that credit card payment

for eligible medical expense. Specific

to First Data North.

Invoice string Deprecated

Items string Deprecated

Level3Amt string 18 Optional Total amount for line items in order

LineItemDetail xml LineItemDetail Variable Conditional

XML element. Detail for 1 – 99 line

items which must be provided to

qualify transaction for Level III

interchange. See LineItemDetail

section below for definition.

Required in order to qualify for

Level III transactions.

P2PE xml P2PE Variable Conditional

XML element containing the

necessary point to point encryption

values for magnetic stripe data.

Required for transactions that

obtain customer account

information using Point to Point

encryption.

Partial_Indicator enum (BooleanType) 1 Optional

Processor may (T) authorize partial

amount for medical expense based

on funds available.

Page 42: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 42 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Required Description

PONum string 20 Optional

Identifier assigned by merchant to

allow payment processed (by

processor other than Global

Payments) to be traced to purchase

order number.

Presentation xml Presentation Variable Optional XML element indicating presence of

card at point of sale.

QHP_Amount string 13 Optional Subtotal for over-the-counter medical

items (DDDD.CC). Decimal included.

RegisterNum string 10 Optional

A string that uniquely identifies the

register, terminal, or computer on

which transaction was performed.

RX_Amount string 13 Optional Subtotal for prescribed medical items

(DDDD.CC). Decimal included.

SequenceCount string 5 Optional

Total number of payments to be

processed on a repeat sale or

Recurring Payment Agreement.

SequenceNum string 5 Optional

The order in which a payment was

processed on a repeat sale or

Recurring Payment Agreement.

ServerID string 50 Optional Unique identifier of DC Gateway used

to process transaction.

Target string 50 Optional

Numeric value originally assigned by

Merchant (using TransactionID

extended data element) to identify

transaction (for use as alternative to

DC Gateway-assigned PNRef).

TaxAmt string 18 Optional

Fee (added to Amount) to cover cost

of sales tax (DDDDD.CC). Required

for Level II/III transactions.

TimeOut string 10 Optional Processor timeout, in seconds.

TipAmt string 18 Optional

Fee (included in Amount) specified by

consumer as gratuity for service

performed (DDDDD.CC).

TrainingMode enum (BooleanType) 1 Optional Process transactions for local loop

back testing (T).

TransactionID string 50 Optional

Numeric value assigned by Merchant

to identify a transaction (for use as

alternative to DC Gateway-assigned

PNRef).

Vision_Amount string 13 Optional Subtotal for vision services

(DDDD.CC). Decimal included.

CustomFields Parameters

All Custom Fields elements must be enclosed in a <CustomFields></CustomFields> data tag.

Field Name Type Max

Length Required Description

“user defined field #1” string 12 Optional Custom field defined by merchant.

“user defined fieldn” where n is

iterative string 12 Optional Custom field defined by merchant.

Page 43: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 43 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

LineItemDetail Parameters (Level III)

Each LineItemDetail record must be enclosed in a <LineItem></LineItem> data tag.

Field Name Type Max

Length Required Description

CommodityCode string 12 Conditional

Commodity/Service classification of

item.

Required for Level III transactions.

Description string 50 Conditional Item description.

Required for Level III transactions.

DiscountAmount string 50 Conditional Discount applied to item.

Required for Level III transactions.

DiscountIncluded enum (BooleanType) 1 Conditional

Indicator defining if Discount is

included in amount.

Required for Level III transactions.

LineItemTotal string 50 Conditional

Subtotal for item (Amount –

DiscountAmount + TaxAmount).

Required for Level III transactions.

ProductCode string 50 Conditional

Product code for item assigned by

merchant.

Required for Level III transactions.

Quantity string 18 Conditional Number of units of item in order.

Required for Level III transactions.

TaxAmount string 50 Conditional

Total tax to apply to item (see also

TaxIncluded).

Required for Level III transactions.

TaxRate string 50 Conditional Tax rate applied to item.

Required for Level III transactions.

TaxType enum (TaxType) 50 Conditional Tax table applied to item.

Required for Level III transactions.

UnitOfMeasure enum

(UnitOfMeasureType) 3 Conditional

Division of quantity accepted as

standard for exchange.

Required for Level III transactions.

UnitPrice string 18 Conditional Cost of item per unit.

Required for Level III transactions.

P2PE Parameters (Point to Point Encryption)

The Point to Point Encrypted elements must be enclosed in <P2PE></P2PE> data tag.

Field Name Type Max

Length Required Description

HSMDevice string 6 Conditional Value = “Thales”.

Required for P2PE transactions.

TerminalType string 25 Conditional

Type of terminal used to generate

the point to point encryption

transaction.

Required for P2PE transactions.

EncryptionType string 5 Conditional

Type of encryption method. Value =

“DUKPT”.

Required for P2PE transactions.

KSN string 20 Conditional

Key serial number for encrypted

magnetic stripe data.

Required for P2PE transactions.

Page 44: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 44 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Required Description

DataBlock string Variable Conditional

Data block containing the encrypted

magnetic stripe data for transaction.

Required for P2PE transactions.

Presentation Parameters

Field Name Type Max

Length Required Description

CardPresent enum

(CardPresentType) 7 Optional Card presence indicator.

Returns

Hyperlink to Transact Web Service Response structure.

Example

Hyperlink to ProcessCreditCard Request/Response example

ProcessDebitCard

Description

Process a transaction with a Debit Card.

Developer Notes

Processor specific notes regarding debit support:

o The ProcessDebitCard operation is supported by the following processors: Concord EFS Network, Elavon

(NOVA Information System), First Data North, First Data Omaha, First Data Rapid Connect, Global

Payments, Paymentech - Tampa, TSYS Host, TSYS Terminal (Vital).

o PIN-less Debit Card transactions are supported by Global Payments processor.

o Returning cash from ProcessDebitCard – Sale operation supported by the following processors: Elavon

(NOVA Information System), First Data Rapid Connect, Global Payments, TSYS Host, TSYS Terminal (Vital).

o The ProcessDebit – Reversal operation is supported by First Data North, First Data Rapid Connect, Global

Payments, TSYS Host, TSYS Terminal (Vital).

o Processors limit time period between a ProcessDebitCard - Sale operation and the corresponding

ProcessDebit – Reversal operation: two (2) hours – TSYS Host, TSYS Terminal (Vital), 24 hours - First Data

North, First Data Rapid Connect, Global Payments.

Important notes regarding obtaining customer card information:

o A value for MagData is required for DC Gateway to process payment with debit card presented by

consumer and obtained with swipe or proximity (Near Field Communication) card reader at the point of

sale/service.

o Proximity (NFC) card readers are supported by the following processors: First Data North, First Data

Rapid Connect, TSYS Terminal (Vital).

o EMV payment technology is supported by First Data Rapid Connect processor.

Transactions that require PNRef number for processing:

o Include the value of PNRef in the response received from a ProcessDebitCard – Sale operation as the

PNRef parameter to ProcessDebit Card – Return operation.

o Include the value of PNRef in the response received from a ProcessDebitCard – Sale operation as the

PNRef parameter to ProcessDebit Card – Capture operation.

o Include the value of PNRef in the response received from a ProcessDebitCard – Sale operation as the

PNRef parameter to ProcessDebit Card – Reversal operation.

Page 45: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 45 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

DC Gateway rejects ProcessDebitCard operations unless Personal Identification Number (PIN) encrypted

when a value is provided for Pin parameter.

Merchant must successfully make a sale before invoking a ProcessDebitCard Return operation.

Merchant must successfully make a sale before invoking a ProcessDebitCard CaptureAll operation.

Merchants selling through both telephone (i.e. automated Voice Response Unit) and also internet must use

the RegisterNum Extended Data element to specify channel for each sale (made by telephone or internet).

The ProcessDebitCard – Capture and CaptureAll operations are supported by the following processors

operating on terminal settlement platforms: First Data North, First Data Omaha, Paymentech - Tampa, TSYS

Terminal (Vital)._Front_End_Processors

Parameters

Field Name Type Max

Length Required Description

UserName string 25 Required

User name assigned in DC Gateway.

The account must be granted a

sufficient level of security access in

order to invoke the operation.

Password string 20 Required Password for the user name assigned

in DC Gateway.

TransType enum

(DebitCardTransType) 10 Required

Transaction type for processing a

debit card payment. Valid TransType

values: Sale; Return; Reversal;

Capture; CaptureAll.

CardNum string 19 Conditional

The Primary Account Number (PAN)

uniquely identifies the issuer and

debit cardholder account.

Required for TransType = Sale;

Return; Reversal;

Optional for TransType = Capture;

CaptureAll.

ExpDate string 4 Conditional

Expiration Date.

Required for TransType = Sale;

Return; Reversal;

Optional for TransType = Capture;

CaptureAll.

MagData string Variable Conditional

The data - number and expiration

date - read from magnetic stripe on

card.

Required for TransType = Sale;

Return; Reversal;

Optional for TransType = Capture;

CaptureAll.

NameOnCard string 25 Optional Cardholder's name as it appears on

the card.

Amount string 18 Conditional

Sale Amount (DDDDD.CC format).

Required for TransType = Sale;

Return; Reversal;

Optional for TransType = Capture;

CaptureAll.

InvNum string 10 Optional Invoice Number.

Page 46: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 46 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Required Description

PNRef string 10 Conditional

Unique identifier of a transaction,

assigned by DC Gateway.

Required for TransType = Return;

Capture; Reversal;

Optional for TransType = Sale;

CaptureAll.

Pin string Variable Conditional

The encrypted PIN-block returned

from a secure cryptographic device,

such as a PIN Pad.

Required when processor requires

customer to provide Personal

Identification Number.

RegisterNum string 10 Optional

A string that uniquely identifies the

register, terminal, -r computer on

which-the transaction was

performed.

SureChargeAmt string 18 Optional

The amount charged - surcharge

applied - by a merchant to process a

transaction with a debit card.

CashBackAmt string 18 Optional

Amount added to a Sale Amount that

is returned in Cash (DDDDD.CC

format).

ExtData xml ExtData Variable Conditional

Structure for extended data provided

to/from Transaction Processing Web

Service.

Required for online PIN debit

transactions and/or P2PE enabled

transactions.

ExtData Parameters (ProcessDebitCard)

Field Name Type Max

Length Required Description

AuthCode string 20 Optional Authorization/approval code assigned

to original transaction by processor.

CustomerID string 50 Optional

Identifier assigned by merchant to

allow payment processed by Global

Payments to be traced to purchase

order number.

Force enum (BooleanType) 1 Optional

Force (T) DC Gateway to accept

duplicate transaction into current

batch (ignored by Concord EFS

processor).

KeySerialNumber string 20 Conditional

Serial number of PIN pad and

encryption key for the transaction.

Required for online PIN debit

transctions.

P2PE xml P2PE Variable Conditional

XML element containing the

necessary point to point encryption

values for magnetic stripe data.

Required for P2PE enabled

transactions.

ServerID string 50 Optional Unique identifier of DC Gateway used

to process transaction.

Page 47: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 47 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Required Description

TimeOut string 10 Optional Processor timeout, in seconds.

TipAmt string 18 Optional

Fee (included in Amount) specified by

consumer as gratuity for service

performed (DDDDD.CC).

TrainingMode enum (BooleanType) 1 Optional Process transactions for local loop

back testing (T).

P2PE Parameters (Point to Point Encryption)

Field Name Type Max

Length Required Description

HSMDevice string 6 Conditional Value = “Thales”.

Required for P2PE transactions.

TerminalType string 25 Conditional

Type of terminal used to generate the

point to point encryption transaction.

Required for P2PE transactions.

EncryptionType string 5 Conditional

Type of encryption method. Value =

“DUKPT”.

Required for P2PE transactions.

KSN string 20 Conditional

Key serial number for encrypted

magnetic stripe data.

Required for P2PE transactions.

DataBlock string Variable Conditional

Data block containing the encrypted

magnetic stripe data for transaction.

Required for P2PE transactions.

Returns

Hyperlink to Transact Web Service Response structure.

Example

Hyperlink to ProcessDebitCard Request/Response example

ProcessEBTCard

Description

Process a transaction with an Electronic Benefits Transfer (EBT) Card.

Developer Notes

The Food and Nutrition Service (FNS) of the US Department of Agriculture grants license (and issues FNS

Number) for Merchant to participate in Special Nutrition Assistance Program (SNAP) and accept payment

with EBT Card.

The ProcessEBTCard operation is supported by First Data Rapid Connect processor for Special Supplemental

Nutrition Assistance Program (SNAP) for Women, Infants and Children (WIC) transaction types.

Processor specific notes regarding EBT support:

o The ProcessEBTCard operation is supported by the following processors: Concord EFS Network, Elavon

(NOVA Information System), First Data Rapid Connect, Global Payments, Paymentech - Tampa, TSYS

Host, TSYS Terminal (Vital).

Transactions that require PNRef number for processing:

o Include the value of PNRef in the response received from a ProcessEBTCard – FoodStampSale operation

as the PNRef parameter to ProcessEBTCard – Return operation.

Page 48: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 48 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

o Include the value of PNRef in the response received from a ProcessEBTCard – Sale operation as the

PNRef parameter to ProcessEBTCard – Capture operation.

o Include the value of PNRef in the response received from a ProcessEBTCard – EWICAUTHORIZATION

operation as the PNRef parameter to ProcessEBTCard – EWICCOMPLETION operation.

DC Gateway rejects ProcessEBTCard operations unless Personal Identification Number (PIN) encrypted

when a value is provided for PIN parameter.

Merchant must successfully make a sale using EBT Card before invoking a ProcessEBTCard Capture

operation.

Merchant must successfully make a Food Stamp sale using EBT Card before invoking a ProcessEBTCard

FoodStampReturn operation.

Merchant must obtain voice approval to make Sale with EBT Card without Personal Identification Number

(PIN) provided by customer.

Merchants selling through both telephone (i.e. automated Voice Response Unit) and also internet must use

the RegisterNum Extended Data element to specify channel for each sale (made by telephone or internet).

Merchant must authorize an eWIC payment with ProcessEBTCard – EWICAUTHORIZATION operation before

posting that transaction into the current batch.

An authorization code (obtained during voice approval) and voucher reference number are required to

invoke ProcessEBTCard – Force operation.

The ProcessEBT – Capture and CaptureAll operations are supported by the following processors operating

on terminal settlement platforms: Paymentech - Tampa, TSYS Terminal (Vital)._Front_End_Processors

Parameters

Field Name Type Max

Length Required Description

UserName string 25 Required

User name assigned in DC Gateway.

The account must be granted a

sufficient level of security access in

order to invoke the operation.

Password string 20 Required Password for the user name assigned

in DC Gateway.

TransType enum

(EBTCardTransType) 20 Required

Transaction type for processing an

EBT card payment. Valid TransType

values: FoodStampSale;

FoodStampReturn; CashBenefitsSale;

EWICSale; EWICAuthorization;

EWICCompletion; EWICVoucherClear;

SNAPVoucherClear; Force; Inquire;

Reversal; Void; Capture; CaptureAll.

CardNum string 19 Conditional

The Primary Account Number (PAN)

uniquely identify the issuer of an EBT

cardholder's account.

Required for TransType =

EWICAuthorization; EWICSale;

EWICVoucherClear; FoodStampSale;

FoodstampReturn; Inquire;

Reversal; SNAPVoucherClear;

CashBenefitsSale;

Optional for TransType = Force; Void;

EWICCompletion; Capture; CaptureAll.

Page 49: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 49 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Required Description

ExpDate string 4 Conditional

Expiration Date.

Required for TransType =

EWICAuthorization; EWICSale;

EWICVoucherClear; FoodStampSale;

FoodstampReturn; Inquire;

Reversal; SNAPVoucherClear;

CashBenefitsSale;

Optional for TransType = Force; Void;

EWICCompletion; Capture; CaptureAll.

MagData string Variable Conditional

The data - number and expiration date

- read from magnetic stripe on card.

Required when EBT card presented

by consumer at point of sale/

service.

NameOnCard string 25 Optional Cardholder's name as it appears on

the card.

Amount string 18 Conditional

Sale Amount (DDDDD.CC format).

Required for TransType =

EWICAuthorization; EWICSale;

EWICVoucherClear; FoodStampSale;

FoodstampReturn; Inquire;

Reversal; SNAPVoucherClear;

CashBenefitsSale;

Optional for TransType = Force; Void;

EWICCompletion; Capture; CaptureAll.

InvNum string 20 Optional

Identifier assigned by the merchant to

locate a specific transaction or

multiple transactions (grouped by a

single Invoice).

PNRef string 10 Conditional

Unique identifier of a transaction,

assigned by DC Gateway.

Required for FoodStampReturn;

Capture; EWICCOMPLETION;

Optional for FoodStampSale;

CashBenefitSale; Inquire; CaptureAll;

Force; EWICAUTHORIZATION;

EWICSALE.

Pin string Variable Conditional

The encrypted PIN-block returned

from a secure cryptographic device,

such as a PIN pad.

Required when processor requires

customer to provide Personal

Identification Number.

RegisterNum string 10 Optional

A string that uniquely identifies the

register, terminal, or computer on

which the transaction was performed.

SureChargeAmt string 18 Optional

The amount charged - surcharge

applied - by a merchant to process a

transaction with a debit card.

CashBackAmt string 18 Optional

Amount added to a Sale Amount that

is returned in Cash (DDDDD.CC

format).

Page 50: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 50 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Required Description

ExtData xml ExtData Variable Conditional

Structure for extended data provided

to/from Transaction Processing Web

Service.

Required for online PIN EBT

transactions.

ExtData Parameters (ProcessEBTCard)

Field Name Type Max

Length Required Description

AuthCode string 20 Optional Authorization/approval code assigned

to original transaction by processor.

CustomerID string 50 Optional

Identifier assigned by merchant to

allow payment processed by Global

Payments to be traced to purchase

order number.

EWICDetGrp xml EWICDetGrp Variable Conditional

Detail for items covered by WIC

supplemental benefits of SNAP.

Required for EWIC transactions.

Force enum (BooleanType) 1 Optional

Force (T) DC Gateway to accept

duplicate transaction into current

batch (ignored by Concord EFS

processor).

KeySerialNumber string 20 Conditional

Serial number of PIN pad and

encryption key for the transaction.

Required for online PIN transctions.

MerchantFNS string 255 Optional

Identifier assigned by USDA FNS for

Merchant licensed to participate in

SNAP.

Settle string Deprecated

Target string 50 Optional

Numeric value originally assigned by

Merchant (using TransactionID

extended data element) to identify

transaction (for use as alternative to

DC Gateway-assigned PNRef).

TimeOut string 10 Optional Processor timeout, in seconds

TrainingMode enum (BooleanType) 1 Optional Process transactions for local loop

back testing (T).

TransactionID string 50 Optional

Numeric value assigned by Merchant

to identify a transaction (for use as

alternative to DC Gateway-assigned

PNRef).

VoucherNumber string 50 Conditional

Reference number on a paper voucher

used for an EBT purchase.

Required for voucher purchase

transactions.

Page 51: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 51 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

EWICDetGrp (eWIC Line Item)

Field Name Type Max

Length Required Description

UPCPLUInd string 1 Conditional

Indicator of Universal Product Code

(UPC) or Price Look Up (PLU) code (0 -

UPC, 1 – PLU).

Required for EWIC transactions.

UPCPLUData string 16 Conditional

Item Code (UPC or PLU, based on

UPCPLUInd).

Required for EWIC transactions.

UPCPrice string 18 Conditional Item Price.

Required for EWIC transactions.

UPCQty string 5 Conditional

Number or Total Weight of item

(NNNDD – Implied Decimal).

Required for EWIC transactions.

Returns

Hyperlink to Transact Web Service Response structure.

ProcessGiftCard

Description

Process a transaction with a Gift Card.

Developer Notes

The ProcessGiftCard operation is supported by the following processors: Givex, Valutec

Gift Card must be Activated before it may be used for ProcessGiftCard – Inquire, Redeem, Reload and

Deactivate operations

Transactions that require PNRef number for processing:

o Include the value of PNRef in the response received from a ProcessGiftCard – Redeem operation as the

PNRef parameter to ProcessGiftCard – Refund operation.

o Include the value of PNRef in the response received from a ProcessGiftCard – Redeem or Force

operation as the PNRef parameter to ProcessGiftCard – Void operation.

o Include the value of PNRef in the response received from a corresponding ProcessGiftCard operation as

the PNRef parameter to ProcessGiftCard – Capture

operation._Front_End_Processors_Front_End_Processors

Merchant must successfully make Gift Card sale before invoking a ProcessGiftCard Refund operation.

Merchant must successfully make a sale using Gift Card before invoking a ProcessGiftCard Void operation.

Merchant must successfully process transaction using Gift Card before invoking a ProcessGiftCard Capture

operation.

Merchant must successfully process transaction using Gift Card before invoking a ProcessGiftCard

CaptureAll operation._Front_End_Processors_Front_End_Processors

The ProcessGiftCard – Force operation is supported by Paymentech – Tampa

processor._Front_End_Processors

Include authorization code received from processor as the AuthCode extended data parameter of

ProcessGiftCard – Force operation.

The ProcessGiftCard – Capture and CaptureAll operations are supported by the following processors

operating on terminal settlement platforms: First Data Nashville, First Data North, First Data Omaha,

Heartland Payment Systems, Paymentech - Tampa, TSYS Terminal (Vital).

Page 52: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 52 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Parameters

Field Name Type Max

Length Required Description

UserName string 25 Required

User name assigned in DC Gateway.

The account must be granted a

sufficient level of security access in

order to invoke the operation.

Password string 20 Required Password for the user name assigned

in DC Gateway.

TransType enum

(GiftCardTransType) 10 Required

Transaction type for processing a Gift

card payment. Valid TransType values:

Activate; Inquire; Redeem; Force;

Refund; Void; Reload; Deactivate;

Capture; CaptureAll.

CardNum string 19 Conditional

The Primary Account Number (PAN)

uniquely identifies the issuer and

credit cardholder account.

Required for TransType = Activate;

Redeem; Inquire; Refund; Reload;

Deactivate.

Optional for TransType = Force; Void;

Capture; CaptureAll.

ExpDate string 4 Conditional

Expiration Date.

Required for TransType = Activate;

Redeem; Inquire; Refund; Reload;

Deactivate.

Optional for TransType = Force; Void;

Capture; CaptureAll.

MagData string Variable Conditional

The data - number and expiration date

- read from magnetic stripe on card.

Required when gift card presented

by consumer at point of

sale/service.

Amount string 18 Conditional

Sale Amount (DDDDD.CC format)

Required for TransType = Activate;

Redeem; Refund; Reload;

Optional for TransType = Force; Void;

Capture; CaptureAll.

InvNum string 20 Optional

Identifier assigned by the merchant to

locate a specific transaction or

multiple transactions (grouped by a

single invoice).

PNRef string 10 Conditional

Unique identifier of a transaction,

assigned by DC Gateway.

Required for TransType = Void;

Capture;

Optional for TransType = Activate;

Inquire; Redeem; Force; Reload;

Deactivate; CaptureAll.

ExtData xml ExtData Variable Optional

Structure for extended data provided

to/from Transaction Processing Web

Service.

Page 53: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 53 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

ExtData Parameters (ProcessGiftCard)

Field Name Type Max

Length Required Description

AuthCode string 20 Optional Authorization/approval code assigned

to original transaction by processor.

CustomerID string 50 Optional

Identifier assigned by merchant to

allow payment processed by Global

Payments to be traced to purchase

order number.

Force enum (BooleanType) 1 Optional

Force (T) DC Gateway to accept

duplicate transaction into current

batch (ignored by Concord EFS

processor).

ForceAuth string Deprecated

RegisterNum string 10 Optional

A string that uniquely identifies the

register, terminal, or computer on

which transaction was performed.

TimeOut string 10 Optional Processor timeout, in seconds

TrainingMode enum (BooleanType) 1 Optional Process transactions for local loop

back testing (T).

TransactionID string 50 Optional

Numeric value assigned by Merchant

to identify a transaction (for use as

alternative to DC Gateway-assigned

PNRef).

Returns

Hyperlink to Transact Web Service Response structure.

ProcessSignature

Description

Add Signature to a transaction processed with DC Gateway.

Developer Notes

The ProcessSignature operation is a function of DC Gateway supported for all processors.

Merchant must successfully make a sale before invoking a ProcessSignature operation.

Transactions that require PNRef number for processing:

o Include the value of PNRef in the response received from a corresponding operation as the PNRef

parameter to ProcessSignature operation.

o Include the value of AuthCode in the response received from a corresponding operation as the

AuthCode parameter to ProcessSignature operation.

Take following steps to process and upload image of captured signature to DC Gateway in Receipt1

SignatureType: verify or convert signature image into Tagged Image File Format (TIFF) file; compress file

using Lempel-Ziv-Welch (LZW) algorithm (if TIFF file is not already LZW-compressed); translate compressed

image from binary data into text string format using Base64-encoding; set value of SignatureData

parameter to Base64-encoded text string (representing signature Image); invoke ProcessSignature

operation.

SignatureData in Signature4 format consists of a text string of comma-separated vector coordinates,

delimited by caret (^), as follows: x1,y1^x2,y2^ ... xN,yN^ (and where 0,65535 signals that a pointer, such as

stylus or finger, was lifted from capture pad).

Page 54: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 54 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Parameters

Field Name Type Max

Length Required Description

UserName string 25 Required

User name assigned in DC Gateway.

The account must be granted a

sufficient level of security access in

order to invoke the operation.

Password string 20 Required Password for the user name assigned

in DC Gateway.

SignatureType enum (SignatureType) 10 Optional

The format in which SignatureData is

stored. Valid types include: Signature1;

Signature2; Signature4; Receipt1.

SignatureData string Variable Optional

The signature of a cardholder or check

owner presented as Base64-encoded

text string or list of vectors.

PNRef string 10 Required Unique identifier of a transaction,

assigned by DC Gateway.

Result string 1 Optional

Result from response of

corresponding Transaction Processing

operation: approved (1) or declined

(0).

AuthCode string 20 Optional

Alphanumeric authorization code

(from Issuing Bank) used during

settlement or an error message (from

Payment Processor).

ExtData xml ExtData Variable Optional

Structure for extended data provided

to/from Transaction Processing Web

Service.

ExtData Parameters (ProcessSignature)

Field Name Type Max

Length Required Description

TrainingMode enum (BooleanType) 1 Optional Process transactions for local loop

back testing (T).

Returns

Hyperlink to Transact Web Service Response structure.

ProcessLoyaltyCard

Description

The ProcessLoyaltyCard operation is not supported by DC Gateway.

Response (Transact Web Service)

Operations of the Transaction Processing Web Service return data in the following structure:

Field Name Type Max

Length Description

AuthorizedAmount string 18 Amount authorized by processor (when value of

Partial_Indicator extended data element = T)

Balance string 18 Balance remaining on method used to process

transaction

Page 55: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 55 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Description

Result GatewayResult 10 Numeric value returned from DC Gateway to

summarize result from invoking operation

RespMSG string 150 Message returned from DC Gateway describing

result from processing transaction

Message string 150 Message returned from DC Gateway to describe

result from processing transaction

Message1 string 150 Additional detail returned from DC Gateway to

describe result from processing transaction

Message2 string 150 More additional detail returned from DC Gateway to

describe result from processing transaction

AuthCode string 20

Six-character alphanumeric authorization code

(from Issuing Bank) used during settlement or an

error message (from Payment Processor)

PNRef string 10 Unique numeric identifier generated by DC Gateway

for a processed transaction.

HostCode string 30 Unique identifier generated by the payment

processor for a transaction

HostURL string n/a Unused (returns empty value)

ReceiptURL string n/a Unused (returns empty value)

GetAVSResult AVSResult 10 Address verification result code (returned by

Payment Processor)

GetAVSResultTXT string 25 Address verification result message (returned by

Payment Processor)

GetStreetMatchTXT string 25 Address Verification Service evaluation of ZIP Code

from cardholder address

GetZipMatchTXT string 25 Address Verification Service evaluation of street line

from cardholder address

GetCVResult CVResult 1 Credit Card Verification result code (returned by

Issuing Bank)

GetCVResultTXT string 25 Credit Card Verification message (returned by

Issuing Bank)

GetGetOrigResult string n/a Unused (returns empty value)

GetCommercialCard string 5 Commercial card indicator (from the Payment

Processor) - True, False.

WorkingKey string n/a Unused (returns empty value)

KeyPointer string n/a Unused (returns empty value)

ExtData string Variable Structure for extended data provided to/from DC

Gateway

ExtData

Field Name Type Max

Length Description

ReceiptData

Requested_Amt string 18

Amount requested for authorization with

Partial_Indicator = T (DDDDD.CC).

ReceiptData

Approved_Amt string 18

Amount authorized by processor with

Partial_Indicator = T.

EmvResponseData string Variable Cryptogram received from issuer for card indicating

whether transaction is authorized or declined

Page 56: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 56 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Card Safe Web Service

Name

Tokenize and Use Credit Card.

Description

Encrypt and Store Payment Methods and Types for Reuse.

Operations

Name Description

StoreCard Add stored payment method to an existing customer record.

ProcessCreditCard Process a transaction using Credit Card or Checking account in Card Safe.

Developer Notes

Merchant must add a customer to DC Gateway (with ManageCustomer operation of Recurring Payments web

service) before storing a payment method (for that customer) in DC Gateway Card Safe.

StoreCard

Description

Add Credit Card to Card Safe for a Customer in DC Gateway.

Developer Notes

Merchant must add a customer to DC Gateway before storing a payment method (for that customer) in

Card Safe.

Merchant must store a customer’s Credit Card in Card Safe before adding a Recurring Payment Agreement

to DC Gateway.

The StoreCard operation returns a CardSafeToken element, which may be used as the PaymentInfoKey for a

Recurring Payment Agreement.

Invoke the InfoCustomer operation to retrieve stored credit card from the collection of Payment Methods,

which have been saved for a Customer in DC Gateway.

There is no limit to the number of Payment Methods, which may be stored for a Customer in DC Gateway.

Direct Connect provides credit card numbers for use during development and

testing.CreditCardTestAccounts

Parameters

Field Name Type Max

Length Required Description

UserName string 25 Required

User name assigned in DC Gateway.

The account must be granted a

sufficient level of security access in

order to invoke the operation.

Password string 20 Required Password for the user name assigned

in DC Gateway.

Page 57: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 57 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Required Description

TokenMode enum

(TokenModeType) 10 Required

Type of Token to return: a numeric

CCInfoKey (DEFAULT) or a randomly

generated number in the format of

the payment type (CARDFORMAT).

CardNum string 19 Required

Primary Account Number (PAN) that

uniquely identifies issuer and credit

cardholder account.

ExpDate string 4 Required Expiration Date of credit card account.

CustomerKey string 10 Required

Unique identifier for Customer

(returned from ManageCustomer

operation).

NameOnCard string 25 Optional Cardholder's name as it appears on

the card.

Street string 25 Optional House number and Street name of a

cardholder's billing address.

Zip string 10 Optional ZIP or Postal Code of cardholder's

billing address.

ExtData xml ExtData Variable Optional

There are no Extended Data

parameters for the StoreCard

operation.

Example

Hyperlink to StoreCard Request/Response example

Response (StoreCard)

Field Name Type Max

Length Description

Result GatewayResultCode 10 Result code returned from DC Gateway.

RespMSG string 150 Message from DC Gateway describing the result of

the processed web method call.

AuthCode string 10 Authorization/approval code assigned to original

transaction by processor.

ExtData xml ExtData Variable Structure for extended data provided to/from DC

Gateway.

ProcessCreditCard

Description

Process a transaction using Credit Card from Card Safe.

Developer Notes

The ProcessCreditCard operation is supported by the following processors: Concord EFS Network, Elavon

(NOVA Information System), First Data Nashville, First Data North, First Data Omaha, First Data Rapid

Connect, Global Payments, Heartland Payment Systems, Paymentech - Tampa, TSYS Host, TSYS Terminal

(Vital).

Merchant must add a customer to DC Gateway and a customer’s Credit Card in Card Safe before invoking

the ProcessCreditCard operation.

Merchant must successfully make a sale before invoking a ProcessCreditCard Return operation.

Page 58: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 58 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Merchant must successfully authorize a transaction or make a sale before invoking a ProcessCreditCard

Void operation.

Merchant must successfully make a sale or force an authorization before invoking a ProcessCreditCard -

CaptureAll operation.

Merchant must successfully authorize a transaction or make a sale – using the same CardToken and

Amount - before invoking a ProcessCreditCard RepeatSale operation.

Notes regarding Level II processing:

o The PONum and TaxAmt extended data elements used to specify Purchase Order Number and Tax

Amount Level II data item for the following processors: First Data Nashville, First Data North, First Data

Omaha, First Data Rapid Connect, Global Payments, Heartland Payment Systems, Paymentech – Tampa,

TSYS Host, TSYS Terminal (Vital).

o Transactions must be processed with Purchasing/Procurement Cards to qualify for Level II interchange

rates.

o The CustCode extended data element used to specify Purchase Order Number Level II data item for the

Global Payments processor.

Notes regarding Level III processing:

o Level III - Line Item detail provided with ProcessCreditCard – Auth operation will be preserved during

ProcessCreditCard – Force and Capture operations.

o Level III – Line Item detail is supported for Visa and MasterCard transactions by the following

processors: First Data North, Heartland Payment Systems.

o Line Item detail should only be provided for transactions processed with Business/Corporate Cards.

Notes regarding Partial Authorization processing:

o The ProcessCredit – Auth (Partial) operation is supported for Visa and MasterCard transactions by the

following processors: First Data Rapid Connect, TSYS Host, TSYS Terminal (Vital).

o Inspect value (for “Partial Approval” or “Approval”) of Message element in Response message received

from ProcessCreditCard – Auth operation when Merchant Account is configured to support Partial

Authorization.

Transactions that require PNRef number for processing:

o Include the value of PNRef in the response received from a ProcessCreditCard - Auth operation as the

PNRef parameter to ProcessCredit Card – Force operation.

o Include the value of PNRef in the response received from a ProcessCreditCard – Sale or RepeatSale

operation as the PNRef parameter to ProcessCredit Card – Return operation.

o Include the value of PNRef in the response received from a ProcessCreditCard – Sale or RepeatSale

operation as the PNRef parameter to ProcessCredit Card – Reversal operation and Void operation.

o Include the value of PNRef in the response received from a ProcessCreditCard – Sale, RepeatSale or Auth

operation as the PNRef parameter to ProcessCredit Card – Capture operation.

The ProcessCreditCard - Auth operation returns a PNRef element to include as a parameter to follow-on

ProcessCreditCard operations, such as Return, Void, Force, RepeatSale and Adjustment.

A value for the CVPresence extended data element is required with ProcessCreditCard operations for the

following processors: First Data Nashville, First Data North, First Data Omaha, First Data Rapid Connect.

Utility Bill Payments are supported (through the BillPayment extended data element) by the following

processors: First Data North, Global Payments, TSYS Terminal (Vital).

Special processing for medical expenses supported for Visa transactions by First Data North processor using

the following extended data elements: IIAS_Indicator, Partial_Indicator, QHP_Amount, RX_Amount,

Vision_Amount, Dental–Amount, Clinical_Amount.

Concord EFS Network processor refuses duplicate transactions (ignores instruction received from DC

Gateway as value of ForceDuplicate extended data element).

The name and address of secondary Merchants (which share a single Merchant Account) are supported for

First Data Rapid Connect processor with the following extended data elements: AltMerchName,

AltMerchAddr, AltMerchCity, AltMerchState, AltMerchZip.

Page 59: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 59 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

The ProcessCreditCard – Capture and CaptureAll operations are supported by the following processors

operating on terminal settlement platforms: First Data North, First Data Omaha, Paymentech - Tampa, TSYS

Terminal (Vital).

For Sale/Auth transactions, AVS and CVV responses are validated against the fraud filters (if enabled).

For RepeatSale transactions, AVS and CVV responses are not validated against the fraud filters (if

enabled)._Front_End_Processors_Front_End_Processors

Parameters

Field Name Type Max

Length Required Description

UserName string 25 Required

User name assigned in DC Gateway.

The account must be granted a

sufficient level of security access in

order to invoke the operation.

Password string 20 Required Password for the user name assigned

in DC Gateway.

TransType enum

(CreditCardTransType) 10 Required

Transaction type for processing a

credit card payment. Valid TransType

values: Auth; Sale; Force; RepeatSale;

Return; Reversal; Void; Capture;

CaptureAll.

CardToken string 10 Required

Unique reference to a Payment

Method stored in DC Gateway Card

Safe.

TokenMode enum

(TokenModeType) 10 Optional

Type of Token: a numeric CCInfoKey

(DEFAULT) or a randomly generated

number in the format of the Payment

Type (CARDFORMAT).

Amount string 18 Conditional

$0.00 > Amount < $1,000,000.00

(DDDDD.CC).

Required for TransType = Auth; Sale;

RepeatSale; Force; Return; Reversal;

Optional for TransType = Void;

Capture; CaptureAll.

InvNum string 20 Optional

Identifier assigned by the merchant to

locate a specific transaction or

multiple transactions (grouped by a

single invoice).

PNRef string 10 Conditional

Unique identifier of a transaction,

assigned by DC Gateway.

Required for TransType = Force;

Return; Reversal; Void; Capture

Optional for TransType = Auth; Sale;

RepeatSale; CaptureAll.

ExtData xml ExtData Variable Optional Structure for extended data provided

to/from DC Gateway.

ExtData Parameters (ProcessCreditCard)

Field Name Type Max

Length Required Description

AltMerchName string 50 Optional

Soft descriptor: name of secondary

Merchant (single Merchant Account

used for more than one merchant

website). Specific to First Data Rapid

Connect & FD ISO Nashville.

Page 60: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 60 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Required Description

AltMerchAddr string 50 Optional

Soft descriptor: address of secondary

Merchant (single Merchant Account

used for more than one merchant

website). Specific to First Data Rapid

Connect & FD ISO Nashville.

AltMerchCity string 50 Optional

Soft descriptor: city of secondary

Merchant (single Merchant Account

used for more than one merchant

website). Specific to First Data Rapid

Connect & FD ISO Nashville.

AltMerchState string 2 Optional

Soft descriptor: state of secondary

Merchant (single Merchant Account

used for more than one merchant

website).

AltMerchZip string 10 Optional

Soft descriptor: ZIP Code of secondary

Merchant (single Merchant Account

used for more than one merchant

website). Specific to First Data Rapid

Connect & FD ISO Nashville.

AuthCode string 20 Optional Authorization/approval code assigned

to original transaction by processor.

Authentication string 20 Optional Value to authenticate the payment.

BillPayment enum (BooleanType) 1 Optional Indicate (T) transaction accepted for

payment on Utility Bill.

BillToState string 2 Optional State abbreviation of checking

account owner’s billing address.

BypassAvsCvv enum (BooleanType) 1 Optional

Flag used to indicate if the DC

Gateway should bypass AVS and CVV

validation.

City string 50 Optional City of checking account owner’s

billing address.

Clinical_Amount string 13 Optional Subtotal for clinical services

(DDDD.CC). Decimal included.

CustCode string Optional

Identifier assigned by merchant to

allow payment processed by Global

Payments to be traced to purchase

order number.

CustomerID string 50 Optional Identifier assigned by merchant to

cardholder.

CustomFields xml CustomerFields Variable Optional User defined Custom fields for

Merchant in DC Gateway.

CVNum string 4 Optional Credit card verification number.

CVPresence enum

(CVPresenceType) 1 Optional

Card verification provided for

transaction:

1 – No CV provided

2 – No CV submitted (along with key-

entered card number)

3 – CV submitted

4 – CV illegible

5 – CV not on card.

Page 61: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 61 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Required Description

Dental_Amount string 13 Optional Subtotal for dental services

(DDDD.CC). Decimal included.

EntryMode enum

(EntryModeType) 15 Conditional

Indicate how merchant obtained

values from credit card, as follows:

UNKNOWN; MANUAL;

MagneticStripe; ICC; PROXIMITY.

Required when MagData or

EMVData fields are populated.

ExternalIP string 15 Optional Originating IP address to use for

logging and IP filtering.

Force enum (BooleanType) 1 Optional

Force (T) DC Gateway to accept

duplicate transaction into current

batch (ignored by Concord EFS

processor).

IIAS_Indicator enum (BooleanType) Optional

Indication (T) received from an

Inventory Information Approval

System (IIAS) that credit card

payment for eligible medical

expense. Specific to First Data North.

Invoice string Deprecated

Items string Deprecated

Level3Amt string 18 Optional Total amount for line items in order.

LineItemDetail xml LineItemDetail Variable Conditional

XML element. Detail for 1 – 99 line

items which must be provided to

qualify transaction for Level III

interchange. See LineItemDetail

section below for definition.

Required in order to qualify for

Level III transactions.

Partial_Indicator enum (BooleanType) 1 Optional

Processor may (T) authorize partial

amount for medical expense based

on funds available.

PONum string Optional

Identifier assigned by merchant to

allow payment processed (by

processor other than Global

Payments) to be traced to purchase

order number.

QHP_Amount string 13 Optional Subtotal for over-the-counter medical

items (DDDD.CC). Decimal included.

RegisterNum string 10 Optional

A string that uniquely identifies the

register, terminal, or computer on

which transaction was performed.

RX_Amount string 13 Optional Subtotal for prescribed medical items

(DDDD.CC). Decimal included.

SequenceCount string 5 Optional

Total number of payments to be

processed on a repeat sale or

Recurring Payment Agreement.

SequenceNum string 5 Optional

The order in which a payment was

processed on a repeat sale or

Recurring Payment Agreement.

ServerID string 50 Optional Unique identifier of DC Gateway used

to process transaction.

Page 62: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 62 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Required Description

Street string 25 Optional House number and Street name of

cardholder’s billing address.

Target string Optional

Numeric value originally assigned by

Merchant (using TransactionID

extended data element) to identify

transaction (for use as alternative to

DC Gateway-assigned PNRef).

TaxAmt string 18 Optional

Fee (added to Amount) to cover cost

of sales tax (DDDDD.CC). Required

for Level II/III transactions.

TimeOut string 10 Optional Processor timeout, in seconds.

TipAmt string 18 Optional

Fee (included in Amount) specified by

consumer as gratuity for service

performed (DDDDD.CC).

TrainingMode enum (BooleanType) 1 Optional Process transactions for local loop

back testing (T).

TransactionID string Optional

Numeric value assigned by Merchant

to identify a transaction (for use as

alternative to DC Gateway-assigned

PNRef).

Vision_Amount string 13 Optional Subtotal for vision services

(DDDD.CC). Decimal included.

Zip string 10 Optional Zip or postal code of cardholder’s

billing address.

LineItemDetail Parameters (Level III)

Each LineItemDetail record must be enclosed in a <LineItem></LineItem> data tag.

Field Name Type Max

Length Required Description

CommodityCode string 12 Conditional

Commodity/Service classification of

item.

Required for Level III transactions.

Description string 50 Conditional Item description.

Required for Level III transactions.

DiscountAmount string 50 Conditional Discount applied to item.

Required for Level III transactions.

DiscountIncluded enum (BooleanType) Conditional

Indicates if Discount is included in Line

Item Total.

Required for Level III transactions.

LineItemTotal string 50 Conditional

Subtotal for item (Amount –

DiscountAmount + TaxAmount).

Required for Level III transactions.

ProductCode string 50 Conditional

Product code for item assigned by

merchant.

Required for Level III transactions.

Quantity string 18 Conditional Number of units of item in order.

Required for Level III transactions.

TaxAmount string 50 Conditional

Total tax to apply to item (see also

TaxIncluded).

Required for Level III transactions.

Page 63: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 63 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Required Description

TaxRate string 50 Conditional Tax rate applied to item.

Required for Level III transactions.

TaxType enum (TaxType) 50 Conditional Tax table applied to item.

Required for Level III transactions.

UnitOfMeasure enum

(UnitOfMeasureType) Conditional

Division of quantity accepted as

standard for exchange.

Required for Level III transactions.

UnitPrice string 18 Conditional Cost of item per unit.

Required for Level III transactions.

CustomFields Parameters

All Custom Fields elements must be enclosed in a <CustomFields></CustomFields> data tag.

Field Name Type Max

Length Required Description

“user defined field #1” string 12 Optional Custom field defined by merchant.

“user defined fieldn” where n is

iterative string 12 Optional Custom field defined by merchant.

Returns

Hyperlink to CardSafe Process Credit Card Response structure.

Example

Hyperlink to ProcessCreditCard Request/Response example

Response (ProcessCreditCard)

The ProcessCreditCard Operation returns data in the following structure:

Field Name Type Max

Length Description

AuthorizedAmount string 18 Amount authorized by processor (when value of

Partial_Indicator extended data element = T)

Balance string 18 Balance remaining on method used to process

transaction

Result GatewayResult 10 Numeric value returned from DC Gateway to

summarize result from invoking operation

RespMSG string 150 Message returned from DC Gateway describing

result from processing transaction

Message string 150 Message returned from DC Gateway to describe

result from processing transaction

Message1 string 150 Additional detail returned from DC Gateway to

describe result from processing transaction

Message2 string 150 More additional detail returned from DC Gateway to

describe result from processing transaction

AuthCode string 20

Six-character alphanumeric authorization code

(from Issuing Bank) used during settlement or an

error message (from Payment Processor)

PNRef string 10 Unique numeric identifier generated by DC Gateway

for a processed transaction.

Page 64: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 64 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Description

HostCode string 30 Unique identifier generated by the payment

processor for a transaction

HostURL string n/a Unused (returns empty value)

ReceiptURL string n/a Unused (returns empty value)

GetAVSResult AVSResult 10 Address verification result code (returned by

Payment Processor)

GetAVSResultTXT string 25 Address verification result message (returned by

Payment Processor)

GetStreetMatchTXT string 25 Address Verification Service evaluation of ZIP Code

from cardholder address

GetZipMatchTXT string 25 Address Verification Service evaluation of street line

from cardholder address

GetCVResult CVResult 1 Credit Card Verification result code (returned by

Issuing Bank)

GetCVResultTXT string 25 Credit Card Verification message (returned by

Issuing Bank)

GetGetOrigResult string n/a Unused (returns empty value)

GetCommercialCard string 5 Commercial card indicator (from the Payment

Processor) - True, False.

ExtData string Variable Structure for extended data provided to/from DC

Gateway

ExtData

Field Name Type Max

Length Description

BatchNum string 10 The identifier of the collection containing the

processed transaction

CardType string 10 Payment Type of card used to process payment

ExpDate string 4 Expiration date of card used to process payment

(MMYY)

Page 65: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 65 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Recurring Payment Web Service

Name

Make and Manage Recurring Payment.

Description

Manage customers, methods and contracts for recurring payments.

Operations

Name Description

AddRecurringCheck Deprecated in favor of ManageCheckInfo operation

AddRecurringCreditCard Deprecated in favor of ManageCreditCardInfo operation

ManageCheckInfo Store Checking Account in Card Safe

ManageContract Add, Update or Delete terms and interval of a Recurring Payment Agreement

ManageContractAddDaysToNextBillDt Update the NextBillDate attribute of an existing contract

ManageCreditCardInfo Store Credit Card in Card Safe

ManageCustomer Add, Update or Delete a recurring billing customer

ProcessCheck Process payment with Check method stored in Card Safe

ProcessCreditCard Process payment with Credit Card stored in Card Safe

UpdateContractSettings Reset failure and reprocessing settings for existing and future (default) contracts.

Developer Notes

Merchant must add a customer to DC Gateway before storing a payment method (for that customer) in Card

Safe.

Merchant must store a customer’s Checking Account or Credit Card to Card Safe before adding a Recurring

Payment Agreement to DC Gateway.

ManageCustomer

Description

Manage Primary Contact and Billing Address for Customer of Recurring Payment Agreement.

Developer Notes

Merchant must add a customer to DC Gateway before storing a payment method in Card Safe and adding a

Recurring Payment Agreement for that Customer.

The ManageCustomer ADD operation returns a CustomerKey element, which may be used as the

CustomerKey parameter for ManageCustomer - UPDATE Operation, ManageCustomer – DELETE Operation

and Recurring Payment Agreement.

The ManageCustomer web methods contain FirstACH processor support. See ExtData.CustomerType.

Merchant must invoke ManageCustomer – ADD operation before the primary contact and billing address

may be updated with the ManageCustomer – UPDATE operation.

Invoke the InfoCustomer Operation to retrieve existing values to reuse for the primary contact and billing

address to ensure that existing Customer data are not inadvertently overwritten with empty values by a

ManageCustomer UPDATE operation.

Page 66: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 66 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Merchant must invoke ManageCustomer – ADD operation before Customer may be deleted with

ManageCustomer – DELETE operation.

Required input parameters to ManageCustomer operations may be assigned empty values.

Parameters

Field Name Type Max

Length Required Description

Username string 25 Required

User name assigned in DC Gateway.

The account must be granted a

sufficient level of security access in

order to invoke the operation.

Password string 20 Required Password for the user name assigned

in DC Gateway.

TransType enum

(RecurringTransType) 6 Required

Valid TransType Values: ADD; UPDATE;

DELETE. Manage customer details in

DC Gateway.

Vendor string 10 Required Unique identifier for a merchant in DC

Gateway.

CustomerKey string 10 Conditional

Unique identifier for a customer

assigned by DC Gateway.

Required for TransType = DELETE

and UPDATE;

Not used for TransType = ADD.

CustomerID string 50 Conditional

Identifier for a customer assigned by

Merchant.

Required for TransType = ADD and

UPDATE;

Not used for TransType = DELETE.

CustomerName string 100 Conditional

Customer Name.

Required for TransType = ADD and

UPDATE;

Not used for TransType = DELETE.

FirstName string 50 Conditional

First Name of Primary Contact for

Customer.

Required for TransType = ADD and

UPDATE;

Not used for TransType = DELETE.

LastName string 50 Conditional

Last Name of Primary Contact for

Customer.

Required for TransType = ADD and

UPDATE;

Not used for TransType = DELETE.

Title string 50 Optional

Title of Primary Contact for Customer.

Optional for TransType = ADD and

UPDATE;

Not used for TransType = DELETE.

Department string 50 Optional

Department Name in Address of

Primary Contact for Customer.

Optional for TransType = ADD and

UPDATE;

Not used for TransType = DELETE.

Page 67: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 67 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Required Description

Street1 string 50 Conditional

House number and street name for

postal address.

Required for processor of First ACH

and TransType = ADD and UPDATE;

Not used for TransType = DELETE.

Street2 string 50 Optional

Second line of postal address.

Optional for TransType = ADD and

UPDATE;

Not used for TransType = DELETE.

Street3 string 50 Optional

Third line of postal address.

Optional for TransType = ADD and

UPDATE;

Not used for TransType = DELETE.

City string 50 Conditional

City of postal address.

Required for processor of First ACH

and TransType = ADD and UPDATE;

Not used for TransType = DELETE.

StateID string 2 Conditional

USPS abbreviation for state, province,

district or possession.

Required for processor of First ACH

and TransType = ADD and UPDATE;

Not used for TransType = DELETE.

Province string 50 Optional

Canadian Province.

Optional for TransType = ADD and

UPDATE;

Not used for TransType = DELETE.

Zip string 10 Conditional

ZIP/Postal code of postal address.

Required for processor of First ACH

and TransType = ADD and UPDATE;

Not used for TransType = DELETE.

CountryID string 3 Optional

Country code (USA, CAN) of postal

address.

Optional for TransType = ADD and

UPDATE;

Not used for TransType = DELETE.

Email string 100 Optional

Electronic mail address of Primary

Contact for Customer.

Optional for TransType = ADD and

UPDATE;

Not used for TransType = DELETE.

DayPhone string 25 Conditional

Phone number (daytime) of Primary

Contact for Customer.

Required for processor of First ACH

and TransType = ADD and UPDATE;

Not used for TransType = DELETE

(###-###-####).

NightPhone string 25 Optional

Phone number (night time) of Primary

Contact for Customer.

Optional for TransType = ADD and

UPDATE;

Not used for TransType = DELETE.

Page 68: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 68 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Required Description

Fax string 25 Optional

Facsimile phone number of Primary

Contact for Customer.

Optional for TransType = ADD and

UPDATE;

Not used for TransType = DELETE.

Mobile string 25 Optional

Mobile phone number of Primary

Contact for Customer.

Optional for TransType = ADD and

UPDATE;

Not used for TransType = DELETE.

Status enum (StatusType) 8 Optional

Customer must be assigned ACTIVE or

INACTIVE status to be visible in DC

Gateway Virtual Terminal user

interface. Defaults to ACTIVE.

Optional for TransType = ADD and

UPDATE;

Not used for TransType = DELETE.

ExtData xml ExtData Variable Conditional

Structure for extended data provided

to/from Recurring Payment Web

Service. Required for First ACH;

CustomerType of customer for

method (CK – Check). Used only for

FirstACH processor. Will enable,

create and sync customer profile

between Gateway and FirstACH host.

ExtData Parameters (ManageCustomer)

Field Name Type Max

Length Required Description

CustomerType enum (PaymentType) 2 Conditional

Required for First ACH; Used only for

FirstACH processor with value = “CK”.

Will enable, create and sync customer

profile between Gateway and FirstACH

host.

Returns

Hyperlink to Recurring Web Service Response structure.

Example

Hyperlink to ManageCustomer Request/Response examples.

ManageCheckInfo

Description

Manage secured Check information that is stored in Card Safe.

Developer Notes

Merchant must add a customer to DC Gateway before storing a payment method (for that customer) in

Card Safe.

Merchant must store a customer’s Checking Account in Card Safe before adding a Recurring Payment

Agreement to DC Gateway.

Page 69: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 69 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

The ManageCheckInfo ADD operation returns a CheckInfoKey element, which may be used as the

PaymentInfoKey for a Recurring Payment Agreement.

Invoke the InfoCustomer operation to retrieve CheckInfo from the collection of Payment Methods, which

have been saved for a Customer in DC Gateway.

There is no limit to the number of Payment Methods, which may be stored for a Customer in DC Gateway.

Direct Connect provides checking account and routing numbers for use during development and testing.

The ManageCheckInfo web methods contain FirstACH processor support. A successful ManageCustomer

ADD operation is required first.

Invoke the InfoCustomer operation to retrieve existing values for the elements of a Payment Method to

ensure that existing data are not overwritten with empty values by a ManageCheckInfo UPDATE operation.

Merchant must store a customer’s Checking Account in Card Safe before it can be updated or deleted.

Include the value of CheckInfoKey in the response received from a ManageCheckInfo - ADD operation as the

CheckInfoKey parameter to ManageCheckInfo - DELETE operation.

Parameters

Field Name Type Max

Length Required Description

Username string 25 Required

User name assigned in DC Gateway.

The account must be granted a

sufficient level of security access in

order to invoke the operation.

Password string 20 Required Password for the user name assigned

in DC Gateway.

TransType enum

(RecurringTransType) 6 Required

Valid TransType Values: ADD; UPDATE;

DELETE. Manage Check processing

details including Checking Account to

Card Safe.

Vendor string 10 Required Unique identifier for a merchant in DC

Gateway.

CustomerKey string 10 Required Unique identifier for existing customer

(in DC Gateway).

CheckInfoKey string 10 Conditional

Unique Identifier assigned to a

Checking Account (by DC Gateway).

Required for TransType = UPDATE

and DELETE;

Not used for TransType = ADD.

CheckType enum (CheckType) 10 Conditional

Checking Account Type (PERSONAL,

BUSINESS). Required for TransType =

ADD and UPDATE;

Not required for TransType = DELETE.

AccountType enum

(CheckAcctType) 10 Conditional

Account type (CHECKING, SAVINGS).

Required for TransType = ADD and

UPDATE;

Not required for TransType = DELETE.

CheckNum string 10 Optional Unique identifier for an original check

(on a Checking Account).

MICR string 250 Optional

Magnetic Ink Check Reader (MICR)

data line, including routing number of

Bank, checking account number of

customer and check number.

Page 70: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 70 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Required Description

AccountNum string 20 Conditional

Unique identifier of the check owner's

bank account.

Required for TransType = ADD and

UPDATE;

Not required for TransType = DELETE.

TransitNum string 9 Conditional

A Nine-digit code, used in the United

States to identify the financial

institution on which a check is drawn.

Required for TransType = ADD and

UPDATE;

Not required for TransType = DELETE.

RawMICR string 250 Optional

Magnetic Ink Check Reader (MICR)

received from a check reader:

composed of a transit number

(TransitNum), the letter 'T', an account

number (AccountNum), the letter 'O'

and a check number (CheckNum).

SS string 11 Optional

Nine-digit number issued by the US

Social Security Administration to the

checking account owner.

DOB string 10 Optional Date of Birth of checking account

owner.

BranchCity string 50 Optional City of the checking account bank

branch.

DL string 250 Optional Unique identifier of Driver's License of

Checking account owner.

StateCode string 2 Optional

United States Postal Service

abbreviation for a state, district,

possession or territory of checking

account owner's billing address.

NameOnCheck string 25 Optional Check account owner's name as it

appears on the check.

Email string 100 Optional Electronic Mail Address of checking

account owner.

DayPhone string 25 Optional Daytime Phone Number of checking

account owner.

Street1 string 50 Optional

House number and Street name of

checking account owner's billing

address.

Street2 string 50 Optional Second line of checking account

owner's billing address.

Street3 string 50 Optional Third line of checking account owner's

billing address.

City string 50 Optional City of the checking account owner's

billing address.

StateID string 2 Optional

United States Postal Service

abbreviation for a state, district,

possession or territory.

Province string 50 Optional

Canadian Province (if applicable) of

checking account owner's billing

address.

PostalCode string 10 Optional ZIP/Postal code of checking account

owner's billing address.

Page 71: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 71 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Required Description

CountryID string 3 Optional

Code (USA, CAN) for country of

checking account owner's billing

address.

ExtData xml ExtData Variable Conditional

Structure for extended data provided

to/from Recurring Payment Web

Service.

Required for TransType = ADD and

UPDATE;

Not required for TransType = DELETE.

ExtData (ManageCheckInfo)

Field Name Type Max

Length Required Description

SECCType enum (SECCType) 3 Conditional Required for FirstACH processor.

One of: CCD, PPD, ARC, RCK, TEL, WEB

AuthOptionForm enum

(AuthOptionFormType) 25 Conditional

Signed Form authorization option.

Required for SECCType = CCD; PPD.

AuthOptionVoice enum

(AuthOptionVoiceType) 25 Conditional

Recorded Voice authorization option.

Required for SECCType = TEL.

Returns

Hyperlink to Recurring Web Service Response structure.

Example

Hyperlink to ManageCheckInfo Request/Response examples.

ManageCreditCardInfo

Description

Manage secured Credit Card information that is stored in Card Safe.

Developer Notes

Merchant must add a customer to DC Gateway before storing a payment method (for that customer) in

Card Safe.

Merchant must store a customer’s Credit Card in Card Safe before adding a Recurring Payment Agreement

to DC Gateway.

The ManageCreditCardInfo ADD operation returns a CCInfoKey element, which may be used as the

PaymentInfoKey for a Recurring Payment Agreement.

Invoke the InfoCustomer operation to retrieve CreditCardInfo from the collection of Payment Methods,

which have been saved for a Customer in DC Gateway.

There is no limit to the number of Payment Methods, which may be stored for a Customer in DC Gateway.

Direct Connect provides credit card numbers for use during development and testing.

Merchant must store a customer’s Credit Card in Card Safe before it can be updated or deleted.

Use the CCInfoKey element returned by the ManageCreditCardInfo ADD operation as the value of the

CardInfoInfoKey parameter for the ManageCreditCardInfo UPDATE or DELETE operations.

Page 72: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 72 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Parameters

Field Name Type Max

Length Required Description

Username string 25 Required

User name assigned in DC Gateway.

The account must be granted a

sufficient level of security access in

order to invoke the operation.

Password string 20 Required Password for the user name assigned

in DC Gateway.

TransType enum

(RecurringTransType) 6 Required

Valid TransType Values: ADD; UPDATE;

DELETE. Manage customer creditcard

processing details in DC Gateway.

Vendor string 10 Required Unique identifier for a merchant in DC

Gateway

CustomerKey string 10 Required Unique identifier for existing customer

(in DC Gateway).

CardInfoKey string 10 Conditional

Unique Identifier assigned to a Credit

Card Account (by DC Gateway).

Required for TransType = UPDATE

and DELETE;

Not used for TransType = ADD.

CcAccountNum string 19 Conditional

The Primary Acccount Number (PAN)

uniquely identifies the issuer and

credit cardholder account.

Required for TransType = ADD and

UPDATE;

Not used for TransType = DELETE.

CcExpDate string 4 Conditional

Credit card date of expiration (MMYY).

Required for TransType = ADD and

UPDATE;

Not used for TransType = DELETE.

CcNameOnCard string 25 Optional Name of cardholder (as it appears on

card).

CcStreet string 25 Optional House number and street of

cardholder's billing address.

CcZip string 10 Optional ZIP Code of cardholder's billing

address.

ExtData xml ExtData Variable Optional

There are currently no Extended Data

parameters for the

ManageCreditCardInfo operation.

Returns

Hyperlink to Recurring Web Service Response structure.

Example

Hyperlink to ManageCreditCardInfo Request/Response examples.

UpdateContractSettings

Description

Reset failure and reprocessing settings for existing and future (default) contracts.

Page 73: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 73 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Developer Notes

The UpdateContractSettings operation is a function of DC Gateway supported by all processors.

Parameters

Field Name Type Max

Length Required Description

UserName string 25 Required

User name assigned in DC Gateway.

The account must be granted a

sufficient level of security access in

order to invoke the operation.

Password string 20 Required Password for the user name assigned

in DC Gateway.

Vendor string 10 Required Unique identifier for a Merchant in DC

Gateway.

MaxFailures string 2 Optional

Maximum number (0-10) of attempts

for DC Gateway to reprocess failed

payments.

FailureInterval string 2 Optional

Number (1-28) of days between

reprocessing attempts (after an

unsuccessful payment).

ExtData xml ExtData Variable Optional

Structure for extended data provided

to/from Recurring Payment Web

Service.

ExtData Parameters (UpdateContractSettings)

The Extended Data structure of Request message for UpdateContractSettings operation includes a Contract

element enclosed in a Configuration tag.

Field Name Type Max

Length Required Description

FailureRetryResultCode xml

FailureRetryResultCode

Variable Optional

Collection of result code values from

unsuccessful payment attempts for

DC Gateway to reprocess

automatically.

MaxBillingCycleRetry string 2 Optional

The number of times a suspended

contract will be reconsidered for

activation by DC Gateway.

RecurringBillingSettings xml

RecurringBillingSettings Variable Optional

DC Gateway uses system setting

(TRUE) for MaxFailures rather than

value provided by Merchant (FALSE)

for Contract.

FailureRetryResultCode Parameters

Field Name Type Max

Length Required Description

RC (iterative) string 2 Optional

Collection of result code values from

unsuccessful payment attempts for

DC Gateway to reprocess

automatically.

Page 74: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 74 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

RecurringBillingSettings Parameters

Field Name Type Max

Length Required Description

ForceMaxFailure enum

(BooleanVerboseType) 5 Optional

DC Gateway uses system setting

(TRUE) for MaxFailures rather than

value provided by Merchant (FALSE)

for Contract.

ForceFailureInterval enum

(BooleanVerboseType) 5 Optional

DC Gateway uses system setting

(TRUE) for FailureInterval rather than

value provided by Merchant (FALSE)

for Contract.

ForceFailureRetryResultCode enum

(BooleanVerboseType) 5 Optional

DC Gateway uses system setting

(TRUE) for FailureResultCodes rather

than values provided by Merchant

(FALSE) for Contract.

ForceMaxBillingCycleRetry enum

(BooleanVerboseType) 5 Optional

DC Gateway uses system setting

(TRUE) for MaxBillingCycleRetry

rather than value provided by

Merchant (FALSE) for Contract.

Returns

Hyperlink to Recurring Web Service Response structure.

Example

Hyperlink to UpdateContractSettings Request/Response example.

ManageContract

Description

Manage a Recurring Payment Agreement for a Customer with a Payment Method from Card Safe.

Developer Notes

Merchant must save a customer (using ManageCustomer operation) and payment method (with

ManageCheckInfo or ManageCreditCardInfo) before adding a Recurring Payment Agreement to DC

Gateway._ManageCustomer_ManageCheckInfo_-_ADD_ManageCreditCardInfo

DC Gateway requires a valid electronic mail address for a Merchant or Customer to send an electronic mail

notification (to that Merchant or Customer) when the value of EmailCustomer, EmailCustomerFailure,

EmailMerchant or EmailMerchantFailure is ‘T’.

DC Gateway resets the status of a Recurring Payment Agreement to PENDING when an attempted payment

is unsuccessful.

DC Gateway resets the status of a Recurring Payment Agreement to ACTIVE when a payment is reprocessed

successfully after one or more failed attempts.

DC Gateway resets the status of a Recurring Payment Agreement to INACTIVE when the number of failed

attempts to process a payment exceeds the value of the MaxFailures element (of the Recurring Payment

Agreement.)

Merchant must add a Recurring Payment Agreement (with ManageContract ADD operation or from DC

Gateway Virtual Terminal) before it can be updated or deleted._ManageContract_-_ADD

Invoke the InfoContract operation to retrieve existing values for the elements of a Recurring Payment

Agreement, which are required parameters of a ManageContract UPDATE operation._InfoContract

Page 75: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 75 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Invoke the ManageContractAddDaysToNextBillDt operation (rather than ManageContract UPDATE

operation) when NextBillDt is the only element of a Recurring Payment Agreement to be updated.

Note that the minimum BillingPeriod for FirstACH is WEEK._ManageContractAddDaysToNextBillDt

DC Gateway determines the frequency with which payments are processed based on the values of BillingPeriod and

PeriodInterval for a Recurring Payment Agreement, as follows:

Billing Period Billing Interval Process Payment

DAY 1 Daily

WEEK 1 Weekly

DAY 14 Every Other Wekk

DAY 21 Every Three Weeks

MONTH 1 Monthly

YEAR 4 Quarterly

YEAR 2 Twice Per Year

YEAR 1 Annually

Parameters

Field Name Type Max

Length Required Description

Username string 25 Required

User name assigned in DC Gateway.

The account must be granted a

sufficient level of security access in

order to invoke the operation.

Password string 20 Required Password for the user name assigned

in DC Gateway.

TransType enum

(RecurringTransType) 6 Required

Valid TransType Values: ADD; UPDATE;

DELETE. Manage customer contract

details in DC Gateway.

Vendor string 10 Required Unique identifier for a merchant in DC

Gateway.

CustomerKey string 10 Required Unique identifier for Customer

assigned by DC Gateway.

ContractKey string 10 Conditional

Unique identifier assigned to a

Recurring Payment Agreement

created by DC Gateway.

Required for TransType= UPDATE

and DELETE;

Not used for TransType = ADD.

PaymentInfoKey string 10 Conditional

Unique Identifier assigned to a

Checking Account or Credit Card

payment method (by DC Gateway).

Required for TransType= ADD and

UPDATE;

Not used for TransType =DELETE.

PaymentType enum (PaymentType) 2 Conditional

Type of payment for method (CC -

Credit Card, CK - Check).

Required for TransType= ADD and

UPDATE;

Not used for TransType =DELETE.

CustomerID string Deprecated If field is populated with a value, the

value will be ignored.

CustomerName string Deprecated If field is populated with a value, the

value will be ignored.

Page 76: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 76 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Required Description

FirstName string Deprecated If field is populated with a value, the

value will be ignored.

LastName string Deprecated If field is populated with a value, the

value will be ignored.

Title string Deprecated If field is populated with a value, the

value will be ignored.

Department string Deprecated If field is populated with a value, the

value will be ignored.

Street1 string Deprecated If field is populated with a value, the

value will be ignored.

Street2 string Deprecated If field is populated with a value, the

value will be ignored.

Street3 string Deprecated If field is populated with a value, the

value will be ignored.

City string Deprecated If field is populated with a value, the

value will be ignored.

StateID string Deprecated If field is populated with a value, the

value will be ignored.

Province string Deprecated If field is populated with a value, the

value will be ignored.

Zip string Deprecated If field is populated with a value, the

value will be ignored.

CountryID string Deprecated If field is populated with a value, the

value will be ignored.

Email string Deprecated If field is populated with a value, the

value will be ignored.

DayPhone string Deprecated If field is populated with a value, the

value will be ignored.

NightPhone string Deprecated If field is populated with a value, the

value will be ignored.

Fax string Deprecated If field is populated with a value, the

value will be ignored.

Mobile string Deprecated If field is populated with a value, the

value will be ignored.

ContractID string 50 Conditional

Unique identifier assigned by

Merchant to the Recurring Payment

Agreement between Merchant and

Customer.

Required for TransType = ADD and

UPDATE;

Not used for TransType = DELETE.

ContractName string 100 Optional Description for Recurring Payment

Agreement

BillAmt string 18 Conditional

Sales amount for each recurring

payment.

Required for TransType = ADD and

UPDATE;

Not used for TransType = DELETE.

TaxAmt string 18 Optional Tax amount (for each payment)

Page 77: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 77 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Required Description

TotalAmt string 18 Conditional

Total (Sales + Tax) amount (for each

payment).

Required for TransType = ADD and

UPDATE;

Not used for TransType = DELETE.

StartDate string 10 Conditional

Date of first payment (MM/DD/YYYY).

Required for TransType = ADD and

UPDATE;

Optional for TransType = DELETE.

EndDate string 10 Optional

Date of termination for Recurring

Payment Agreement (MM/DD/YYYY).

Optional for TransType = ADD and

UPDATE;

Not used for TransType = DELETE.

NextBillDt string 10 Conditional

Date of first payment (MM/DD/YYYY).

Required for TransType = ADD and

UPDATE;

Not used for TransType = DELETE.

BillingPeriod enum

(BillingPeriodType) 5 Conditional

Unit (DAY, WEEK, MONTH, YEAR) for

billing time period.

Required for TransType = ADD and

UPDATE;

Not used for TransType = DELETE.

Note that the minimum

BillingPeriod for FirstACH is WEEK.

BillingInterval string 2 Conditional

Number of periods (1, 2, 4, 14, 21, 28)

between payments - used in

combination with BillingPeriod.

Required for TransType= ADD and

UPDATE;

Not used for TransType = DELETE.

MaxFailures string 2 Optional

Maximum number (0-10) of attempts

for DC Gateway to reprocess failed

payments. The value of MaxFailures

treated as zero if no value is provided

for Recurring Payment Agreement.

FailureInterval string 2 Optional

Indicates the interval (1-28) after

which the failed payment will be

retied. The value of FailureInterval

treated as one if no value is provided

for Recurring Payment Agreement.

EmailCustomer enum

(BooleanVerboseType) 5 Optional

Send (TRUE) electronic mail message

to Customer when an attempted

payment is successful.

EmailMerchant enum

(BooleanVerboseType) 5 Optional

Send (TRUE) electronic mail message

to Merchant when an attempted

payment is successful.

EmailCustomerFailure enum

(BooleanVerboseType) 5 Optional

Send (TRUE) electronic mail message

to Merchant when an attempted

payment is unsuccessful.

EmailMerchantFailure enum

(BooleanVerboseType) 5 Optional

Send (True) electronic mail message to

Merchant when an attempted

payment is unsuccessful.

Page 78: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 78 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Required Description

Status enum (StatusType) 10 Optional

DC Gateway to evaluate Recurring

Payment Agreement each day to

determine whether (ACTIVE) or not

(INACTIVE, CLOSED) a payment to be

processed or reprocessed (PENDING).

ExtData xml ExtData Variable Optional

Structure for extended data provided

to/from Recurring Payment Web

Service.

ExtData (ManageContract)

The Extended Data structure of Request message for ManageContract operation includes a Configuration

element enclosed in a Contract tag.

Field Name Type Max

Length Required Description

FailureRetryResultCode xml

FailureRetryResultCode

Variable Optional

Collection of result code values from

unsuccessful payment attempts for

DC Gateway to reprocess

automatically.

MaxBillingCycleRetry string 2 Optional

The number of times a suspended

contract will be reconsidered for

activation by DC Gateway.

CloneTokens enum

(BooleanVerboseType) 5 Optional

Use this tag with value of TRUE only

when Token Sharing is enabled for

the reseller and the Merchant wants

to clone the customer and payment

information to create the contract.

FailureRetryResultCode Parameters

Field Name Type Max

Length Required Description

RC (iterative) string 2 Optional

Collection of result code values from

unsuccessful payment attempts for

DC Gateway to reprocess

automatically.

Returns

Hyperlink to Recurring Web Service Response structure.

Example

Hyperlink to ManageContract Request/Response examples.

ManageContractAddDaysToNextBillDt

Description

Update the NextBillDate element of a Recurring Payment Agreement.

Page 79: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 79 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Developer Notes

Merchant must add a Recurring Payment Agreement (with the ManageContract ADD operation or from DC

Gateway Virtual Terminal) before its next bill date may be changed._ManageContract_-_ADD

Invoke the ManageContractAddDaysToNextBillDt operation (rather than ManageContract UPDATE operation)

when NextBillDt is the only element of a Recurring Payment Agreement to be updated.

Invoke the ManageContract UPDATE (rather than the ManageContractAddDaysToNextBillDt operation) when

one or more elements (other or in addition to NextBillDt) of a Recurring Payment Agreement are to be

updated._ManageContract_–_UPDATE

Parameters

Field Name Type Max

Length Required Description

Username string 25 Required

User name assigned in DC Gateway.

The account must be granted a

sufficient level of security access in

order to invoke the operation.

Password string 20 Required Password for the user name assigned

in DC Gateway.

Vendor string 10 Required Unique identifier for a merchant in DC

Gateway.

CustomerKey string 10 Required Unique identifier for Customer (in DC

Gateway).

ContractKey string 10 Required

Unique identifier assigned to a

Recurring Payment Agreement

created by DC Gateway.

NumOfDays string 7 Required The number of days (greater than 0) to

be added to the NextBillDt field.

ExtData xml ExtData Variable Optional

There are currently no Extended Data

parameters for the

ManageContractAddDaysToNextBillDt

operation.

Returns

Hyperlink to Recurring Web Service Response structure.

Example

Hyperlink to ManageContractAddDaysToNextBillDt Request/Response example.

ProcessCheck

Description

Make a sale with check drawn from Checking Account stored in Card Safe.

Developer Notes

The ProcessCreditCard operation of Recurring Payment Web Service is similar to the ProcessCheck - Sale

operation of the Transaction Processing Web Service.

Merchant must add a Customer and Checking Account to Card Safe before invoking ProcessCheck operation

of Recurring Payment Web Service

The ProcessCheck operation contains FirstACH processor support. Successful ManageCustomer and

ManageCheckInfo ADD operations are required first.

Page 80: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 80 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Parameters

Field Name Type Max

Length Required Description

UserName string 25 Required

User name assigned in DC Gateway.

The account must be granted a

sufficient level of security access in

order to invoke the operation.

Password string 20 Required Password for the user name assigned

in DC Gateway.

Vendor string 10 Required Unique identifier for a Merchant in DC

Gateway.

CheckInfoKey string 10 Required

Unique Identifier assigned to a

Checking Account by

ManageCheckInfo ADD operation.

Amount string 18 Required $0.00 > Amount < $25,000.00

(DDDDD.CC).

InvNum string 20 Optional

Identifier assigned by the merchant to

locate a specific transaction or

multiple transactions (grouped by a

single invoice).

ExtData xml ExtData Variable Conditional

Structure for extended data provided

to/from Recurring Payment Web

Service. Required for FirstACH

processor for first time external

recurring payment.

ExtData (ProcessCheck)

Field Name Type Max

Length Required Description

Force enum (BooleanType) 1 Optional

Force (T) DC Gateway to accept

duplicate transaction into current

batch (ignored by Concord EFS

processor).

Frequency enum

(BillingFrequencyType) 15 Conditional

Required for FirstACH processor for

first time external recurring

payment.

One of: Once, Weekly, Biweekly,

Monthly, Quarterly, Semiannually,

Annually.

NumberOfPayments string 4 Conditional

Required for FirstACH processor for

first time external recurring

payment.

1‐9998; Use 9999 for Open‐Ended

Recurring Customer Payments.

RecurringID string 10 Conditional

Required for FirstACH processor for

external recurring payment.

RecurringID of the existing recurring

Payment Series. Received in

ProcessCheck response.

Page 81: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 81 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Required Description

EffecDate string 10 Conditional

Required for FirstACH processor for

external recurring payment.

Date of the next Customer Payment in

the recurring. Recurring payments

beyond the next chronologically in the

series may not be created in advance.

Payment series: YYYY-MM-DD.

TransType string 4 Conditional

Required for FirstACH processor for

external recurring payment.

VOID – Void an entire external

recurring payment series.

Returns

Hyperlink to Recurring Web Service Response structure.

Example

Hyperlink to ProcessCheck Request/Response example.

ProcessCreditCard

Description

Process charge with Credit Card.

Developer Notes

The ProcessCreditCard operation is supported by the following processors: Concord EFS Network, Elavon

(NOVA Information System), First Data Nashville, First Data North, First Data Omaha, First Data Rapid Connect,

Global Payments, Heartland Payment Systems, Paymentech - Tampa, TSYS Host, TSYS Terminal (Vital).

The ProcessCreditCard operation of Recurring Payment Web Service is similar to the ProcessCreditCard –

RepeatSale operation of the Card Safe Web Service._ProcessCreditCard_-_RepeatSale

Merchant must add a Customer and Credit Card to Card Safe before invoking ProcessCreditCard operation of

Recurring Payment Web Service.

For Recurring transactions, AVS and CVV responses are not validated against the fraud filters (if

enabled)._Front_End_Processors_Front_End_Processors

Parameters

Field Name Type Max

Length Required Description

Username string 25 Required

User name assigned in DC Gateway.

The account must be granted a

sufficient level of security access in

order to invoke the operation.

Password string 20 Required Password for the user name assigned

in DC Gateway.

Vendor string 10 Required Unique identifier for a Merchant in DC

Gateway.

CCInfoKey string 10 Required

Unique reference to a Payment

Method stored in DC Gateway Card

Safe.

Amount string 18 Required $0.00 > Amount < $1,000,000.00

(DDDDD.CC).

Page 82: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 82 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Required Description

InvNum string 20 Optional

Identifier assigned by the merchant to

locate a specific transaction or

multiple transactions (grouped by a

single invoice).

ExtData xml ExtData Variable Optional

Structure for extended data provided

to/from Recurring Payment Web

Service.

ExtData (ProcessCreditCard)

Field Name Type Max

Length Required Description

CVNum string 4 Optional Credit card verification number.

Force enum (BooleanType) 25 Optional

Force (T) DC Gateway to accept

duplicate transaction into current

batch (ignored by Concord EFS

processor).

Street string 25 Optional House number and Street name of a

cardholder's billing address.

Zip string 10 Optional ZIP or Postal Code of cardholder's

billing address.

Returns

Hyperlink to Recurring Web Service Response structure.

Example

Hyperlink to ProcessCreditCard Request/Response example.

AddRecurringCheck

Description

Deprecated in favor of ManageCheckInfo operation._ManageCheckInfo

AddRecurringCreditCard

Description

Deprecated in favor of ManageCreditCardInfo operation_ManageCreditCardInfo

Response (Recurring Web Service)

Field Name Type Max

Length Description

CustomerKey string 10 Unique identifier for a customer assigned by DC

Gateway.

ContractKey string 10 Unique identifier assigned to a Recurring Payment

Agreement created by DC Gateway.

CcInfoKey string 10 Unique Identifier assigned to a Credit Card Account

(by DC Gateway).

CheckInfoKey string 10 Unique Identifier assigned to a Checking Account

(by DC Gateway).

code GatewayResultCode 50 Result Code (returned from DC Gateway)

Page 83: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 83 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Description

error string Variable Message from DC Gateway describing the result of a

processed transaction.

Partner string 10 Direct Connect reseller.

Vendor string 10 Unique identifier for a Merchant in DC Gateway.

Username string 25 DC Gateway User Name (when operation invoked).

Result GatewayResult 10

Numeric value returned from DC Gateway to

summarize result from invoking operation

AuthCode string 20 Authorization code (from Issuing Bank) used during

settlement or an error message (from Payment

Processor)

PNRef string 10 Unique identifier for a transaction assigned by DC

Gateway

Message string 150 Message returned from DC Gateway to describe

result from processing transaction

ExtData xml ExtData Variable There are currently no Extended Data parameters

received from operations of the Recurring Payment

Web Service.

Page 84: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 84 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Transaction Reporting Web Service

Name

Generate Detail or Summary Transaction Report.

Description

Query transactions processed by DC Gateway for Merchant.

Operations

Name Description

GetCardTrx Query DC Gateway for a list of processed card transactions (single settlement date)

GetCardTrx2 Query gateway for a list of processed card transactions (range of settlement dates)

GetCardTrxSummary Query DC Gateway for a summary of processed card transactions

GetCheckTrx Query DC Gateway for a list of processed check transactions

GetOpenBatchSummary Query DC Gateway for a summary of card and check transactions in the current (unsettled)

batch

Developer Notes

Beginning and Ending dates must be formatted as follows: MM/DD/YYYY, YYYY-MM-DD or YYYY-MM-

DDThh:mm:ss where MM – Month (1-12), YYYY – Year, DD – Date (01-31), h – hour (0-23), m – minute (0-59)

and s – second (0-59): 2016-05-10T17:00:01

GetCardTrx

Description

Query DC Gateway for a list of processed card transactions (single settlement date).

Parameters

Field Name Type Max

Length Required Description

UserName string 25 Required

User name assigned in DC Gateway.

The account must be granted a

sufficient level of security access in

order to invoke the operation.

Password string 20 Required Password for the user name assigned

in DC Gateway.

RPNum string 10 Required

Unique identifier for a Merchant in DC

Gateway - required to ensure

uniqueness of each User Name in DC

Gateway.

PNRef string 10 Optional Unique identifier for a transaction

assigned by DC Gateway.

BeginDt string 19 Required Date on or after transaction settled.

EndDt string 19 Required Date before transactions settled.

PaymentType enum

(PaymentCardType) Variable Optional

Type(s) of payment to be included in

list of processed transactions (comma-

separated list of single-quoted strings).

Page 85: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 85 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Required Description

ExcludePaymentType enum

(PaymentCardType) Variable Optional

Type(s) of Payment to exclude from list

of settled transactions (comma-

separated list of single-quoted strings).

TransType enum

(ReportingTransType) Variable Optional

Transaction Type(s) to include from list

of settled transactions (comma-

separated list of single-quoted strings).

ExcludeTransType enum

(ReportingTransType) Variable Optional

Transaction Type(s) to exclude from

list of settled transactions (comma-

separated list of single-quoted strings).

ApprovalCode string 20 Optional

Six-character alphanumeric

authorization code (from Issuing Bank)

used during settlement or an error

message (from Payment Processor).

Result GatewayResult 10 Optional Result Code (returned from DC

Gateway).

ExcludeResult GatewayResult Variable Optional

Result(s) to exclude from list of settled

transactions (comma-separated list of

integer values).

NameOnCard string 25 Optional Cardholder's name as it appears on

the card.

CardNum string 19 Optional

The Primary Acccount Number (PAN)

uniquely identifies the issuer and

credit cardholder account.

CardType N/A Deprecated in favor of PaymentType.

ExcludeCardType N/A Deprecated in favor of

ExcludePaymentType.

ExcludeVoid enum

(BooleanVerboseType) 5 Required

Exclude (TRUE) Voided transactions

from list of settled transactions.

User string 25 Optional DC Gateway User Name with which list

of transactions were processed.

invoiceId string 20 Optional The invoice ID that was included in the

original transaction.

SettleFlag string 1 Optional Include settled (1) or unsettled (0)

transactions in list of transactions.

SettleMsg string 25 Optional The settlement ID or message

returned from the host.

SettleDt string 19 Optional The date of settlement.

TransformType enum

(TransformType) 5 Optional

Format for list of transactions (XML -

Raw XML, XSL - Transformed XML,

DELIM - values enclosed by ColDelim

and records separated by RowDelim).

Xsl string Variable Conditional

XML Style Sheet (or URL reference).

Required when TransformType =

XSL.

ColDelim string 1 Conditional

Column Delimiter.

Required if TransformType = DELIM.

Character used to separate column

values (in a text file).

RowDelim string 1 Conditional

Row Delimiter.

Required if TransformType = DELIM.

This defines the string that separates

each row.

Page 86: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 86 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Required Description

IncludeHeader enum

(BooleanVerboseType) 5 Optional

Include (TRUE) field headings as first

row of delimited output.

ExtData xml ExtData Variable Optional

Structure for extended data provided

to/from Transaction Processing Web

Service.

Returns

The GetCardTrx operation returns a GetCardTrxResult element containing a collection of TrxDetailCard enclosed

in a RichDBDS tag.

Hyperlink to TrxDetailCard Response structure.

Example

Hyperlink to GetCardTrx Request/Response example.

GetCardTrx2

Description

Query DC Gateway for a list of processed card transactions (range of settlement dates).

Parameters

Field Name Type Max

Length Required Description

UserName string 25 Required

User name assigned in DC Gateway.

The account must be granted a

sufficient level of security access in

order to invoke the operation.

Password string 20 Required Password for the user name assigned

in DC Gateway.

RPNum string 10 Required

Unique identifier for a Merchant in DC

Gateway - required to ensure

uniqueness of each User Name in DC

Gateway.

PNRef string 10 Optional Unique identifier for a transaction

assigned by DC Gateway.

BeginDt string 19 Required Date on or after transaction settled.

EndDt string 19 Required Date before transactions settled.

PaymentType enum

(PaymentCardType) Variable Optional

Type(s) of payment to be included in

list of processed transactions (comma-

separated list of single-quoted strings).

ExcludePaymentType enum

(PaymentCardType) Variable Optional

Type(s) of Payment to exclude from list

of settled transactions (comma-

separated list of single-quoted strings).

TransType enum

(ReportingTransType) Variable Optional

Transaction Type(s) to include from list

of settled transactions (comma-

separated list of single-quoted strings).

ExcludeTransType enum

(ReportingTransType) Variable Optional

Transaction Type(s) to exclude from

list of settled transactions (comma-

separated list of single-quoted strings).

Page 87: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 87 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Required Description

ApprovalCode string 20 Optional

Six-character alphanumeric

authorization code (from Issuing Bank)

used during settlement or an error

message (from Payment Processor).

Result GatewayResult 10 Optional Result Code (returned from DC

Gateway).

ExcludeResult GatewayResult Variable Optional

Result(s) to exclude from list of settled

transactions (comma-separated list of

integer values).

NameOnCard string 25 Optional Cardholder's name as it appears on

the card.

CardNum string 19 Optional

The Primary Acccount Number (PAN)

uniquely identifies the issuer and

credit cardholder account.

CardType N/A Deprecated in favor of PaymentType.

ExcludeCardType N/A Deprecated in favor of

ExcludePaymentType.

ExcludeVoid enum

(BooleanVerboseType) 5 Required

Exclude (TRUE) Voided transactions

from list of settled transactions.

User string 25 Optional DC Gateway User Name with which list

of transactions were processed.

invoiceId string 20 Optional The invoice ID that was included in the

original transaction.

SettleFlag string 1 Optional Include settled (1) or unsettled (0)

transactions in list of transactions.

SettleMsg string 25 Optional The settlement ID or message

returned from the host.

BeginSettleDt string 19 Optional Beginning of settlement date range.

EndSettleDt string 19 Optional End of settlement date range.

TransformType enum

(TransformType) 5 Optional

Format for list of transactions (XML -

Raw XML, XSL - Transformed XML,

DELIM - values enclosed by ColDelim

and records separated by RowDelim).

Xsl string Variable Conditional

XML Style Sheet (or URL reference).

Required when TransformType =

XSL.

ColDelim string 1 Conditional

Column Delimiter.

Required if TransformType = DELIM.

Character used to separate column

values (in a text file).

RowDelim string 1 Conditional

Row Delimiter.

Required if TransformType = DELIM.

This defines the string that separates

each row.

IncludeHeader enum

(BooleanVerboseType) 5 Optional

Include (TRUE) field headings as first

row of delimited output.

ExtData xml ExtData Variable Optional

Structure for extended data provided

to/from Transaction Processing Web

Service.

Page 88: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 88 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Returns

The GetCardTrx operation returns a GetCardTrxResult element containing a collection of TrxDetailCard enclosed

in a RichDBDS tag.

Hyperlink to TrxDetailCard Response structure.

Example

Hyperlink to GetCardTrx2 Request/Response example.

GetCardTrxSummary

Description

Query DC Gateway for a summary of processed card transactions.

Parameters

Field Name Type Max

Length Required Description

UserName string 25 Required

User name assigned in DC Gateway.

The account must be granted a

sufficient level of security access in

order to invoke the operation.

Password string 20 Required Password for the user name assigned

in DC Gateway.

RPNum string 10 Required

Unique identifier for a Merchant in DC

Gateway - required to ensure

uniqueness of each User Name in DC

Gateway.

BeginDt string 19 Required Date on or after transaction settled.

EndDt string 19 Required Date before transactions settled.

ApprovalCode string 20 Optional

Six-character alphanumeric

authorization code (from Issuing Bank)

used during settlement or an error

message (from Payment Processor).

Register string 10 Optional

Unique identier for the register,

terminal or computer on which the

transaction was processed.

NameOnCard string 25 Optional Cardholder's name as it appears on

the card.

CardNum string 19 Optional

The Primary Acccount Number (PAN)

uniquely identifies the issuer and

credit cardholder account.

CardType enum

(PaymentCardType) 10 Optional

Type(s) of payment to be included in

list of processed transactions (comma-

separated list of single-quoted strings).

ExcludeVoid enum

(BooleanVerboseType) 5 Required

Exclude (TRUE) Voided transactions

from list of settled transactions.

User string 25 Optional DC Gateway User Name with which list

of transactions were processed.

SettleFlag string 1 Optional Include settled (1) or unsettled (0)

transactions in list of transactions.

SettleMsg string 25 Optional The settlement ID or message

returned from the host.

SettleDt string 19 Optional The date of settlement.

Page 89: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 89 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Required Description

TransformType enum

(TransformType) 5 Optional

Format for list of transactions (XML -

Raw XML, XSL - Transformed XML,

DELIM - values enclosed by ColDelim

and records separated by RowDelim).

Xsl string Variable Conditional

XML Style Sheet (or URL reference).

Required when TransformType =

XSL.

ColDelim string 1 Conditional

Column Delimiter.

Required if TransformType = DELIM.

Character used to separate column

values (in a text file).

RowDelim string 1 Conditional

Row Delimiter.

Required if TransformType = DELIM.

This defines the string that separates

each row.

IncludeHeader enum

(BooleanVerboseType) 5 Optional

Include (TRUE) field headings as first

row of delimited output.

ExtData xml ExtData Variable Optional

Structure for extended data provided

to/from Transaction Processing Web

Service.

Returns

The GetCardTrxSummary operation returns a GetCardTrxSummaryResponse element containing a collection of

PaymentMethod enclosed in a GetCardTrxSummaryResult tag.

Hyperlink to PaymentMethod Response structure.

Example

Hyperlink to GetCardTrxSummary Request/Response example.

GetCheckTrx

Description

Query DC Gateway for a list of processed check transactions.

Parameters

Field Name Type Max

Length Required Description

UserName string 25 Required

User name assigned in DC Gateway.

The account must be granted a

sufficient level of security access in

order to invoke the operation.

Password string 20 Required Password for the user name assigned

in DC Gateway.

RPNum string 10 Required

Unique identifier for a Merchant in DC

Gateway - required to ensure

uniqueness of each User Name in DC

Gateway.

PNRef string 10 Optional Unique identifier for a transaction

assigned by DC Gateway.

BeginDt string 19 Required Date on or after transaction settled.

Page 90: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 90 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Required Description

EndDt string 19 Required Date before transactions settled.

PaymentType enum

(PaymentCheckType) Variable Optional

Type(s) of payment to be included in

list of processed transactions (comma-

separated list of single-quoted strings).

ExcludePaymentType enum

PaymentCheckType) Variable Optional

Type(s) of Payment to exclude from list

of settled transactions (comma-

separated list of single-quoted strings).

TransType enum

(ReportingTransType) Variable Optional

Transaction Type(s) to include from list

of settled transactions (comma-

separated list of single-quoted strings).

ExcludeTransType enum

(ReportingTransType) Variable Optional

Transaction Type(s) to exclude from

list of settled transactions (comma-

separated list of single-quoted strings).

ApprovalCode string 20 Optional

Six-character alphanumeric

authorization code (from Issuing Bank)

used during settlement or an error

message (from Payment Processor).

Result GatewayResult 10 Optional Result Code (returned from DC

Gateway).

ExcludeResult GatewayResult Variable Optional

Result(s) to exclude from list of settled

transactions (comma-separated list of

integer values).

NameOnCheck string 25 Optional Cardholder's name as it appears on

the card.

CheckNum string 10 Optional Unique identifier of Check written or

drafted on Checking account.

AcctNum string 20 Optional Unique identifier of checking account.

RouteNum string 9 Optional Unique identifier for Institution

holding checking account.

ExcludeVoid enum

(BooleanVerboseType) 5 Required

Exclude (TRUE) Voided transactions

from list of settled transactions.

User string 25 Optional DC Gateway User Name with which list

of transactions were processed.

invoiceId string 20 Optional The invoice ID that was included in the

original transaction.

SettleFlag string 1 Optional Include settled (1) or unsettled (0)

transactions in list of transactions.

SettleMsg string 25 Optional The settlement ID or message

returned from the host.

SettleDt string 19 Optional The date of settlement.

TransformType enum

(TransformType) 5 Optional

Format for list of transactions (XML -

Raw XML, XSL - Transformed XML,

DELIM - values enclosed by ColDelim

and records separated by RowDelim)

Xsl String Variable Conditional

XML Style Sheet (or URL reference).

Required when TransformType =

XSL.

ColDelim string 1 Conditional

Column Delimiter.

Required if TransformType = DELIM.

Character used to separate column

values (in a text file).

Page 91: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 91 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Required Description

RowDelim string 1 Conditional

Row Delimiter.

Required if TransformType = DELIM.

This defines the string that separates

each row.

IncludeHeader enum

(BooleanVerboseType) 5 Optional

Include (TRUE) field headings as first

row of delimited output.

ExtData xml ExtData Variable Optional

Structure for extended data provided

to/from Transaction Processing Web

Service.

Returns

The GetCheckTrx operation returns a GetCheckTrxResult element containing a collection of TrxDetailCard

enclosed in a RichDBDS tag.

Hyperlink to TrxDetailCard Response structure.

Example

Hyperlink to GetCheckTrx Request/Response example.

GetOpenBatchSummary

Description

Query DC Gateway for a summary of card and check transactions in the current (unsettled) batch.

Parameters

Field Name Type Max

Length Required Description

UserName string 25 Required

User name assigned in DC Gateway.

The account must be granted a

sufficient level of security access in

order to invoke the operation.

Password string 20 Required Password for the user name assigned

in DC Gateway.

RPNum string 10 Required

Unique identifier for a Merchant in DC

Gateway - required to ensure

uniqueness of each User Name in DC

Gateway.

BeginDt string 19 Optional Date on or after transaction settled.

EndDt string 19 Optional Date before transactions settled.

ExtData xml ExtData Variable Optional

Structure for extended data provided

to/from Transaction Processing Web

Service.

Returns

The GetOpenBatchSummary operation returns a GetOpenBatchSummaryResponse element containing a

collection of PaymentMethod (Table tag) enclosed in GetOpenBatchSummaryResult and OpenBatchSummary

tags.

Hyperlink to PaymentMethod Response structure.

Page 92: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 92 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Example

Hyperlink to GetOpenBatchSummary Request/Response example.

ExtData Parameters (GetCardTrx; GetCardTrx2; GetCheckTrx)

Field Name Type Max

Length Required Description

Image_Type enum (ImageType) 25 Optional Image type attached to a transaction

for reporting purposes.

CustomerID string 50 Optional Identifier assigned to a Customer by a

Merchant.

Amount string 18 Optional Transaction Amount (DDDDD.CC

format).

RegisterNum string 10 Optional

Unique identifier for the register,

terminal or computer on which

transactions were processed.

Timezone enum (Timezone) 5 Optional Abbreviated timezone.

ExtData Parameters (GetCardTrxSummary; GetOpenBatchSummary)

Field Name Type Max

Length Required Description

Timezone enum (Timezone) 5 Optional Abbreviated timezone.

TrxDetailCard (Transaction Reporting Web Service)

Field Name Type Max

Length Description

Account_Type_CH enum

(PaymentTypeIDType) 10

Brand of card used to process transaction.

AccountNum_VC string 20 Checking account number used to process

transaction.

Acct_Num_CH string 19 Card number used to process transaction.

Amount_MN string 18 Check amount.

Approval_Code_CH string 20 Result code returned from the payment processor.

Auth_Amt_MN string 18 Authorized amount for a card transaction.

Authorization string 18 Sum of amounts for pre-authorized transactions.

Authorization_Cnt string 10 Count of pre-authorized transactions.

AVS_Resp_CH AVSResult 1 Response code returned from Address Verification

Service for card used to process transaction.

AVS_Resp_Txt_VC string 25 Response text returned from Address Verification

Service for card used to process transaction.

Batch_Number string 255 Batch number for a transaction (returned by the

payment processor).

Capture string 18 Sum of amounts for captured transactions.

Capture_Cnt string 10 Count of captured transactions.

Card_Info_Key string 10 Unique identifier assigned by DC Gateway to card

used to process transaction.

Cash_Back_Amt_MN string 18 Amount of cash returned for a debit or EBT card

transaction.

CheckNum_CH string 10 Number of check used to process transaction.

Cnt string 10 Count of all transactions (in current batch).

CustomerID string 50 Identifier assigned to a Customer by a Merchant.

CV_Resp_CH CVResult 1 Response code returned by Card Validation (from

payment processor).

Page 93: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 93 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Description

CV_Resp_Txt_VC string 25 Response text returned by Card Validation (from

payment processor).

Date_DT string 19 Date and time on which transaction processed by

DC Gateway.

ERROR string Variable Message from DC Gateway describing the result of a

processed transaction.

Exp_CH string 4 Card expiration date.

ForceCapture string 18 Sum of amounts for transactions captured in batch

that were not processed by DC Gateway.

ForceCapture_Cnt string 10 Count of transactions captured in batch that were

not processed by DC Gateway.

Host_Date_CH string 19 Date on which transaction processed by payment

processor.

Host_Ref_Num_CH string 255 Unique identifier for transaction (assigned by

payment processor).

Host_Time_CH string 255 Time at which transaction processed by payment

processor.

Invoice_ID string 255 Reference to the invoice associated by Merchant

with a processed transaction.

IP_VC string 16 IP address of originator for transaction processing

request.

Last_Update_DT string 19 Date and time on which record of transaction most

recently updated.

Manual enum

BooleanVerboseType 5

Indicator that card information entered by an

operator.

Merchant_Key string 10 Unique identifier for a Merchant.

Name_on_Card_VC string 25 Name of cardholder.

NameOnCheck_VC string 25 Name on check.

Orig_TRX_HD_Key string 10 Identifier of original transaction (with which

transaction is associated).

Payment_Type_ID string 255 Payment Type.

PostAuth string 18 Sum of amounts for transactions authorized and

forced into batch by DC Gateway.

PostAuth_Cnt string 10 Count of transactions authorized and forced by DC

Gateway into batch.

Processor_ID enum

ProcessorIDType 10

Identifier used by DC Gateway to reference

payment processor.

Receipt string 18 Sum of amounts for transactions with receipts.

Receipt_Cnt string 10 Count of transactions with receipts.

Ref_Number_CH string n/a Unused.

Register_Number_CH string 10 Register number for a processed transaction.

RepeatSale string 18 Sum of amounts for repeat sale transactions.

RepeatSale_Cnt string 10 Count of repeat sale transactions.

Reseller_Key string 10 Unique identifier for Direct Connect reseller.

Result_CH string 1 Result code returned by DC Gateway for processed

transaction.

Result_Msg_VC string 150 Result message returned by DC Gateway for check

transaction.

Result_Msg1_VC string 150 Additional text from message returned by DC

Gateway for check transaction.

Result_Msg2_VC string 150 More additional text from message returned by DC

Gateway for check transaction.

Page 94: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 94 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Description

Result_Txt_VC string 255 Text of message describing result (approval or

decline) for processed transaction.

Return string 18 Sum of amounts for return transactions.

Return_Cnt string 10 Count of return transactions.

Sale string 18 Sum of amounts for sale transactions.

Sale_Cnt string 10 Count of sale transactions.

Settle_Date_DT string 19 Date of transaction settlement.

Settle_Flag_CH string 255 Transaction settlement indicator.

StateCode_CH string 2 State abbreviation for card with which transaction

processed.

Street_CH string 25 Billing street address for credit card.

SureCharge_Amt_MN string 18 Surcharge amount for a processed transaction.

Tip_Amt_MN string 18 Tip amount for a processed transaction.

Trans_Type_ID string 15 Transaction Type.

Transport_Method string 255 Web service transport method.

Transport_EndPoint string 255 Web service endpoint.

TransitNum_VC string 9 Transit code for bank holding checking account.

TRX_Card_Key string 10 Unique identifier assigned by DC Gateway to card

used to process transaction.

TRX_Check_Key string 10 Unique identifier assigned by DC Gateway for

checking account used to process transaction.

TRX_HD_Key string 10 Unique identifier for the header record of a

transaction in DC Gateway database.

TRX_Settle_Key string 10 Unique identifier for the settlement record of a

transaction in DC Gateway database.

TRX_Settle_Msg_VC string 255 Settlement message for a processed transaction.

Type_CH string 10 Card Type.

User_Name_VC string 25 DC Gateway User Name used when transaction

processed.

Void_Flag_CH string 255 Void transaction indicator.

Zip_CH string 10 Billing ZIP Code for card.

PaymentMethod (Transaction Reporting Web Service)

Field Name Type Max

Length Description

Activate string 18 Sum of amounts for activation transactions.

Activate_Cnt string 10 Count of activation transactions.

Authorization string 18 Sum of amounts for pre-authorized transactions.

Authorization_Cnt string 10 Count of pre-authorized transactions.

Capture string 18 Sum of amounts for captured transactions.

Capture_Cnt string 10 Count of captured transactions.

Cnt string 10 Count of all transactions (in current batch).

Deactivate string 18 Sum of amounts for deactivation transactions.

Deactivate_Cnt string 10 Count of deactivation transactions.

ForceCapture string 18 Sum of amounts for transactions captured in batch

that were not processed by DC Gateway.

ForceCapture_Cnt string 10 Count of transactions captured in batch that were

not processed by DC Gateway.

PostAuth string 18 Sum of amounts for transactions authorized and

forced into batch by DC Gateway.

PostAuth_Cnt string 10 Count of transactions authorized and forced by DC

Gateway into batch.

Page 95: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 95 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Description

Payment_Type_ID enum

ProcessorIDType

Identifier used by DC Gateway to reference

payment processor.

Receipt string 18 Sum of amounts for transactions with receipts.

Receipt_Cnt string 10 Count of transactions with receipts.

Reload string 18 Sum of amounts for reload transactions.

Reload_Cnt string 10 Count of reload transactions.

RepeatSale string 18 Sum of amounts for repeat sale transactions.

RepeatSale_Cnt string 10 Count of repeat sale transactions.

Return string 18 Sum of amounts for return transactions.

Return_Cnt string 10 Count of return transactions.

Sale string 18 Sum of amounts for sale transactions.

Sale_Cnt string 10 Count of sale transactions.

Page 96: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 96 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Custom Fields Web Service

Name

Manage Custom Transaction Field.

Description

Add custom field to store a value with each processed transaction.

Operations

Name Description

AddCustomField Create a custom field in which to store a value for each processed transaction

GetCustomFields Retrieve information for custom fields defined for Merchant in DC Gateway.

Developer Notes

The values of custom fields are stored and retrieved to/from DC Gateway in a CustomFields collection of the

Extended Data structure for operations, such as ProcessCreditCard and GetCardTrx, of Transaction

Processing, Recurring Payment, Transaction Reporting and Card Safe web services.

AddCustomField

Description

Create a custom field in which to store a value for each processed transaction.

Parameters

Field Name Type Max

Length Required Description

UserName string 25 Required

User name assigned in DC Gateway.

The account must be granted a

sufficient level of security access in

order to invoke the operation.

Password string 20 Required Password for the user name

assigned in DC Gateway.

RPNum string 10 Required

Unique identifier for a Merchant in

DC Gateway - required to ensure

uniqueness of each User Name in

DC Gateway.

FieldName string 50 Required Name of custom field (to be

created).

IsNumeric enum

(BooleanVerboseCLType) 5 Required

Custom field will (true) contain only

numeric values.

DecimalPlaces string 10 Required

The number of digits of decimal

precision to be preserved for values

of Custom Field.

MaxLength string 10 Required Maximum string length allowed in

custom field.

RegEx string Variable Required

Regular expression to use for

validation of values submitted for

custom fields.

Page 97: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 97 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Required Description

IsRequired enum

(BooleanVerboseCLType) 5 Required

A value for Custom Field is (true)

required for a transaction to be

processed.

Description string 50 Required

Label of Custom Field to appear in

Virtual Terminal and on Transaction

Receipt.

MinValue string 10 Optional Minimum value for a custom,

numeric field.

MaxValue string 10 Optional Maximum value for a custom,

numeric field.

DisplayOnReceipt enum

(BooleanVerboseCLType) 5 Required

Indicates whether (true) or not

(false) the field will display on the

cardholder receipt

ErrorMessage string 50 Optional

Message for DC Gateway to display

when invalid value provided for a

custom field.

Example

Hyperlink to AddCustomField Request/Response example

Response (AddCustomField)

Field Name Type Max

Length Description

Result GatewayResultCode 10 Result code returned from DC Gateway.

RespMSG string 150 Message from DC Gateway describing the result of

the processed web method call.

ExtData xml ExtData Variable No Extended Data elements returned from Custom

Fields Web Service.

GetCustomFields

Description

Retrieve collection of custom fields defined for Merchant in DC Gateway

Parameters

Field Name Type Max

Length Required Description

UserName string 25 Required

User name assigned in DC Gateway.

The account must be granted a

sufficient level of security access in

order to invoke the operation.

Password string 20 Required Password for the user name assigned

in DC Gateway.

RPNum string 10 Required

Unique identifier for a Merchant in DC

Gateway - required to ensure

uniqueness of each User Name in DC

Gateway.

Example

Hyperlink to GetCustomFields Request/Response example

Page 98: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 98 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Response (GetCustomFields)

Field Name Type Max

Length Description

Result GatewayResultCode 10 Result code returned from DC Gateway.

ExtData xml ExtData Variable No Extended Data elements returned from Custom

Fields Web Service.

Page 99: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 99 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Card Account Updater Web Service

Name

Manage stored customer card information.

Description

Service to automatically update payment card details stored by the DC Gateway.

Operations

Name Description

UpdateSettings Update user settings to enable or modify Card Account Updater service settings

InfoSettings Retrieve settings information for Card Account Updater defined for Merchant in DC Gateway.

GetCardAdminReport Generate Detailed Card Report for Card Account Updater service.

Developer Notes

Card Account Updater feature must be enabled for the Reseller.

Merchant must be enrolled in Card Account Updater subscription service.

Card Account Updater feature must be enabled for the Merchant.

Merchant Sender ID is required for the Merchant.

UpdateSettings

Description

Update user settings to enable or modify Card Account Updater service settings.

Parameters

Field Name Type Max

Length Required Description

UserName string 25 Required

User name assigned in DC Gateway.

The account must be granted a

sufficient level of security access in

order to invoke the operation.

Password string 20 Required Password for the user name assigned

in DC Gateway.

MerchantKey string 10 Required Unique identifier for a Merchant in DC

Gateway.

RecurringBillingUpdateEnabled enum (BooleanType) 1 Optional If no value is provided, setting will be

set to default value (False).

NonRecurringBillingUpdateEnabled enum (BooleanType) 1 Optional If no value is provided, setting will be

set to default value (False).

EmailNotificationEnabled enum (BooleanType) 1 Optional If no value is provided, setting will be

set to default value (False).

NotificationEmailAddresses string Variable Optional

If no value is provided, setting will be

set to default value (empty/null).

Multiple email addresses are

separated by a comma (,).

Page 100: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 100 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Response (UpdateSettings)

Field Name Type Max

Length Description

code GatewayResultCode 50 Result Code (returned from DC Gateway)

error string Variable Message from DC Gateway describing the result of a

processed transaction.

Partner string 10 Direct Connect reseller.

Vendor string 10 Unique identifier for a Merchant in DC Gateway.

Username string 25

User name assigned in DC Gateway. The account

must be granted a sufficient level of security access

in order to invoke the operation.

Example

Hyperlink to UpdateSettings Request/Response example.

InfoSettings

Description

Returns the current user settings for the Card Account Updater service.

Parameters

Field Name Type Max

Length Required Description

UserName string 25 Required

User name assigned in DC Gateway.

The account must be granted a

sufficient level of security access in

order to invoke the operation.

Password string 20 Required Password for the user name assigned

in DC Gateway.

MerchantKey string 10 Required Unique identifier for a Merchant in DC

Gateway.

Response (InfoSettings)

Field Name Type Max

Length Description

code string 25 Returned from DC Gateway to summarize result

from invoking operation.

error string 50 Message returned from DC Gateway describing

result from processing transaction

Vendor string 10 Unique identifier for Direct Connect reseller.

Reseller associated with target merchant account.

UserName string 25 merchant account User Name assigned in DC

Gateway used to make the request.

RecurringBillingUpdateEnabled string 1 Value states if cards used for recurring billing will

qualify for updates

NonRecurringBillingUpdateEnabled string 1 Value states if cards stored in the cardsafe will

qualify for the updates

EmailNotificationEnabled string 1 Value states if notification will be enabled

NotificationEmailAddresses string 1000 Electronic Mail Address(es) of Contact Persons to be notified.

Page 101: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 101 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Example

Hyperlink to InfoSettings Request/Response example.

GetCardAdminReport

Description

Generate Detail Card Account Update Report.

Developer Notes

Admin Reports for CardAccountUpdater will require the Secure Token generated with the API Password

Generation.

Parameters

Field Name Type Max

Length Required Description

UserName string 25 Required

User name assigned in DC Gateway.

The account must be granted a

sufficient level of security access in

order to invoke the operation.

SecureToken string Var… Required

A value - unique for each User Name -

that is used by DC Gateway to

authenticate the originator of API

requests.

MerchantKey string 10 Required Unique identifier for a Merchant in DC

Gateway.

StartDT string 19 Required Date before transactions settled.

EndDT string 19 Required Date before transactions settled.

CardType enum (CardType) Variable Optional Types of payment to be included in list

of processed transactions.

ContractID string 50 Optional

Unique identifier assigned by

Merchant to the Recurring Payment

Agreement between Merchant and

Customer.

CustomerKey string 10 Optional Unique identifier for Customer (in DC

Gateway).

CustomerID string 50 Optional Identifier for a customer assigned by

Merchant.

CardInfoKey string 10 Optional Unique identifier for Customer Card

(in DC Gateway).

NameOnCard string 25 Optional Cardholder's name as it appears on

the card.

CardNum string 19 Optional

The Primary Account Number (PAN)

uniquely identifies the issuer and debit

cardholder account.

ReasonCode string 3 Optional

ExcludeInactive enum (BooleanType) 1 Optional

TransformType enum

(TransformType) 5 Optional

Format for list of transactions (XML -

Raw XML, XSL - Transformed XML,

DELIM - values enclosed by ColDelim

and records separated by RowDelim).

Page 102: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 102 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Required Description

Xsl string Variable Conditional

XML Style Sheet (or URL reference).

Required when TransformType =

XSL.

ColDelim string 1 Conditional

Column Delimiter.

Required if TransformType = DELIM.

Character used to separate column

values (in a text file).

RowDelim string 1 Conditional

Row Delimiter.

Required if TransformType = DELIM.

This defines the string that separates

each row.

IncludeHeader enum

(BooleanVerboseType) 5 Optional

Include (TRUE) field headings as first

row of delimited output.

Response (GetCardAdminReport)

Field Name Type Max

Length Description

Card_Account_Updates_Key string 25 User name assigned in DC Gateway. The account

must be granted a sufficient level of security access

in order to invoke the operation.

Update_Receive_Date string 20 Password for the user name assigned in DC

Gateway.

Customer_Name_VC string 10 Unique identifier for Direct Connect reseller.

Customer_Key string 10 Unique identifier for Customer.

Customer_ID string 15 Identifier assigned by merchant to cardholder.

Card_Info_Key string 10 Unique identifier for Customer Card.

Payment_Type_ID string Variable Type of Payment.

Name_On_Card string 25 Cardholder’s name as it appears on the card.

Previous_Account_Num string 4 Last 4 digits of previous Primary Account Number of

the credit cardholder account.

Previous_Exp_Date string 4 Expiration Date (MMYY) of the previous Primary

Account Number of the credit cardholder account.

New_Account_Num string 4 Last 4 digits of new Primary Account Number of the

credit cardholder account.

New_Exp_Date string 4 Expiration Date of new Primary Account Number

of the credit cardholder account.

Reason_Code string Variable Reason code for update, cancellation, or error.

Reason_Code_Text string Variable Accompanying text to Reason Code from Processor.

Active_Flag enum (BooleanType) 1 Indicates if values returned are active account

within list of stored card values.

Example

Hyperlink to GetCardAdminReport Request/Response example.

Page 103: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 103 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Validate Credit Card Web Service

Name

Validate Credit Card

Description

Credit Card Validation and Card Type Web Service

Operations

Name Description

GetCardType Returns the brand – or Payment Type - for a credit card number.

GetNetworkID Returns the network identifier for a debit card number.

IsCommercialCard Returns true if number is for a commercial card (eligible for preferred discount rate pricing.)

ValidCard Returns true if card type, card number and expiration date are valid.

ValidCardLength Returns true if length of number is consistent with type of card.

ValidExpDate Returns true if a date is valid has not expired.

ValidMod10 Returns true if the remainder after a checksum (calculated from the sequence of digits in a card

number) divided by ten is zero.

Developer Notes

None

GetCardType

Description

Returns the brand for a card number.

Parameters

Field Name Type Max

Length Required Description

CardNumber string 19 Required Unique identifier of cardholder

account.

Response (GetCardType)

Field Name Type Max

Length Description

GetCardTypeResult enum

(PaymentCardType) 10

Type(s) of payment to be included in list of

processed transactions (comma-separated list of

single-quoted strings).

Example

Hyperlink to GetCardType Request/Response example.

Page 104: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 104 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

GetNetworkID

Description

Lookup the Debit Network identifier using a Card Number.

Parameters

Field Name Type Max

Length Required Description

UserName string 25 Required

User name assigned in DC Gateway.

The account must be granted a

sufficient level of security access in

order to invoke the operation.

Password string 20 Required Password for the user name assigned

in DC Gateway.

CardNumber string 19 Required Unique identifier of cardholder

account.

Response (GetNetworkID)

Field Name Type Max

Length Description

Result GatewayResult 10

Numeric value returned from DC Gateway to summarize result from invoking operation (0 – successful).

RespMSG string 150 Full name of Debit Network.

Message string 150 Message returned from DC Gateway to describe result from processing transaction.

Message1 string 150 Debit Network ID and Authorizer number– provided as name/value –pairs.

Message2 string 150 Additional detail returned from DC Gateway to describe result from processing transaction.

AuthCode string 20

3-character Debit Network ID: ACL - Accel, AFN–- AFFN, AKO - Alaska Option, C24 - CU24, ILK - Interlink, JEN - Jeanie, MAC - Star Northeast, MAE - Maestro, NET - NETS, NYC - NYCE, PUL- Pulse, SES - Star Southeast, SHZ - Shazam, STX - Star West, TYM – TYME.

HostCode string 30 Network authorizer number.

Example

Hyperlink to GetNetworkID Request/Response example.

IsCommercialCard

Description

Returns (true/false) if the card is a known commercial card (commercial cards require customer code and sales

tax amount to receive preferred discount rate pricing).

Parameters

Field Name Type Max

Length Required Description

Page 105: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 105 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

CardNumber string 19 Required Unique identifier of cardholder

account.

Response (IsCommercialCard)

Field Name Type Max

Length Description

IsCommercialCardResult enum

(BooleanVerboseType) 5

True for False returned from DC Gateway to indicate if card number is a Commercial Card.

Example

Hyperlink to IsCommercialCard Request/Response example.

ValidCard

Description

Validates the credit card by checking the card length based on the card type, performing a mod 10 checksum

and validating the expiration date.

Parameters

Field Name Type Max

Length Required Description

CardNumber string 19 Required Unique identifier of cardholder

account.

ExpDate string 4 Required Expiration Date (MMYY).

Response (ValidCard)

Field Name Type Max

Length Description

ValidCardResult string 5

Returns value indicating one of the follow restuls: 0

– valid card number and expiration date, 1001 -

missing card number, 1002 - missing expiration

date, 1003 - invalid cardtype, 1004 - invalid length

(card number), 1005 - fails mod 10 validation, 1006 -

invalid expiration date.

Example

Hyperlink to ValidCard Request/Response example.

ValidCardLength

Description

Validates the credit card length by checking the card length based on the card type, Returns (true/false).

Parameters

Field Name Type Max

Length Required Description

CardNumber string 19 Required Unique identifier of cardholder

account.

Response (ValidCardLength)

Page 106: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 106 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Description

ValidCardLengthResult enum

(BooleanVerboseType) 5

True for False returned from DC Gateway to indicate if card length is valid.

Example

Hyperlink to ValidCardLength Request/Response example.

ValidExpDate

Description

Validates the expiration date by making sure it is a valid date and the card has not expired, Returns (true/false).

Parameters

Field Name Type Max

Length Required Description

ExpDate string 4 Required Expiration Date (MMYY).

Response (ValidExpDate)

Field Name Type Max

Length Description

ValidExpDateResult enum

(BooleanVerboseType) 5

True for False returned from DC Gateway to indicate if card expiration date is valid.

Example

Hyperlink to ValidExpDate Request/Response example.

ValidMod10

Description

Validates the credit card by performing a mod 10 checksum on the card number, Returns (T/F).

Parameters

Field Name Type Max

Length Required Description

CardNumber string 19 Required Unique identifier of cardholder

account.

Response (ValidMod10)

Field Name Type Max

Length Description

ValidMod10Result enum

(BooleanVerboseType) 5

True for False returned from DC Gateway to indicate if card number has valid Luhn formula Mod 10 checksum.

Example

Hyperlink to ValidMod10 Request/Response example.

Page 107: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 107 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Enumerations

Description

The following are enumerated data types that consist of the associated set of named values specific to each

type.

enum Type Values Max

Length

Web

Method Description

enum AuthOptionFormType SinglePaymentSeries 25

UntilRevoked

enum Type Values Max

Length

Web

Method Description

enum AuthOptionVoiceType ConsumerInitiatedCall 25

ExistingRelationship

enum Type Values Max

Length

Web

Method Description

enum BillingFequencyType ONCE 15 Billing Period of once

WEEKLY Billing Period of weekly

BIWEEKLY Billing Period of every 2 weeks.

MONTHLY Billing Period of monthly.

QUARTERLY Billing Period of quarterly.

SEMIANNUALLY Billing Period of twice per year.

ANNUALLY Billing Period of annually.

enum Type Values Max

Length

Web

Method Description

enum BillingPeriodType DAY 5 Billing Period of Day

WEEK Billing Period of Week

MONTH Billing Period of Month

YEAR Billing Period of Year

enum Type Values Max

Length

Web

Method Description

enum BooleanType T 1 “T” = Value of True.

F “F” = Value of False.

enum Type Values Max

Length

Web

Method Description

enum BooleanVerboseType True 5 “True” = Value of True.

False “False” = Value of False.

enum Type Values Max

Length

Web

Method Description

enum BooleanVerboseLCType true 5 All lower case of “true” = Value of True.

false All lower case of “false” = Value of

False.

enum Type Values Max

Length

Web

Method Description

enum CardPresentType TRUE 7 Card is present at time of purchase.

FALSE Card is not present at time of

purchase.

UNKNOWN Card presence is unknown at time of

purchase.

Page 108: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 108 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

enum Type Values Max

Length

Web

Method Description

enum CardType AMEX 10 American Express card

DISCOVER Discover card

MASTERCARD MasterCard card

VISA Visa card

enum Type Values Max

Length

Web

Method Description

enum CashTransType Sale 6 Process a sale with cash.

Return Return funds from a cash transaction.

enum Type Values Max

Length

Web

Method Description

enum CheckAcctType Checking 10 Checking account specified.

Savings Savings account specified.

enum Type Values Max

Length

Web

Method Description

enum CheckTransType Auth 10 Verify the amount of a check.

Sale Process a sale by check.

Force Force a previous Sale transaction into

the current batch.

Return Return funds from a settled check

transaction to the account holder.

Void Voids a previously processed check

sale, force or return.

Capture Settle a single check transaction in the

current batch

CaptureAll Settle all check transactions in the

current batch.

enum Type Values Max

Length

Web

Method Description

enum CheckType Personal 10 Indicates a personal checking account.

Business Indicates a business checking account.

enum Type Values Max

Length

Web

Method Description

enum CreditCardTransType Auth 10 Verify the amount of a credit card.

Sale Process a sale by credit card.

Adjustment Adjust the total amount of a credit

card transaction.

RepeatSale Process a repeat sale by credit card.

Force Force a previous Sale transaction into

the current batch.

Return

Return funds from a settled credit

card transaction to the account

holder.

Reversal Return funds from a credit card

transaction to the account holder.

Void Voids a previously processed credit

card sale, force or return.

Capture Settle a single credit card transaction

in the current batch.

CaptureAll Settle all credit card transactions in

the current batch.

Page 109: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 109 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

enum Type Values Max

Length

Web

Method Description

enum CVPresenceType 1 1 No CV provided

2 CV not submitted

3 CV submitted

4 CV is illegible

5 CV not present on card

enum Type Values Max

Length

Web

Method Description

enum DebitCardTransType Auth 10 Verify the amount of a debit card.

Sale Process a sale by debit card.

Force Force a previous Sale transaction into

the current batch.

Return Return funds from a settled debit card

transaction to the account holder.

Reversal Return funds from a debit card

transaction to the account holder.

Capture Settle a single debit card transaction in

the current batch.

CaptureAll Settle all debit card transactions in the

current batch.

enum Type Values Max

Length

Web

Method Description

enum EBTCardTransType FoodStampSale 20 Make a purchase on an EBT

cardholder’s food stamp account.

FoodStampReturn Refund purchase made with EBT Card.

CashBenefitSale Make Sale on Cash Benefit Account

with EBT Card.

EWICAuthorization Authorize sale amount for eWic

transaction using EBT Card.

EWICSale Make an eWic sale using an EBT Card.

EWICCompletion Complete a previously processes eWic

authorization using EBT Card.

EWICVoucherClear Complete a previously voice

authorized eWic voucher.

SNAPVoucherClear Complete a previously voice

authorized SNAP voucher.

Force Make Sale using EBT Card without PIN.

Inquire Check the balance on an EBT card.

Reversal Return funds from an EBT card

transaction to the account holder.

Void Voids a previously processed EBT sale,

force or return.

Capture Settle a single EBT Card transaction in

the current batch.

CaptureAll Settle all EBT Card transactions in

current batch.

Page 110: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 110 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

enum Type Values Max

Length

Web

Method Description

enum EntryModeType UNKNOWN 15 Unable to determine how merchant

obtained values from card.

MANUAL Merchant manually keyed card values.

MagneticStripe Cards stripe was read by swiping it on

a magnetic stripe reader.

ICC Card information was obtained by

Integrated Circuit Card (chip read).

PROXIMITY Card information was obtained by

near field communication reader.

enum Type Values Max

Length

Web

Method Description

enum GiftCardTransType Activate 10 Activate Gift Card.

Deactivate Deactivate Gift Card.

Redeem Make Sale using Gift Card.

Force

Place a Gift Card transaction not

processed through DC Gateway into

the current batch.

Refund Refund purchase made using Gift

Card.

Void Undo unsettled transaction made

using Gift Card.

Inquire Check Gift Card balance.

Reload Increase Gift Card balance.

Capture Settle a single Gift Card transaction in

the current batch.

CaptureAll Settle all Gift Card transactions in

current batch.

enum Type Values Max

Length

Web

Method Description

enum ImageType NO_IMAGE 25 No image included.

ONLY_IMAGE Only include image.

ONLY_IMAGE_INCLUD

E_DATA

Include both image data.

ALL_INCLUDE_DATA Include all data.

enum Type Values Max

Length

Web

Method Description

enum PaymentType CC 2 Credit Card

CK Check

enum Type Values Max

Length

Web

Method Description

enum PaymentCardType AMEX 10 American Express card

CARTBLANCH Cart Blanche card

DEBIT Debit card

DINERS Diners Club card

DISCOVER Discover card

EBT Electrtonic Benefits Transfer

EGC Electrtonic Gift card

JAL JAL card

JCB Japanese Commercial Bank card

MASTERCARD MasterCard card

VISA Visa card

Page 111: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 111 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

enum Type Values Max

Length

Web

Method Description

enum PaymentCheckType ACH 10 Automated Clearing House

ECHECK Electronic Check

SETTLE Transactions that have been finalized

with the processor

enum Type Values Max

Length

Web

Method Description

enum PaymentTypeIDType ACH 10 Automated Clearing House

AMEX American Express card

CARTBLANCH Cart Blanche card

CASH Cash

DEBIT Debit card

DINERS Diners Club card

DISCOVER Discover card

EBT Electronic Benefits Transfer

ECHECK Electronic Check

EGC Electronic Gift card

FILE Authorization File

GUARANTEE Check Guarantee

IMAGE Check Image

JAL JAL card

JCB Japanese Commercial Bank card

LOYALTY Loyalty card

MASTERCARD MasterCard card

PAYRECEIPT

Receipt image uploaded to DC

Gateway (Transaction Reporting web

service only).

PL Private Label card.

SETTLE

Request to settle transactions

(Transaction Reporting web service

only).

VERIFY Verify Check

VISA Visa card

enum Type Values Max

Length

Web

Method Description

enum ProcessorIDType FDCN 10 First Data Nashville

FDCISONash First Data ISO 8583 Nashville

FDCNorth First Data North

FDCOmaha First Data Omaha

FDRC First Data Rapid Connect

PayTampa Paymentech Tampa

TSYS_SGMF TSYS Host Capture

VITAL TSYS Sierra Terminal Capture

enum Type Values Max

Length

Web

Method Description

enum RecurringTransType ADD 6 Recurring Add recurring payment

UPDATE Recurring Update recurring payment

DELETE Recurring Delete recurring payment

Page 112: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 112 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

enum Type Values Max

Length

Web

Method Description

enum ReportingTransType Authorization 20 TrxReporti

ng

Credit TrxReporti

ng

ForceCapture TrxReporti

ng

PostAuth TrxReporti

ng

Purged TrxReporti

ng

RepeatSale

TrxReporti

ng/Transac

t/CardSafe

Sale

TrxReporti

ng/Transac

t/CardSafe

Void

TrxReporti

ng/Transac

t/CardSafe

enum Type Values Max

Length

Web

Method Description

enum SECCType CCD 3 Cash Concentration or Disbursement

PPD Prearranged Payment and Deposit

Entry

ARC Accounts Receivable Entry

RCK Re-presented Check Entry

TEL Telephone Initiated Entry

WEB Internet Initiated Entry

enum Type Values Max

Length

Web

Method Description

Enum SignatureType SignatureType1 14 Lipman credit signature type

SignatureType2 Lipman check signature type

SignatureType4 Signature provided in a vector string

Receipt1 Base64 encoded text string

enum Type Values Max

Length

Web

Method Description

enum TaxType City 14 City tax

Energy Energy tax

Federal Federal tax

Goods/Services Goods/services tax

Local Local tax

Municipal Municipal tax

Occupancy Occupancy tax

Other Other tax

Provincial Provincial tax

Room Room tax

State State tax

Value Added Value added tax

Page 113: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 113 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

enum Type Values Max

Length

Web

Method Description

enum Timezone AST 5 Atlantic Standard Time

AKST Alaskan Standard Time

CST Central Standard Time

EST Eastern Standard Time

HST Hawaiin Standard Time

MST Mountain Standard Time

AZMST US Mountain Standard Time

PST Pacific Standard Time

enum Type Values Max

Length

Web

Method Description

enum TokenModeType DEFAULT 10 Numeric CCInfoKey value

CARDFORMAT Randomly generated number in

format of a credit card number

enum Type Values Max

Length

Web

Method Description

enum TransformType XML 5 XML file type

XSL Excel spreadsheet file type

DELIM Delimited file type

enum Type Values Max

Length

Web

Method Description

enum UserStatusType 1 1 1 = ACTIVE

2 2 = INACTIVE

enum Type Values Max

Length

Web

Method Description

enum UnitOfMeasureType ACR 3 ACRE

ASM Alcoholic strength by mass

ASV Alcoholic strength by volume

AMP Ampere*

AMH Ampere-hour (3.6kC)*

ARE Are (100 m2)

BAR Bar*

BLL Barrel

BFT Board foot

BQL Becquerel*

BIL Billion EUR

MLD Billion US

BHP Brake horse power (245.7 watts)

BTU British thermal unit (1.055 kilojoules)

BUA Bushel (35.2391 dm3)

BUI Bushel (36.36874 dm3)

CDL Candela*

CCT Carrying capacity in metric tons

CNT Cental GB (45.359237 kg)

CGM Centigram*

CLT Centilitre*

CMT Centimetre*

DTN Centner, metric (100 kg)

WCD Cord (3.63 m3)

COU Coulomb*

CKG Coulomb per kilogram*

CMQ Cubic centimetre*

DMQ Cubic decimetre*

Page 114: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 114 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

FTQ Cubic foot

INQ Cubic inch

MTQ Cubic metre

MQH Cubic metre per hour*

MQS Cubic metre per second*

MMQ Cubic millimetre*

YDQ Cubic yard

CUR Currie

DAY Day*

DEC Decade (ten years)

DAA Decare

DLT Decilitre*

DMT Decimetre*

DTN Decitonne*

CEL Degree Celsius

FAH Degree Fahrenheit

DPT Displacement tonnage

DZN Dozen

DZP Dozen packs

DZR Dozen pairs

DPC Dozen pieces

DRL Dozen rolls

DRM Drachm GM (3.887935 g)

DRI Dram GB (1.771745 g)

DRA Dram US (3.887935 g)

BLD Dry barrel (115.627 dm3)

GLD Dry gallon (4.404884 dm3)

PTD Dry pint (.55061 dm3)

QTD Dry quart (1.101221 dm3)

FAR Farad*

OZI Fluid ounce (28.413 cm3)

OZA Fluid ounce (29.5735 cm3)

FOT Foot (.3048 m)

GLI Gallon (4.546092 dm3)

GBQ Gigabequerel*

GWH Gigawatt-hour (1 million kW/h)*

GII Gill (.142065 dm3)

GIA Gill (11.8294 cm3)

GRN Grain GB, US (64.798910 mg)

GRM Gram*

GFI Gram of fissile isotopes

GGR Great gross (12 gross)

GRP Gross

GRT Gross GRT

SAN Half year (six months)

HAR Hectare

HBA Hectobar*

HGM Hectogram*

DTH Hectokilogram*

HLT Hectolitre*

HPA Hectolitre of pure alcohol

HMT Hectometre*

HTZ Hertz*

HUR Hour*

Page 115: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 115 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

CEN Hundred

BHX Hundred boxes

HIU Hundred international units

CLF Hundred leaves

CNP Hundred packs

CWA Hundredweight US (45.3592 kg)

INH Inch (25.4mm)

JOU Joule*

KEL Kelvin*

KBA Kilobar*

KGM Kilogram*

KPH Kilogram of caustic potash

KSH Kilogram of caustic soda

KNS Kilogram of named substance

KNI Kilogram of nitrogen

KPP Kilogram of phosphoric anhydride

KPP Kilogram of phosphoric pentoxide

KPH Kilogram of potassium hydroxide

ATT Technical atmosphere (98066.5 Pa)

DAD Ten days

TPR Ten pairs

MIL Thousand

TAH Thousand ampere-hour*

MBF Thousand board-feet (2.36 m3)

TQD Thousand cubic metres per day*

MBE Thousand standard brick equivalent

TSH Ton of steam per hour

TNS Tonne (1000 kg)*

TSD Tonne of substance 90% dry

TRL Trillion EUR

BIL Trillion US

APZ Troy ounce

LBT Troy pound, US (373.242 g)

VLT Volt*

WTT Watt*

WHR Watt-hour*

WEB Weber

WEE Week

TRD Yard

ANN Year

KPO Kilogram of potassium oxide

KSD Kilogram of substance 90% dry

KUR Kilogram of uranium

KMQ Kilogram per cubic meter*

KGS Kilogram per second*

KHZ Kilohertz*

KJO Kilojoule*

KMT Kilometre*

KMH Kilometre per hour*

KPA Kilopascal*

KTN Kilotonne

KVR Kilovar

KVT Kilovolt*

KVA Kilovolt-ampere*

Page 116: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 116 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

KWT Kilowatt*

KWH Kilowatt-hour*

KNT Knot (1 nautical mile per hour)

LEF Leaf

GLL Liquid gallon (3.78541 dm3)

PTL Liquid pint (.473176 dm3)

QTL Liquid quart (.946353 dm3)

LTR Litre (1 dm3)*

LPA Litre of pure alcohol

CWI (Long) hundredweight GB (50.802345)

LTN Long ton GB, US (1.0160469 t)

LUM Lumen*

LUX Lux

MHZ Megahertz

MAL Megalitre*

MAM Megametre*

MPA Megapascal*

MVA Megavolt-ampere (1000 KVA)*

MAW Megawatt*

MWH Megawatt-hour (1000kW/h)*

MTR Metre*

MTS Metre per second*

MSK Metre per second squared*

CTM Metric carat (200 mg - 2.10-4kg)

TNE Metric ton (1000 kg)

MLT Mililitre*

MMT Milimetre*

MLD Milliard

MBR Millibar*

MCU Millicurie

MGM Milligram*

MIO Million

HMQ Million cubic metres*

MIU Million international units

MIN Minute*

MON Month

NMI Nautical mile (1852 m)

NTT Net [register] ton

NEW Newton*

NMB Number

NAR Number of articles

NBB Number of bobbins

NCL Number of cells*

NIU Number of international units

NMP Number of packs

NMR Number of pairs

NPL Number of parcels

NPT Number of parts

NRL Number of rolls

OHM Ohm*

ONZ Ounce GB, US (28.349523 g)

APZ Ounce GB, US (31.10348 g)

PAL Pascal*

DWT Pennyweight GB, US (1.555174 g)

Page 117: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 117 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

PCB Piece

PTI Pint (.568262 dm3)

LBR Pound GB, US (.4559237 kg)

PGL Proof gallon

QTI Quart (1.136523 dm3)

QAN Quarter (of a year)

QTR Quarter, GB (12.700586 kg)

DTN Quintal, metric (1000 kg)

RPM Revolution per minute*

RPS Revolution per second*

SCO Score

SCR Scruple GB, US (1.295982 g)

SEC Second*

SET Set

SHT Shipping ton

SST Short standard (7200 matches)

STN Short ton GB, US (.90718474 t)

SIE Siemens*

CMK Square centimetre*

DMK Square decimetre*

FTK Square foot

INK Square inch

KMK Square kilometre*

MTK Square metre*

MIK Square mile

MHK Square millimetre*

YDK Square yard

WSD Standard

ATM Standard atmosphere (101325 Pa)

SMI (Statute) mile (1609.344 m)

STI Stone GB (6.350293 kg)

Page 118: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 118 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Hosted Payment Pages

DC Gateway Hosted Payment Pages are available with the following two layouts:

Name Description Endpoint

Classic The original hosted payment page /ws/hosted.aspx

New The new, tabular layout hosted payment page. Only this page supports

the callback URL

/ws/hosted2.aspx

Developer Notes

The base URL for DC Gateway Web services is https://gateway.1directconnect.com.

Contact Direct Connnect Sales Representative to request custom URL.

Both of the pages support the same parameters and return the exact same data.

Description

This request will generate a hosted payments page and provide options to process payments

Parameters

Field Name Type Max

Length Required Description

Username string 500 Required

The Username parameter generated

in the security tab of the Hosted Page

configuration utility.

Password string 500 Required

The Password parameter generated in

the security tab of the Hosted Page

configuration utility.

MerchantKey string 10 Required

This is the Gateway ID of the gateway

account you are trying to connect to.

This value is also referred to as the

Vendor Key or RPNumber.

CustomerName string 100 Optional This is the card holder name value.

ShippingAddress1 string 50 Optional Identifies the first line of the card

holder’s shipping address.

ShippingAddress2 string 50 Optional Identifies the second line of the card

holder’s shipping address.

ShippingState string 50 Optional Identifies the State of the card holder’s

shipping address.

ShippingCity string 50 Optional Identifies the City of the card holder’s

shipping address.

ShippingZip string 2 Optional Identifies the Zip code of the card

holder’s shipping address.

ShippingIsBilling string Optional

A Boolean field which allows the

integrator to specify that the shipping

address and billing address are

equivalent. If this field is passed in and

set to ‘True’, all billing address

information passed to the hosted

page will be ignored.

BillingAddress1 string 50 Optional Identifies the first line of the card

holder’s billing address.

BillingAddress2 string 50 Optional Identifies the second line of the card

holder’s billing address.

Page 119: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 119 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max

Length Required Description

BillingState string 50 Optional Identifies the State of the cardholder’s

billing address.

BillingCity string 50 Optional Identifies the City of the cardholder’s

billing address.

BillingZip string 2 Optional Identifies the Zip code of the card

holder’s billing address.

Amount string 18 Conditional

Amount of the transaction.

Required if customer does not

specify the amount.

InvNum string 20 Optional Invoice Number to be associated with

the current transaction.

CustomerID string 50 Optional

The Customer ID value to be

associated with the current

transaction.

TaxAmount string 18 Optional The Tax Amount to be associated

with the current transaction.

ShippingAmount string 18 Optional

The Shipping Amount to be

associated with the current

transaction.

Response (Hosted Payment Page)

Field Name Type Max Length Description

Result GatewayResult 10

Numeric value returned from DC Gateway

to summarize result from invoking

operation

RespMSG string 150

Message returned from DC Gateway

describing result from processing

transaction

AuthCode string 20

Six-character alphanumeric authorization

code (from Issuing Bank) used during

settlement or an error message (from

Payment Processor)

PNRef string 10 Unique numeric identifier generated by DC

Gateway for a processed transaction.

LastFour string 4

The last four digits of the credit card

number that was collected on the Hosted

Page

ExpDate string 4

The expiration date of the credit card

number that was collected on the Hosted

Page

Amount string 18 Amount authorized by processor

InvNum string 20 The invoice number of the transaction for

reconciliation purposes

CardType string 10 Payment Type of card used to process

payment

Page 120: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 120 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Field Name Type Max Length Description

CustomerKey string 10

Unique identifier for Customer token

returned after tokenizing the customer

information provided on Hosted Payment

Page.

Support for tokenization needs to be

enabled for this tag to be returned. If

tokenization was not successful, -1 will be

returned in the response.

CCInfoKey string 10

Unique identifier for Card payment token

returned after tokenizing the card

information provided on Hosted Payment

Page.

Support for tokenization needs to be

enabled for this tag to be returned If

tokenization was not successful, -1 will be

returned in the response.

CheckInfoKey string 10

Unique identifier for Check Payment token

returned after tokenizing the check

information provided on Hosted Payment

Page.

Support for tokenization needs to be

enabled for this tag to be returned If

tokenization was not successful, -1 will be

returned in the response.

Page 121: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 121 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Appendix

Front End Processors

Developer Notes

Use the InfoMerchant operation of the Administration web service to determine the ProcessorID for a

merchant’s payment methods in DC Gateway.

Credit/Debit/EBT

Processor Name Processor ID Settlement Type Notes

First Data Nashville FDCN Terminal Capture Direct Connect Preferred processor.

First Data Nashville ISO8583 FDCISONash Terminal Capture Direct Connect Preferred processor.

First Data North FDCNorth Terminal Capture Direct Connect Preferred processor.

First Data Omaha FDCOmaha Hybrid

Settlement action is required from the

terminal to reconcile the transactions at the

host; Direct Connect Preferred Processor.

First Data Rapid Connect FDRC Host Capture Direct Connect Preferred processor.

Paymentech – Tampa PayTampa Host Capture

Terminal Capture

Used to process all credit, debit and EBT

transactions from DC Gateway test account.

TSYS Host TSYS_SGMF Host Capture Direct Connect Preferred processor.

TSYS Terminal (Vital) VITAL Terminal Capture Direct Connect Preferred processor.

Check/Gift/Loyalty

Processor Name Processor ID Settlement Type Notes

First ACH FirstACH Host Capture

Direct Connect Preferred processor. Used

to process all Check, eCheck transactions

from DC Gateway test account.

Valutec Valutec Host Capture Direct Connect Preferred processor.

Responses

HTTP Status Codes Value Description

2xx Success: Inspect Result/Result Code from DC Gateway to determine outcome of Web Service operation.

4xx Client Error: Reformulate and resubmit request to DC Gateway.

DC Gateway Result Value Description Explanation

-100 Transaction NOT Processed; Generic Host Error DC Gateway failed to reach Processor

0 Approved Request was processed successfully by processor.

1 User Authentication Failed DC Gateway rejected username and/or password

2 Invalid Transaction DC Gateway forwarded request to processor for an

unsupported operation.

3 Invalid Transaction Type Request message included an invalid transaction type for the

specified operation;

Page 122: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 122 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Value Description Explanation

4 Invalid Amount

Request message included an amount value that is < 0.01 or

greater than 99999.99;

Request message included an improperly formatted amount

value;

Request message included an amount value containing

alphabetic characters or symbols (other than decimal point)

5 Invalid Merchant Information Processor does not recognize Merchant Account.

7 Field Format Error DC Gateway failed while parsing request message.

8 Not a Transaction Server Gateway unable to reach processor that supports requested

operation.

9 Invalid Parameter Stream Client Application failed to pass all necessary parameters to

requested operation for messaging protocol.

10 Too Many Line Items DC Gateway unable to process payments with more than 99-

line item details.

11 Client Timeout Waiting for Response Processor failed to respond to a request from DC Gateway;

12 Decline Request was declined by processor.

13 Referral Gateway unable to reach processor that supports requested

operation.

14 Transaction Type Not Supported In This Version

Valid transaction types are: Authorization, Capture, Credit,

ForceCapture, GetStatus, PostAuth, Purged, Receipt,

RepeatSale, Sale, Void

19 Original Transaction ID Not Found Request was rejected by DC Gateway.

20 Customer Reference Number Not Found Request was rejected by DC Gateway.

22 Invalid ABA Number Request was rejected by DC Gateway.

23 Invalid Account Number Request was rejected by DC Gateway.

24 Invalid Expiration Date Request was rejected by DC Gateway.

25 Transaction Type Not Supported by Host Gateway unable to reach processor that supports requested

operation.

26 Invalid Reference Number Request was rejected by DC Gateway.

27 Invalid Receipt Information Receipt information is improperly configured in DC Gateway

for Merchant account.

28 Invalid Check Holder Name Request was rejected by the processor.

29 Invalid Check Number Request was rejected by the processor.

30 Check DL Verification Requires DL State Request was rejected by DC Gateway.

40 Transaction did not connect (to NCN because

SecureNCIS is not running on the web server) DC Gateway unable to communicate with processor.

50 Insufficient Funds Available Request was rejected by the processor.

99 General Error Processor failed to respond or responded in an unexpected

way to a valid DC Gateway request

100 Invalid Transaction Returned from Host Gateway forwarded request to processor for an unsupported

operation.

101 Timeout Value too Small or Invalid Time Out

Value Request was rejected by DC Gateway.

102 Processor Not Available DC Gateway failed to reach processor

103 Error Reading Response from Host Processor failed to respond to valid DC Gateway request

104 Timeout waiting for Processor Response Processor failed to respond to valid DC Gateway request within

allotted time duration.

105 Credit Error Return request was rejected by the processor.

106 Host Not Available DC Gateway unable to communicate with processor.

107 Duplicate Suppression Timeout DC Gateway unable to complete request within allotted time

duration.

108 Void Error Request was rejected by DC Gateway.

109 Timeout Waiting for Host Response Processor failed to respond to valid DC Gateway request

Page 123: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 123 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Value Description Explanation

110 Duplicate Transaction Request was rejected by DC Gateway.

111 Capture Error Request was rejected by DC Gateway.

112 Failed AVS Check

Request was rejected by processor.

Incomplete or inconsistent address information provided by

Client Application for Card number.

113 Cannot Exceed Sales Cap Request was rejected by DC Gateway.

1000 Generic Host Error Processor failed to respond or responded in an unexpected

way to a valid DC Gateway request

1001 Invalid Login DC Gateway rejected username and/or password

1002 Insufficient Privilege or Invalid Amount DC Gateway refused to process payment request for

username.

1003 Invalid Login Blocked DC Gateway rejected username and/or password

1004 Invalid Login Deactivated DC Gateway refused request received for a valid username

because the account is inactive.

1005 Transaction Type Not Allowed

Valid transaction types are: Authorization, Capture, Credit,

ForceCapture, GetStatus, PostAuth, Purged, Receipt,

RepeatSale, Sale, Void

1006 Unsupported Processor DC Gateway unable to forward request to specified processor.

1007 Invalid Request Message Client Application failed to pass all necessary parameters to

requested operation for messaging protocol.

1008 Invalid Version Client Application failed to pass all necessary parameters to

requested operation for messaging protocol.

1010 Payment Type Not Supported Gateway forwarded request to processor for an unsupported

operation.

1011 Error Starting Transaction DC Gateway failed to reach processor

1012 Error Finishing Transaction Processor failed to respond within allotted time duration to a

DC Gateway request.

1013 Error Checking Duplicate Request was not processed by DC Gateway.

1014 No Records To Settle (in the current batch) Request was rejected by DC Gateway.

1015 No Records To Process (in the current batch) Request was rejected by DC Gateway.

DC Gateway ResultCode Description Explanation

OK Request was processed successfully by processor

Unknown_Error DC Gateway failed to reach Processor

Access_Denied User does not have required access privileges

Invalid_Login DC Gateway rejected username and/or password

Invalid_User_Status DC Gateway rejected username

Invalid_User DC Gateway rejected username

User_Not_Found DC Gateway rejected username

Username_Already_In_Use DC Gateway cannot add duplicate username for Merchant

Username_Has_Invalid_Characters DC Gateway rejected username

Not_Enough_Privilege User lacks sufficient privileges for requested operation

Invalid_PartnerID DC Gateway rejected PartnerID

Invalid_VendorID DC Gateway rejected VendorID

Invalid_Argument Request was rejected by DC Gateway

Invalid_Record Request was rejected by DC Gateway

Transaction_Type_Not_Supported_By_Host Request message included an invalid transaction type for the specified operation

Internal_Error DC Gateway failed to reach Processor

Page 124: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 124 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Address Verification System (AVS) Result Codes Value Description

X Exact: Address and nine-digit Zip match

Y Yes: Address and five-digit Zip match

A Address: Address matches, Zip does not

Z 5-digit Zip: 5-digit Zip matches, address doesn’t

W Whole Zip: 9-digit Zip matches, address doesn’t

N No: Neither address nor Zip matches

U Unavailable: Address information not available

G Unavailable: Address information not available for international transaction

R Retry: System unavailable or time-out

E Error: Transaction unintelligible for AVS or edit error found in the message that prevents AVS from being performed

S Not Supported: Issuer doesn’t support AVS service

B Street Match: Street addresses match for international transaction, but postal code doesn’t

C Street Address: Street addresses and postal code not verified for international transaction

D Match: Street addresses and postal codes match for international transaction

I Not Verified: Address Information not verified for International transaction

M Match: Street addresses and postal codes match for international transaction

P Postal Match: Postal codes match for international transaction, but street address doesn’t

0 No response sent

5 Invalid AVS response

Card Verification System (CVS) Result Codes Value Description

M CVV2/CVC2/CID Match

N CVV2/CVC2/CID No Match

P Not Processed

S Issuer indicates that the CV data should be present on the card, but the merchant has indicated that the CV data is

not present on the card.

U Unknown / Issuer has not certified for CV or issuer has not provided Visa/MasterCard with the CV encryption keys.

X Server Provider did not respond

Page 125: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 125 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Examples

Admin Web Service Examples

AddMerchant

Hyperlink to AddMerchant Web Service details

SOAP Request Message:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:ws="http://www.tpisoft.com/Admin/ws">

<soapenv:Header/>

<soapenv:Body>

<ws:AddMerchant>

<ws:Username>[API Username]</ws:Username>

<ws:SecureToken>[API Secure Token]</ws:SecureToken>

<ws:ResellerKey>130</ws:ResellerKey>

<ws:MerchantUsername>AddMerch</ws:MerchantUsername>

<ws:MerchantPassword>AddMerch10</ws:MerchantPassword>

<ws:MerchantID>Test Merchant</ws:MerchantID>

<ws:MerchantID2>Test Merchant ID2</ws:MerchantID2>

<ws:AnnualSales></ws:AnnualSales>

<ws:BusinessStartDate></ws:BusinessStartDate>

<ws:CompanyName>Test Merchant</ws:CompanyName>

<ws:DoingBusinessAs></ws:DoingBusinessAs>

<ws:Url></ws:Url>

<ws:FederalTaxID></ws:FederalTaxID>

<ws:StateTaxID></ws:StateTaxID>

<ws:SalesTaxID></ws:SalesTaxID>

<ws:OwnershipType>Corporation</ws:OwnershipType>

<ws:AutoCloseBatch>True</ws:AutoCloseBatch>

<ws:AutoCloseBatchHour>22</ws:AutoCloseBatchHour>

<ws:ForceDuplicate>True</ws:ForceDuplicate>

<ws:RequirePNRef>True</ws:RequirePNRef>

<ws:ContactFirstName>John</ws:ContactFirstName>

<ws:ContactLastName>Doe</ws:ContactLastName>

<ws:ContactEmail>[email protected]</ws:ContactEmail>

<ws:ContactDayPhone>703-481-7000</ws:ContactDayPhone>

<ws:ContactFax></ws:ContactFax>

<ws:ContactStreet1>123 East Main</ws:ContactStreet1>

<ws:ContactStreet2>Suite 100</ws:ContactStreet2>

<ws:ContactCity>Chantilly</ws:ContactCity>

<ws:ContactState>VA</ws:ContactState>

<ws:ContactPostalCode>20151</ws:ContactPostalCode>

<ws:ContactCountryCode>USA</ws:ContactCountryCode>

<ws:TimeZoneOffset>300</ws:TimeZoneOffset>

<ws:RegistersXml>&lt;Registers&gt;&lt;Register&gt;&lt;RegisterName&gt;Lane1&lt;/RegisterName&gt;&lt;RegisterNum&

gt;1&lt;/RegisterNum&gt;&lt;&lt;/Register&gt;&lt;/Registers&gt;

</ws:RegistersXml>

<ws:ReadOnlyRecurringBillingCustomerID>True</ws:ReadOnlyRecurringBillingCustomerID>

<ws:ReadOnlyRecurringBillingContractID>True</ws:ReadOnlyRecurringBillingContractID>

<ws:ReadOnlyCardSafeCustomerID>True</ws:ReadOnlyCardSafeCustomerID>

<ws:PaymentMethodsXml>&lt;PaymentMethod&gt;&lt;ProcessorID&gt;FDRC&lt;/ProcessorID&gt;&lt;PaymentTypeID&g

t;VISA&lt;/PaymentTypeID&gt;&lt;HostBased&gt;True&lt;/HostBased&gt;&lt;clientNumber&gt;&lt;/clientNumber&gt; &lt;/PaymentMethod&gt;</ws:PaymentMethodsXml>

Page 126: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 126 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

<ws:BypassAvsCvvFiltersEnabled>False</ws:BypassAvsCvvFiltersEnabled>

<ws:ReadOnlyRecurringBillingCustomerID>True</ws:ReadOnlyRecurringBillingCustomerID>

<ws:ReadOnlyRecurringBillingContractID>True</ws:ReadOnlyRecurringBillingContractID>

<ws:ReadOnlyCardSafeCustomerID>True</ws:ReadOnlyCardSafeCustomerID>

<ws:BypassAvsCvvFiltersEnabled>False</ws:BypassAvsCvvFiltersEnabled>

<ws:ExtData>&lt;VirtualTerminalAllowRepeat&gt;T&lt;/VirtualTerminalAllowRepeat&gt;&lt;VirtualTerminalCommercialC

ard&gt;T&lt;/VirtualTerminalCommercialCard&gt;&lt;VirtualTerminalConvenienceAmount&gt;T&lt;/VirtualTerminalConv

enienceAmount&gt;&lt;VirtualTerminalCreditAccess&gt;T&lt;/VirtualTerminalCreditAccess&gt;&lt;VirtualTerminalDutyA

mount&gt;T&lt;/VirtualTerminalDutyAmount&gt;&lt;VirtualTerminalLevel3Amount&gt;T&lt;/VirtualTerminalLevel3Amou

nt&gt;&lt;VirtualTerminalShippingAmount&gt;T&lt;/VirtualTerminalShippingAmount&gt;&lt;VirtualTerminalTaxAmount

&gt;T&lt;/VirtualTerminalTaxAmount&gt;&lt;VirtualTerminalTipAmount&gt;T&lt;/VirtualTerminalTipAmount&gt;&lt;CVN

oData&gt;T&lt;/CVNoData&gt;&lt;AVAddNotVerifiable&gt;F&lt;/AVAddNotVerifiable&gt;&lt;AVAddNotVerifiableGlobal&g

t;F&lt;/AVAddNotVerifiableGlobal&gt;&lt;AVAddOnly&gt;F&lt;/AVAddOnly&gt;&lt;AVExactMatch&gt;F&lt;/AVExactMatch&

gt;&lt;AVInvalidAddZip&gt;F&lt;/AVInvalidAddZip&gt;&lt;AVIssuerUnavail&gt;F&lt;/AVIssuerUnavail&gt;&lt;AVNoData&gt;

F&lt;/AVNoData&gt;&lt;AVNoMatch&gt;F&lt;/AVNoMatch&gt;&lt;AVNotRequested&gt;F&lt;/AVNotRequested&gt;&lt;AVS

ervUnsupported&gt;F&lt;/AVServUnsupported&gt;&lt;AVUnregCode&gt;T&lt;/AVUnregCode&gt;&lt;AVVerUnavail&gt;T&

lt;/AVVerUnavail&gt;&lt;AVZipOnly&gt;F&lt;/AVZipOnly&gt;</ws:ExtData>

</ws:AddMerchant>

</soapenv:Body>

</soapenv:Envelope>

Name/Value Pairs Request Message:

Response Message:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <AddMerchantResponse xmlns="http://www.tpisoft.com/Admin/ws"> <AddMerchantResult> <code>OK</code> <error>A new Merchant was successfully created!</error> <Partner>130</Partner> <Vendor>17282</Vendor> <Username>AddMerch10</Username> </AddMerchantResult> </AddMerchantResponse> </soap:Body> </soap:Envelope>

Hyperlink to AddMerchant Web Service details

UpdateMerchant

Hyperlink to UpdateMerchant Web Service details

SOAP Request Message:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:ws="http://www.tpisoft.com/Admin/ws">

<soapenv:Header/>

<soapenv:Body>

<ws:UpdateMerchant>

<ws:Username>[API Username]</ws:Username>

<ws:SecureToken>[API Secure Token]</ws:SecureToken>

<ws:MerchantKey>17282</ws:MerchantKey>

<ws:ResellerKey>130</ws:ResellerKey>

<ws:MerchantID>GA Test10</ws:MerchantID>

<ws:MerchantID2>GA Test 10ID2</ws:MerchantID2>

Page 127: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 127 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

<ws:AnnualSales></ws:AnnualSales>

<ws:BusinessStartDate>1/1/2000</ws:BusinessStartDate>

<ws:CompanyName>GA Test10</ws:CompanyName>

<ws:DoingBusinessAs></ws:DoingBusinessAs>

<ws:Url></ws:Url>

<ws:FederalTaxID>111-11-1111</ws:FederalTaxID>

<ws:StateTaxID>222-22-2222</ws:StateTaxID>

<ws:SalesTaxID>333-33-3333</ws:SalesTaxID>

<ws:OwnershipType>Corporation</ws:OwnershipType>

<ws:AutoCloseBatch>true</ws:AutoCloseBatch>

<ws:AutoCloseBatchHour>22</ws:AutoCloseBatchHour>

<ws:ForceDuplicate>true</ws:ForceDuplicate>

<ws:RequirePNRef>true</ws:RequirePNRef>

<ws:ContactFirstName>John</ws:ContactFirstName>

<ws:ContactLastName>Doe</ws:ContactLastName>

<ws:ContactEmail>[email protected]</ws:ContactEmail>

<ws:ContactDayPhone>703-481-7000</ws:ContactDayPhone>

<ws:ContactFax></ws:ContactFax>

<ws:ContactStreet1>123 East Main</ws:ContactStreet1>

<ws:ContactStreet2>Suite 100</ws:ContactStreet2>

<ws:ContactCity>Chantilly</ws:ContactCity>

<ws:ContactState>VA</ws:ContactState>

<ws:ContactPostalCode>20151</ws:ContactPostalCode>

<ws:ContactCountryCode>USA</ws:ContactCountryCode>

<ws:TimeZoneOffset>300</ws:TimeZoneOffset>

<ws:PaymentMethodsXml>&lt;PaymentMethod&gt;&lt;ProcessorID&gt;FDRC&lt;/ProcessorID&gt;&lt;PaymentTypeID&g

t;VISA&lt;/PaymentTypeID&gt;&lt;HostBased&gt;True&lt;/HostBased&gt;&lt;/PaymentMethod&gt;</ws:PaymentMethod

sXml>

<ws:RegistersXml>&lt;Registers&gt;&lt;Register&gt;&lt;RegisterName&gt;Lane1&lt;/RegisterName&gt;&lt;RegisterNum&

gt;1&lt;/RegisterNum&gt;&lt;TerminalNum&gt;2&lt;/TerminalNum&gt;&lt;/Register&gt;&lt;/Registers&gt;</ws:Registers

Xml>

<ws:ReadOnlyRecurringBillingCustomerID>true</ws:ReadOnlyRecurringBillingCustomerID>

<ws:ReadOnlyRecurringBillingContractID>true</ws:ReadOnlyRecurringBillingContractID>

<ws:ReadOnlyCardSafeCustomerID>true</ws:ReadOnlyCardSafeCustomerID>

<ws:BypassAvsCvvFiltersEnabled>true</ws:BypassAvsCvvFiltersEnabled>

<ws:ExtData>&lt;VirtualTerminalAllowRepeat&gt;T&lt;/VirtualTerminalAllowRepeat&gt;&lt;VirtualTerminalCommercialC

ard&gt;T&lt;/VirtualTerminalCommercialCard&gt;&lt;VirtualTerminalConvenienceAmount&gt;T&lt;/VirtualTerminalConv

enienceAmount&gt;&lt;VirtualTerminalCreditAccess&gt;T&lt;/VirtualTerminalCreditAccess&gt;&lt;VirtualTerminalDutyA

mount&gt;T&lt;/VirtualTerminalDutyAmount&gt;&lt;VirtualTerminalLevel3Amount&gt;T&lt;/VirtualTerminalLevel3Amou

nt&gt;&lt;VirtualTerminalShippingAmount&gt;T&lt;/VirtualTerminalShippingAmount&gt;&lt;VirtualTerminalTaxAmount

&gt;T&lt;/VirtualTerminalTaxAmount&gt;&lt;VirtualTerminalTipAmount&gt;T&lt;/VirtualTerminalTipAmount&gt;&lt;CVN

oData&gt;T&lt;/CVNoData&gt;&lt;AVAddNotVerifiable&gt;F&lt;/AVAddNotVerifiable&gt;&lt;AVAddNotVerifiableGlobal&g

t;F&lt;/AVAddNotVerifiableGlobal&gt;&lt;AVAddOnly&gt;F&lt;/AVAddOnly&gt;&lt;AVExactMatch&gt;F&lt;/AVExactMatch&

gt;&lt;AVInvalidAddZip&gt;F&lt;/AVInvalidAddZip&gt;&lt;AVIssuerUnavail&gt;F&lt;/AVIssuerUnavail&gt;&lt;AVNoData&gt;

F&lt;/AVNoData&gt;&lt;AVNoMatch&gt;F&lt;/AVNoMatch&gt;&lt;AVNotRequested&gt;F&lt;/AVNotRequested&gt;&lt;AVS

ervUnsupported&gt;F&lt;/AVServUnsupported&gt;&lt;AVUnregCode&gt;T&lt;/AVUnregCode&gt;&lt;AVVerUnavail&gt;T&

lt;/AVVerUnavail&gt;&lt;AVZipOnly&gt;F&lt;/AVZipOnly&gt;</ws:ExtData>

</ws:UpdateMerchant>

</soapenv:Body>

</soapenv:Envelope>

Response Message:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<soap:Body>

<UpdateMerchantResponse xmlns="http://www.tpisoft.com/Admin/ws">

Page 128: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 128 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

<UpdateMerchantResult>

<code>OK</code>

<error>Merchant was successfully updated!</error>

<Partner>130</Partner>

<Vendor>17282</Vendor>

<Username/>

</UpdateMerchantResult>

</UpdateMerchantResponse>

</soap:Body>

</soap:Envelope>

Hyperlink to UpdateMerchant Web Service details

DeleteMerchant

Hyperlink to DeleteMerchant Web Service details

SOAP Request Message:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:ws="http://www.tpisoft.com/Admin/ws">

<soapenv:Header/>

<soapenv:Body>

<ws:DeleteMerchant>

<ws:Username>[API Username]</ws:Username>

<ws:SecureToken>[API Secure Token]</ws:SecureToken>

<ws:ResellerKey>130</ws:ResellerKey>

<ws:MerchantKey>17282</ws:MerchantKey>

</ws:DeleteMerchant>

</soapenv:Body>

</soapenv:Envelope>

Response Message:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<soap:Body>

<DeleteMerchantResponse xmlns="http://www.tpisoft.com/Admin/ws">

<DeleteMerchantResult>

<code>OK</code>

<error>Merchant 17282 deleted.</error>

<Partner>130</Partner>

<Vendor>17282</Vendor>

<Username/>

</DeleteMerchantResult>

</DeleteMerchantResponse>

</soap:Body>

</soap:Envelope>

Hyperlink to DeleteMerchant Web Service details

InfoMerchant

Hyperlink to InfoMerchant Web Service details

SOAP Request Message:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"

Page 129: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 129 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

xmlns:ws="http://www.tpisoft.com/Admin/ws">

<soapenv:Header/>

<soapenv:Body>

<ws:InfoMerchant>

<ws:Username>[API Username]</ws:Username>

<ws:SecureToken>[API Secure Token]</ws:SecureToken>

<ws:VendorKey>17282</ws:VendorKey>

</ws:InfoMerchant>

</soapenv:Body>

</soapenv:Envelope>

Response Message:

<MerchantResult xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-

instance" xmlns="http://www.tpisoft.com/Admin/ws">

<code>OK</code>

<ResellerKey>130</ResellerKey>

<MerchantID>Test Merchant</MerchantID>

<MerchantID2>Test Merchant ID2</MerchantID2>

<AnnualSales>0.00</AnnualSales>

<BusinessStartDate>1/1/0001</BusinessStartDate>

<CompanyName>Test Merchant</CompanyName>

<DoingBusinessAs>Test Merchant</DoingBusinessAs>

<Url/>

<FederalTaxID/>

<StateTaxID/>

<SalesTaxID/>

<OwnershipType>Corporation</OwnershipType>

<AutoCloseBatch>T</AutoCloseBatch>

<AutoCloseBatchHour>22</AutoCloseBatchHour>

<ForceDuplicate>T</ForceDuplicate>

<RequirePNRef>T</RequirePNRef>

<ContactFirstName>John</ContactFirstName>

<ContactLastName>Doe</ContactLastName>

<ContactPostalCode>20151</ContactPostalCode>

<ContactSate>VA</ContactSate>

<ContactCity>Chantilly</ContactCity>

<ContactStreet2>Suite 100</ContactStreet2>

<ContactStreet1>123 East Main</ContactStreet1>

<ContactFax/>

<ContactDayPhone>703-481-7000</ContactDayPhone>

<ContactEmail>[email protected]</ContactEmail>

<ContactCountryCode>USA</ContactCountryCode>

<TimeZoneOffset>-300</TimeZoneOffset>

<PaymentMethodXml/>

<RegistersXml>

<Registers><Register><RegisterName>Lane1</RegisterName><RegisterNum>1</RegisterNum></Register></Registers>

</RegistersXml>

<ReadOnlyCardSafeCustomerID>True</ReadOnlyCardSafeCustomerID>

<ReadOnlyRecurringBillingContractID>True</ReadOnlyRecurringBillingContractID>

<ReadOnlyRecurringBillingCustomerID>True</ReadOnlyRecurringBillingCustomerID>

<BypassAvsCvvFiltersEnabled>False</BypassAvsCvvFiltersEnabled>

<ExtData>

<Merchant><Configuration><VirtualTerminalCreditAccess>F</VirtualTerminalCreditAccess><VirtualTerminalTipAmount>

F</VirtualTerminalTipAmount><VirtualTerminalLevel3Amount>F</VirtualTerminalLevel3Amount><VirtualTerminalTaxA

mount>F</VirtualTerminalTaxAmount><VirtualTerminalConvenienceAmount>F</VirtualTerminalConvenienceAmount><

Page 130: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 130 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

VirtualTerminalDutyAmount>F</VirtualTerminalDutyAmount><AutoSettleMerchantEmail>F</AutoSettleMerchantEmail>

<InvoiceDuplicate>F</InvoiceDuplicate><VirtualTerminalCommercialCard>F</VirtualTerminalCommercialCard><VirtualT

erminalAllowRepeat>F</VirtualTerminalAllowRepeat><ImageCapture>F</ImageCapture><ReceiptCapture>F</ReceiptCa

pture><VirtualTerminalShippingAmount>F</VirtualTerminalShippingAmount><ReadOnlyRecurringBillingCustomerID>T<

/ReadOnlyRecurringBillingCustomerID><ReadOnlyRecurringBillingContractID>T</ReadOnlyRecurringBillingContractID><

ReadOnlyCardSafeCustomerID>T</ReadOnlyCardSafeCustomerID><EnableRecurringBillingSettings>F</EnableRecurring

BillingSettings><RecurringBillingSettings><ForceMaxFailure>F</ForceMaxFailure><ForceFailureInterval>F</ForceFailureI

nterval><ForceFailureRetryResultCode>F</ForceFailureRetryResultCode><ForceMaxBillingCycleRetry>F</ForceMaxBillin

gCycleRetry><MaxFailure>0</MaxFailure><FailureInterval>1</FailureInterval><FailureRetryResultCode></FailureRetryRe

sultCode><MaxBillingCycleRetry>0</MaxBillingCycleRetry></RecurringBillingSettings><BypassExpiredCardValidationFor

CreditCards>T</BypassExpiredCardValidationForCreditCards><CardVerification><AVAddNotVerifiable>T</AVAddNotVeri

fiable><AVInvalidAddZip>T</AVInvalidAddZip><AVZipOnly>T</AVZipOnly><AVNoMatch>T</AVNoMatch><AVIssuerUnav

ail>T</AVIssuerUnavail><AVVerUnavail>T</AVVerUnavail><AVAddOnly>T</AVAddOnly><AVNotRequested>T</AVNotReq

uested><AVUnregCode>T</AVUnregCode><AVServUnsupported>T</AVServUnsupported><AVExactMatch>T</AVExactM

atch><AVNoData>T</AVNoData><AVAddNotVerifiableGlobal>T</AVAddNotVerifiableGlobal><CVNotPresent>T</CVNotP

resent><CVNoData>T</CVNoData><CVNotProcessed>T</CVNotProcessed><CVNoDataFromIssuer>T</CVNoDataFromIs

suer><CVMatch>T</CVMatch><CVUnregCode>T</CVUnregCode><CVNoMatch>T</CVNoMatch><BypassAvsCvvFiltersEn

abled>F</BypassAvsCvvFiltersEnabled></CardVerification><DailyTransactionSummaryReport><EmailEnabled>F</EmailE

nabled><EmailTime>0</EmailTime></DailyTransactionSummaryReport><CAUEnabled>F</CAUEnabled><CAUMerchantS

enderId></CAUMerchantSenderId></Configuration><Access><DialIn>T</DialIn><BinManagementApi>T</BinManageme

ntApi></Access></Merchant>

</ExtData>

</MerchantResult>

Hyperlink to InfoMerchant Web Service details

AddUser

Hyperlink to AddUser Web Service details

SOAP Request Message:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:ws="http://www.tpisoft.com/Admin/ws">

<soapenv:Header/>

<soapenv:Body>

<ws:AddUser>

<ws:adminUserName>[Admin Username]</ws:adminUserName>

<ws:adminPassword>[Admin Password]</ws:adminPassword>

<ws:partner>130</ws:partner>

<ws:vendor>17282</ws:vendor>

<ws:username>NewUser</ws:username>

<ws:password>NewUser1</ws:password>

<ws:contactFirstName>Jane</ws:contactFirstName>

<ws:contactLastName>Doe</ws:contactLastName>

<ws:contactEmail>[email protected]</ws:contactEmail>

<ws:contactDayPhone>703-481-7000</ws:contactDayPhone>

<ws:contactFax></ws:contactFax>

<ws:contactStreet1>123 East Main</ws:contactStreet1>

<ws:contactStreet2>Suite 100</ws:contactStreet2>

<ws:contactCity>Chantilly</ws:contactCity>

<ws:contactState>VA</ws:contactState>

<ws:contactPostalCode>20151</ws:contactPostalCode>

<ws:contactCountryCode>USA</ws:contactCountryCode>

<ws:userSecurityLevel>3</ws:userSecurityLevel>

<ws:timeZoneOffset>300</ws:timeZoneOffset>

<ws:ExtData></ws:ExtData>

</ws:AddUser>

Page 131: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 131 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

</soapenv:Body>

</soapenv:Envelope>

Response Message:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<soap:Body>

<AddUserResponse xmlns="http://www.tpisoft.com/Admin/ws">

<AddUserResult>

<code>OK</code>

<error>User is created successfully!</error>

<Partner>130</Partner>

<Vendor>17282</Vendor>

<Username>NewUser</Username>

</AddUserResult>

</AddUserResponse>

</soap:Body>

</soap:Envelope>

Hyperlink to AddUser Web Service details

UpdateUser

Hyperlink to UpdateUser Web Service details

SOAP Request Message:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:ws="http://www.tpisoft.com/Admin/ws">

<soapenv:Header/>

<soapenv:Body>

<ws:UpdateUser>

<ws:Username>[Reseller Username]</ws:Username>

<ws:SecureToken>[Reseller Secure Token]</ws:SecureToken>

<ws:VendorKey>130</ws:VendorKey>

<ws:TargetUsername>NewUser</ws:TargetUsername>

<ws:FirstName>Jane</ws:FirstName>

<ws:LastName>Doe</ws:LastName>

<ws:Email>[email protected]</ws:Email>

<ws:Street1>123 East Main</ws:Street1>

<ws:Street2>Suite 100</ws:Street2>

<ws:City>Chantilly</ws:City>

<ws:State>VA</ws:State>

<ws:Zip>20151</ws:Zip>

<ws:Country>USA</ws:Country>

<ws:DayPhone>703-481-7000</ws:DayPhone>

<ws:Fax></ws:Fax>

<ws:Status>1</ws:Status>

<ws:UserSecurityLevel>4</ws:UserSecurityLevel>

<ws:SysSecurityLevel>1</ws:SysSecurityLevel>

<ws:MerchantGroupXml></ws:MerchantGroupXml>

<ws:ExtData></ws:ExtData>

</ws:UpdateUser>

</soapenv:Body>

</soapenv:Envelope>

Response Message:

Page 132: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 132 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<soap:Body>

<UpdateUserResponse xmlns="http://www.tpisoft.com/Admin/ws">

<UpdateUserResult>

<code>OK</code>

<error>OK</error>

</UpdateUserResult>

</UpdateUserResponse>

</soap:Body>

</soap:Envelope>

Hyperlink to UpdateUser Web Service details

InfoUser

Hyperlink to InfoUser Web Service details

SOAP Request Message:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:ws="http://www.tpisoft.com/Admin/ws">

<soapenv:Header/>

<soapenv:Body>

<ws:InfoUser>

<ws:Username>[Reseller Username]</ws:Username>

<ws:SecureToken>[Reseller Secure Token]</ws:SecureToken>

<ws:VendorKey>130</ws:VendorKey>

<ws:TargetUsername>NewUser</ws:TargetUsername>

<ws:ExtData></ws:ExtData>

</ws:InfoUser>

</soapenv:Body>

</soapenv:Envelope>

Response Message:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<soap:Body>

<InfoUserResponse xmlns="http://www.tpisoft.com/Admin/ws">

<InfoUserResult>

<code>OK</code>

<error/>

<FirstName>Jane</FirstName>

<LastName>Doe</LastName>

<Email>[email protected]</Email>

<Street1>123 East Main</Street1>

<Street2>Suite 100</Street2>

<City>Chantilly</City>

<State>VA</State>

<Country>USA</Country>

<DayPhone>703-481-7000</DayPhone>

<Fax/>

<Status>1</Status>

<UserSecurityLevel>4</UserSecurityLevel>

<SysSecurityLevel>1</SysSecurityLevel>

<MerchantGroupXml>&lt;MerchantGroup>&lt;MerchantKey>4&lt;/MerchantKey>&lt;/MerchantGroup></MerchantGro

upXml>

</InfoUserResult>

Page 133: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 133 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

</InfoUserResponse>

</soap:Body>

</soap:Envelope>

Hyperlink to InfoUser Web Service details

InfoCustomer

Hyperlink to InfoCustomer Web Service details

SOAP Request Message:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:ws="http://www.tpisoft.com/Admin/ws">

<soapenv:Header/>

<soapenv:Body>

<ws:InfoCustomer>

<ws:Username>[Reseller Username]</ws:Username>

<ws:SecureToken>[Reseller Secure Token]</ws:SecureToken>

<ws:CustomerKey>1634355</ws:CustomerKey>

<ws:ExtData></ws:ExtData>

</ws:InfoCustomer>

</soapenv:Body>

</soapenv:Envelope>

Response Message:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<soap:Body>

<InfoCustomerResponse xmlns="http://www.tpisoft.com/Admin/ws">

<InfoCustomerResult>

<code>OK</code>

<City>Chantilly</City>

<Country>USA</Country>

<DayPhone>703-481-7000</DayPhone>

<Department/>

<Email>[email protected]</Email>

<Fax/>

<FirstName>Jack</FirstName>

<LastName>Doe</LastName>

<Mobile/>

<NightPhone/>

<State>VA</State>

<Street1>123 East Main</Street1>

<Street2>Suite 200</Street2>

<Street3/>

<Title/>

<Zip>20151</Zip>

<PaymentMethods>&lt;PaymentMethod&gt;&lt;CcType&gt;MASTERCARD&lt;/CcType&gt;&lt;CcZip&gt;20151&lt;/CcZip

&gt;&lt;CcStreet&gt;123 East Main&lt;/CcStreet&gt;&lt;CcNameonCard&gt;Jack

Doe&lt;/CcNameonCard&gt;&lt;CcExpDate&gt;1220&lt;/CcExpDate&gt;&lt;CcAccountNum&gt;************5454&lt;/C

cAccountNum&gt;&lt;CardInfoKey&gt;20039926&lt;/CardInfoKey&gt;&lt;/PaymentMethod&gt;</PaymentMethods>

</InfoCustomerResult>

</InfoCustomerResponse>

</soap:Body>

</soap:Envelope>

Hyperlink to InfoCustomer Web Service details

Page 134: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 134 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

InfoContract

Hyperlink to InfoContract Web Service details

SOAP Request Message:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:ws="http://www.tpisoft.com/Admin/ws">

<soapenv:Header/>

<soapenv:Body>

<ws:InfoContract>

<ws:Username>[API Username]</ws:Username>

<ws:SecureToken>[API Secure Token]</ws:SecureToken>

<ws:CustomerKey>1634355</ws:CustomerKey>

<ws:ExtData></ws:ExtData>

</ws:InfoContract>

</soapenv:Body>

</soapenv:Envelope>

Response Message:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<soap:Body>

<InfoContractResponse xmlns="http://www.tpisoft.com/Admin/ws">

<InfoContractResult>

<code>OK</code>

<City>Chantilly</City>

<Country>USA</Country>

<DayPhone>703-481-7000</DayPhone>

<Department/>

<Email>[email protected]</Email>

<Fax/>

<FirstName>Jack</FirstName>

<LastName>Doe</LastName>

<Mobile/>

<NightPhone/>

<State>VA</State>

<Street1>123 East Main</Street1>

<Street2>Suite 200</Street2>

<Street3/>

<Title/>

<Zip>20151</Zip>

<Contracts/>

</InfoContractResult>

</InfoContractResponse>

</soap:Body>

</soap:Envelope>

Hyperlink to InfoContract Web Service details

GetAPIUser

Hyperlink to GetAPIUser Web Service details

SOAP Request Message:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:ws="http://www.tpisoft.com/Admin/ws">

Page 135: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 135 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

<soapenv:Header/>

<soapenv:Body>

<ws:GetAPIUser>

<ws:userName>[Merchant Username]</ws:userName>

<ws:secureToken>[Merchant Secure Token]</ws:secureToken>

<ws:merchantKey>17282</ws:merchantKey>

</ws:GetAPIUser>

</soapenv:Body>

</soapenv:Envelope>

Response Message:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<soap:Body>

<GetAPIUserResponse xmlns="http://www.tpisoft.com/Admin/ws">

<GetAPIUserResult>

<UserName>NewAPIUser</UserName>

<Password>pG7m8x4JGMnedPzntqtxjaiOYmS7Q2p3yAkwXBzHYESW1i71qZ8rcNlUiLKvLC3K</Password>

<SecurePassword/>

<Domain>17282</Domain>

</GetAPIUserResult>

</GetAPIUserResponse>

</soap:Body>

</soap:Envelope>

Hyperlink to GetAPIUser Web Service details

Login

Hyperlink to Login Web Service details

SOAP Request Message:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:ws="http://www.tpisoft.com/Admin/ws">

<soapenv:Header/>

<soapenv:Body>

<ws:Login>

<ws:Username>[Username]</ws:Username>

<ws:Password>{Password]</ws:Password>

</ws:Login>

</soapenv:Body>

</soapenv:Envelope>

Response Message:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<soap:Body>

<LoginResponse xmlns="http://www.tpisoft.com/Admin/ws">

<LoginResult>

<code>OK</code>

<error>Login Successful</error>

</LoginResult>

</LoginResponse>

</soap:Body>

</soap:Envelope>

Page 136: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 136 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Hyperlink to Login Web Service details

Transact Web Service Examples

GetInfo

Hyperlink to GetInfo Web Service details

SOAP Request Message:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:ws="http://TPISoft.com/SmartPayments/">

<soapenv:Header/>

<soapenv:Body>

<ws:GetInfo>

<ws:UserName>[API Username]</ws:UserName>

<ws:Password>[API Password]</ws:Password>

<ws:TransType>StatusCheck</ws:TransType>

<ws:ExtData/>

</ws:GetInfo>

</soapenv:Body>

</soapenv:Envelope>

Response Message:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<soap:Body>

<GetInfoResponse xmlns="http://TPISoft.com/SmartPayments/">

<GetInfoResult>

<Result>0</Result>

<RespMSG>Approved</RespMSG>

<Message/>

<Message1/>

<Message2/>

<AuthCode/>

<PNRef/>

<HostCode/>

<HostURL/>

<GetGetOrigResult/>

<ExtData>OK</ExtData>

</GetInfoResult>

</GetInfoResponse>

</soap:Body>

</soap:Envelope>

Hyperlink to GetInfo Web Service details

ProcessCash

Hyperlink to ProcessCash Web Service details

SOAP Request Message:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:smar="http://TPISoft.com/SmartPayments/">

<soapenv:Header/>

<soapenv:Body>

Page 137: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 137 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

<ws:ProcessCash>

<ws:UserName>[API Username]</ws:UserName>

<ws:Password>[API Password]</ws:Password>

<ws:TransType>Sale</ws:TransType>

<ws:Amount>1</ws:Amount>

<ws:InvNum></ws:InvNum>

<ws:PNRef></ws:PNRef>

<ws:RegisterNum></ws:RegisterNum>

<ws:ExtData></ws:ExtData>

</ws:ProcessCash>

</soapenv:Body>

</soapenv:Envelope>

Response Message:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<soap:Body>

<ProcessCashResponse xmlns="http://TPISoft.com/SmartPayments/">

<ProcessCashResult>

<Result>0</Result>

<Message>CAPTURED</Message>

<AuthCode>CH3437</AuthCode>

<PNRef>23023437</PNRef>

</ProcessCashResult>

</ProcessCashResponse>

</soap:Body>

</soap:Envelope>

Hyperlink to ProcessCash Web Service details

ProcessCheck

Hyperlink to ProcessCheck Web Service details

SOAP Request Message:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:ws="http://TPISoft.com/SmartPayments/">

<soapenv:Header/>

<soapenv:Body>

<ws:ProcessCheck>

<ws:UserName>[API Username]</ws:UserName>

<ws:Password>[API Password]</ws:Password>

<ws:TransType>Sale</ws:TransType>

<ws:CheckNum>0002</ws:CheckNum>

<ws:TransitNum>111111118</ws:TransitNum>

<ws:AccountNum>123457890</ws:AccountNum>

<ws:Amount>1.00</ws:Amount>

<ws:NameOnCheck>Test Check</ws:NameOnCheck>

<ws:StateCode>VA</ws:StateCode>

<ws:CheckType>Personal</ws:CheckType>

<ws:ExtData>&lt;AccountType&gt;Savings&lt;/AccountType&gt;&lt;SECCType&gt;WEB&lt;/SECCType&gt;&lt;BillToStreet

&gt;3901 Centerview

Drive&lt;/BillToStreet&gt;&lt;BillToCity&gt;Chantilly&lt;/BillToCity&gt;&lt;BillToPostalCode&gt;20151&lt;/BillToPostalCod

e&gt;&lt;Phone&gt;703-481-

7000&lt;/Phone&gt;&lt;AuthOptionForm&gt;SinglePaymentSeries&lt;/AuthOptionForm&gt;</ws:ExtData>

</ws:ProcessCheck>

Page 138: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 138 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

</soapenv:Body>

</soapenv:Envelope>

Response Message:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<soap:Body>

<ProcessCheckResponse xmlns="http://TPISoft.com/SmartPayments/">

<ProcessCheckResult>

<Result>0</Result>

<Message>SUCCESS. The Payment was created successfully</Message>

<Message2>Success</Message2>

<AuthCode>1826409</AuthCode>

<PNRef>23023713</PNRef>

<HostCode>1826409</HostCode>

</ProcessCheckResult>

</ProcessCheckResponse>

</soap:Body>

</soap:Envelope>

Hyperlink to ProcessCheck Web Service details

ProcessCreditCard

Hyperlink to ProcessCreditCard Web Service details

SOAP Request Message:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:ws="http://TPISoft.com/SmartPayments/">

<soapenv:Header/>

<soapenv:Body>

<ws:ProcessCreditCard>

<ws:UserName>[API Username]</ws:UserName>

<ws:Password>[API Password]</ws:Password>

<ws:TransType>Sale</ws:TransType>

<ws:CardNum>5454545454545454</ws:CardNum>

<ws:ExpDate>1225</ws:ExpDate>

<ws:MagData>;5454545454545454=25122010123409172000?</ws:MagData>

<ws:NameOnCard/>

<ws:Amount>1.00</ws:Amount>

<ws:InvNum/>

<ws:PNRef/>

<ws:Zip/>

<ws:Street/>

<ws:CVNum/>

<ws:ExtData>&lt;EntryMode&gt;MagneticStripe&lt;/EntryMode&gt;</ws:ExtData>

</ws:ProcessCreditCard>

</soapenv:Body>

</soapenv:Envelope>

Response Message:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<soap:Body>

Page 139: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 139 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

<ProcessCreditCardResponse xmlns="http://TPISoft.com/SmartPayments/">

<ProcessCreditCardResult>

<Result>0</Result>

<RespMSG>Approved</RespMSG>

<Message>APPROVED</Message>

<Message1/>

<Message2/>

<AuthCode>195162</AuthCode>

<PNRef>23023837</PNRef>

<HostCode>00000000</HostCode>

<HostURL/>

<GetGetOrigResult/>

<GetCommercialCard>False</GetCommercialCard>

<ExtData>CardType=MASTERCARD,BatchNum=000000,BatchNum=000000&lt;BatchNum>000000&lt;/BatchNum></Ext

Data>

</ProcessCreditCardResult>

</ProcessCreditCardResponse>

</soap:Body>

</soap:Envelope>

Hyperlink to ProcessCreditCard Web Service details

ProcessDebitCard

Hyperlink to ProcessDebitCard Web Service details

SOAP Request Message: TBA

Response Message: TBA

Cardsafe Web Service Examples

StoreCard

Hyperlink to StoreCard Web Service details

SOAP Request Message:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://pmn.payment-

gate.net/ws/">

<soapenv:Header/>

<soapenv:Body>

<ws:StoreCard>

<ws:UserName>[API Username]</ws:UserName>

<ws:Password>[API Password]</ws:Password>

<ws:TokenMode>DEFAULT</ws:TokenMode>

<ws:CardNum>5454545454545454</ws:CardNum>

<ws:ExpDate>1225</ws:ExpDate>

<ws:CustomerKey>0001</ws:CustomerKey>

<ws:NameOnCard>John Doe</ws:NameOnCard>

<ws:Street></ws:Street>

<ws:Zip></ws:Zip>

<ws:ExtData></ws:ExtData>

</ws:StoreCard>

</soapenv:Body>

</soapenv:Envelope>

Page 140: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 140 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Response Message:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<soap:Body>

<StoreCardResponse xmlns="http://pmn.payment-gate.net/ws/">

<StoreCardResult>

<Result>0</Result>

<RespMSG>Token generated successfully</RespMSG>

<AuthCode/>

<ExtData>&lt;CardSafeToken> 19927618&lt;/CardSafeToken></ExtData>

</StoreCardResult>

</StoreCardResponse>

</soap:Body>

</soap:Envelope>

ProcessCreditCard

Hyperlink to ProcessCreditCard Web Service details

SOAP Request Message:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://pmn.payment-

gate.net/ws/">

<soapenv:Header/>

<soapenv:Body>

<ws:ProcessCreditCard>

<ws:UserName>[API Username]</ws:UserName>

<ws:Password>[API Password]</ws:Password>

<ws:TransType>Sale</ws:TransType>

<ws:CardToken>19927618</ws:CardToken>

<ws:TokenMode>DEFAULT</ws:TokenMode>

<ws:Amount>1.00</ws:Amount>

<ws:InvNum></ws:InvNum>

<ws:PNRef></ws:PNRef>

<ws:ExtData>&lt;CVNum&gt;123&lt;/CVNum&gt;</ws:ExtData>

</ws:ProcessCreditCard>

</soapenv:Body>

</soapenv:Envelope>

Response Message:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<soap:Body>

<ProcessCreditCardResponse xmlns="http://pmn.payment-gate.net/ws/">

<ProcessCreditCardResult>

<Result>0</Result>

<RespMSG>Approved</RespMSG>

<Message>APPROVED</Message>

<Message1/>

<Message2/>

<AuthCode>195037</AuthCode>

<PNRef>23035255</PNRef>

<HostCode>00000000</HostCode>

Page 141: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 141 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

<HostURL/>

<GetCVResult>N</GetCVResult>

<GetCVResultTXT>No Match</GetCVResultTXT>

<GetGetOrigResult/>

<GetCommercialCard>False</GetCommercialCard>

<ExtData>CardType=MASTERCARD,BatchNum=000000,BatchNum=000000&lt;BatchNum&gt;000000&lt;/BatchNum&g

t;&lt;CardType&gt;MASTERCARD&lt;/CardType&gt;&lt;LastFour&gt;5454&lt;/LastFour&gt;&lt;ExpDate&gt;1220&lt;/Exp

Date&gt;</ExtData>

</ProcessCreditCardResult>

</ProcessCreditCardResponse>

</soap:Body>

</soap:Envelope>

Recurring Web Service Examples

ManageCustomer (ADD)

Hyperlink to ManageCustomer Web Service details

SOAP Request Message:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:ws="http://www.tpisoft.com/Admin/ws">

<soapenv:Header/>

<soapenv:Body>

<ws:ManageCustomer>

<ws:UserName>[API Username]</ws:UserName>

<ws:Password>[API Password]</ws:Password>

<ws:TransType>ADD</ws:TransType>

<ws:Vendor>17198</ws:Vendor>

<ws:CustomerKey></ws:CustomerKey>

<ws:CustomerID>0003</ws:CustomerID>

<ws:CustomerName>ApiTes2t</ws:CustomerName>

<ws:FirstName>Api</ws:FirstName>

<ws:LastName>Test2</ws:LastName>

<ws:Title></ws:Title>

<ws:Department></ws:Department>

<ws:Street1></ws:Street1>

<ws:Street2></ws:Street2>

<ws:Street3></ws:Street3>

<ws:City></ws:City>

<ws:StateID></ws:StateID>

<ws:Province></ws:Province>

<ws:Zip></ws:Zip>

<ws:CountryID></ws:CountryID>

<ws:Email></ws:Email>

<ws:DayPhone></ws:DayPhone>

<ws:NightPhone></ws:NightPhone>

<ws:Fax></ws:Fax>

<ws:Mobile></ws:Mobile>

<ws:Status></ws:Status>

<ws:ExtData></ws:ExtData>

</ws:ManageCustomer>

</soapenv:Body>

</soapenv:Envelope>

Response Message:

Page 142: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 142 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<soap:Body>

<ManageCustomerResponse xmlns="http://www.tpisoft.com/Admin/ws">

<ManageCustomerResult>

<CustomerKey>1672974</CustomerKey>

<code>OK</code>

<error>OK</error>

<Partner/>

<Vendor>17198</Vendor>

<Username>gate9376</Username>

</ManageCustomerResult>

</ManageCustomerResponse>

</soap:Body>

</soap:Envelope>

ManageCustomer (UPDATE)

Hyperlink to ManageCustomer Web Service details

SOAP Request Message:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:ws="http://www.tpisoft.com/Admin/ws">

<soapenv:Header/>

<soapenv:Body>

<ws:ManageCustomer>

<ws:UserName>[API Username]</ws:UserName>

<ws:Password>[API Password]</ws:Password>

<ws:TransType>UPDATE</ws:TransType>

<ws:Vendor>17198</ws:Vendor>

<ws:CustomerKey>1672974</ws:CustomerKey>

<ws:CustomerID>0003</ws:CustomerID>

<ws:CustomerName>ApiTes2t</ws:CustomerName>

<ws:FirstName>Api</ws:FirstName>

<ws:LastName>Test2</ws:LastName>

<ws:Title></ws:Title>

<ws:Department></ws:Department>

<ws:Street1>123 East Main Street</ws:Street1>

<ws:Street2>Suite 100</ws:Street2>

<ws:Street3></ws:Street3>

<ws:City>Chantilly</ws:City>

<ws:StateID>VA</ws:StateID>

<ws:Province></ws:Province>

<ws:Zip>20151</ws:Zip>

<ws:CountryID></ws:CountryID>

<ws:Email>[email protected]</ws:Email>

<ws:DayPhone>703-481-7000</ws:DayPhone>

<ws:NightPhone></ws:NightPhone>

<ws:Fax></ws:Fax>

<ws:Mobile></ws:Mobile>

<ws:Status></ws:Status>

<ws:ExtData></ws:ExtData>

</ws:ManageCustomer>

</soapenv:Body>

</soapenv:Envelope>

Page 143: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 143 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Response Message:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<soap:Body>

<ManageCustomerResponse xmlns="http://www.tpisoft.com/Admin/ws">

<ManageCustomerResult>

<CustomerKey>1672974</CustomerKey>

<code>OK</code>

<error>OK</error>

<Partner/>

<Vendor>17198</Vendor>

<Username>gate9376</Username>

</ManageCustomerResult>

</ManageCustomerResponse>

</soap:Body>

</soap:Envelope>

ManageCustomer (DELETE)

Hyperlink to ManageCustomer Web Service details

SOAP Request Message:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:ws="http://www.tpisoft.com/Admin/ws">

<soapenv:Header/>

<soapenv:Body>

<ws:ManageCustomer>

<ws:UserName>[API Username]</ws:UserName>

<ws:Password>[API Password]</ws:Password>

<ws:TransType>DELETE</ws:TransType>

<ws:Vendor>17198</ws:Vendor>

<ws:CustomerKey>1672995</ws:CustomerKey>

<ws:ExtData></ws:ExtData>

</ws:ManageCustomer>

</soapenv:Body>

</soapenv:Envelope>

Response Message:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<soap:Body>

<ManageCustomerResponse xmlns="http://www.tpisoft.com/Admin/ws">

<ManageCustomerResult>

<CustomerKey>1672995</CustomerKey>

<code>OK</code>

<error>OK</error>

<Partner/>

<Vendor>17198</Vendor>

<Username>gate9376</Username>

</ManageCustomerResult>

</ManageCustomerResponse>

</soap:Body>

</soap:Envelope>

Page 144: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 144 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

ManageCheckInfo (ADD)

Hyperlink to ManageCheckInfo Web Service details

SOAP Request Message:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:ws="http://www.tpisoft.com/Admin/ws">

<soapenv:Header/>

<soapenv:Body>

<ws:ManageCheckInfo>

<ws:UserName>[API Username]</ws:UserName>

<ws:Password>[API Password]</ws:Password>

<ws:TransType>ADD</ws:TransType>

<ws:Vendor>17198</ws:Vendor>

<ws:CustomerKey>1673117</ws:CustomerKey>

<ws:CheckInfoKey></ws:CheckInfoKey>

<ws:CheckType>PERSONAL</ws:CheckType>

<ws:AccountType>CHECKING</ws:AccountType>

<ws:CheckNum></ws:CheckNum>

<ws:MICR></ws:MICR>

<ws:AccountNum>1234567890</ws:AccountNum>

<ws:TransitNum>111111118</ws:TransitNum>

<ws:RawMICR></ws:RawMICR>

<ws:SS></ws:SS>

<ws:DOB></ws:DOB>

<ws:BranchCity></ws:BranchCity>

<ws:DL></ws:DL>

<ws:StateCode></ws:StateCode>

<ws:NameOnCheck></ws:NameOnCheck>

<ws:Email></ws:Email>

<ws:DayPhone></ws:DayPhone>

<ws:Street1></ws:Street1>

<ws:Street2></ws:Street2>

<ws:Street3></ws:Street3>

<ws:City></ws:City>

<ws:StateID></ws:StateID>

<ws:Province></ws:Province>

<ws:PostalCode></ws:PostalCode>

<ws:CountryID></ws:CountryID>

<ws:ExtData>&lt;SECCType&gt;CCD&lt;/SECCType&gt;&lt;AuthOptionForm&gt;UntilRevoked&lt;/AuthOptionForm&gt;</

ws:ExtData>

</ws:ManageCheckInfo>

</soapenv:Body>

</soapenv:Envelope>

Response Message:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<soap:Body>

<ManageCheckInfoResponse xmlns="http://www.tpisoft.com/Admin/ws">

<ManageCheckInfoResult>

<CustomerKey>1673117</CustomerKey>

<ContractKey/>

<CcInfoKey/>

Page 145: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 145 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

<CheckInfoKey>2928</CheckInfoKey>

<code>OK</code>

<error>OK</error>

<Partner>130</Partner>

<Vendor>17198</Vendor>

<Username>gate9376</Username>

</ManageCheckInfoResult>

</ManageCheckInfoResponse>

</soap:Body>

</soap:Envelope>

ManageCheckInfo (UPDATE)

Hyperlink to ManageCheckInfo Web Service details

SOAP Request Message:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:ws="http://www.tpisoft.com/Admin/ws">

<soapenv:Header/>

<soapenv:Body>

<ws:ManageCheckInfo>

<ws:UserName>[API Username]</ws:UserName>

<ws:Password>[API Password]</ws:Password>

<ws:TransType>UPDATE</ws:TransType>

<ws:Vendor>17198</ws:Vendor>

<ws:CustomerKey>1673117</ws:CustomerKey>

<ws:CheckInfoKey>2928</ws:CheckInfoKey>

<ws:CheckType>PERSONAL</ws:CheckType>

<ws:AccountType>CHECKING</ws:AccountType>

<ws:CheckNum>1</ws:CheckNum>

<ws:MICR></ws:MICR>

<ws:AccountNum>1234567890</ws:AccountNum>

<ws:TransitNum>111111118</ws:TransitNum>

<ws:RawMICR></ws:RawMICR>

<ws:SS>999-99-9999</ws:SS>

<ws:DOB>01/01/1963</ws:DOB>

<ws:BranchCity></ws:BranchCity>

<ws:DL>123456789</ws:DL>

<ws:StateCode>VA</ws:StateCode>

<ws:NameOnCheck>Jack Doe</ws:NameOnCheck>

<ws:Email>[email protected]</ws:Email>

<ws:DayPhone>703-555-1212</ws:DayPhone>

<ws:Street1>123 East Main Street</ws:Street1>

<ws:Street2>Suite 200</ws:Street2>

<ws:Street3></ws:Street3>

<ws:City>Chantilly</ws:City>

<ws:StateID>VA</ws:StateID>

<ws:Province></ws:Province>

<ws:PostalCode>20151</ws:PostalCode>

<ws:CountryID></ws:CountryID>

<ws:ExtData>&lt;SECCType&gt;CCD&lt;/SECCType&gt;&lt;AuthOptionForm&gt;UntilRevoked&lt;/AuthOptionForm&gt;</

ws:ExtData>

</ws:ManageCheckInfo>

</soapenv:Body>

</soapenv:Envelope>

Page 146: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 146 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Response Message:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<soap:Body>

<ManageCheckInfoResponse xmlns="http://www.tpisoft.com/Admin/ws">

<ManageCheckInfoResult>

<CustomerKey>1673117</CustomerKey>

<ContractKey/>

<CcInfoKey/>

<CheckInfoKey>2928</CheckInfoKey>

<code>OK</code>

<error>OK</error>

<Partner>130</Partner>

<Vendor>17198</Vendor>

<Username>gate9376</Username>

</ManageCheckInfoResult>

</ManageCheckInfoResponse>

</soap:Body>

</soap:Envelope>

ManageCheckInfo (DELETE)

Hyperlink to ManageCheckInfo Web Service details

SOAP Request Message:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:ws="http://www.tpisoft.com/Admin/ws">

<soapenv:Header/>

<soapenv:Body>

<ws:ManageCheckInfo>

<ws:UserName>[API Username]</ws:UserName>

<ws:Password>[API Password]</ws:Password>

<ws:TransType>DELETE</ws:TransType>

<ws:Vendor>17198</ws:Vendor>

<ws:CustomerKey>1673117</ws:CustomerKey>

<ws:CheckInfoKey>2929</ws:CheckInfoKey>

<ws:ExtData></ws:ExtData>

</ws:ManageCheckInfo>

</soapenv:Body>

</soapenv:Envelope>

Response Message:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<soap:Body>

<ManageCheckInfoResponse xmlns="http://www.tpisoft.com/Admin/ws">

<ManageCheckInfoResult>

<CustomerKey>1673117</CustomerKey>

<ContractKey/>

<CcInfoKey/>

<CheckInfoKey>2929</CheckInfoKey>

<code>OK</code>

<error>OK</error>

Page 147: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 147 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

<Partner>130</Partner>

<Vendor>17198</Vendor>

<Username>gate9376</Username>

</ManageCheckInfoResult>

</ManageCheckInfoResponse>

</soap:Body>

</soap:Envelope>

ManageCreditCardInfo (ADD)

Hyperlink to ManageCreditCardInfo Web Service details

SOAP Request Message:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:ws="http://www.tpisoft.com/Admin/ws">

<soapenv:Header/>

<soapenv:Body>

<ws:ManageCreditCardInfo>

<ws:UserName>[API Username]</ws:UserName>

<ws:Password>[API Password]</ws:Password>

<ws:TransType>ADD</ws:TransType>

<ws:Vendor>17198</ws:Vendor>

<ws:CustomerKey>1673117</ws:CustomerKey>

<ws:CardInfoKey></ws:CardInfoKey>

<ws:CcAccountNum>5454545454545454</ws:CcAccountNum>

<ws:CcExpDate>1220</ws:CcExpDate>

<ws:CcNameOnCard></ws:CcNameOnCard>

<ws:CcStreet></ws:CcStreet>

<ws:CcZip></ws:CcZip>

<ws:ExtData></ws:ExtData>

</ws:ManageCreditCardInfo>

</soapenv:Body>

</soapenv:Envelope>

Response Message:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<soap:Body>

<ManageCreditCardInfoResponse xmlns="http://www.tpisoft.com/Admin/ws">

<ManageCreditCardInfoResult>

<CustomerKey>1673117</CustomerKey>

<ContractKey/>

<CcInfoKey>20281232</CcInfoKey>

<CheckInfoKey/>

<code>OK</code>

<error>OK</error>

<Partner>130</Partner>

<Vendor>17198</Vendor>

<Username>gate9376</Username>

</ManageCreditCardInfoResult>

</ManageCreditCardInfoResponse>

</soap:Body>

</soap:Envelope>

Page 148: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 148 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

ManageCreditCardInfo (UPDATE)

Hyperlink to ManageCreditCardInfo Web Service details

SOAP Request Message:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:ws="http://www.tpisoft.com/Admin/ws">

<soapenv:Header/>

<soapenv:Body>

<ws:ManageCreditCardInfo>

<ws:UserName>[API Username]</ws:UserName>

<ws:Password>[API Password]</ws:Password>

<ws:TransType>UPDATE</ws:TransType>

<ws:Vendor>17198</ws:Vendor>

<ws:CustomerKey>1673117</ws:CustomerKey>

<ws:CardInfoKey>20281232</ws:CardInfoKey>

<ws:CcAccountNum>5454545454545454</ws:CcAccountNum>

<ws:CcExpDate>1220</ws:CcExpDate>

<ws:CcNameOnCard>Jack Doe</ws:CcNameOnCard>

<ws:CcStreet>123 East Main Street</ws:CcStreet>

<ws:CcZip>20151</ws:CcZip>

<ws:ExtData></ws:ExtData>

</ws:ManageCreditCardInfo>

</soapenv:Body>

</soapenv:Envelope>

Response Message:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<soap:Body>

<ManageCreditCardInfoResponse xmlns="http://www.tpisoft.com/Admin/ws">

<ManageCreditCardInfoResult>

<CustomerKey>1673117</CustomerKey>

<ContractKey/>

<CcInfoKey>20281232</CcInfoKey>

<CheckInfoKey/>

<code>OK</code>

<error>OK</error>

<Partner>130</Partner>

<Vendor>17198</Vendor>

<Username>gate9376</Username>

</ManageCreditCardInfoResult>

</ManageCreditCardInfoResponse>

</soap:Body>

</soap:Envelope>

ManageCreditCardInfo (DELETE)

Hyperlink to ManageCreditCardInfo Web Service details

SOAP Request Message:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:ws="http://www.tpisoft.com/Admin/ws">

<soapenv:Header/>

Page 149: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 149 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

<soapenv:Body>

<ws:ManageCreditCardInfo>

<ws:UserName>[API Username]</ws:UserName>

<ws:Password>[API Password]</ws:Password>

<ws:TransType>DELETE</ws:TransType>

<ws:Vendor>17198</ws:Vendor>

<ws:CustomerKey>1673117</ws:CustomerKey>

<ws:CardInfoKey>20281325</ws:CardInfoKey>

<ws:ExtData></ws:ExtData>

</ws:ManageCreditCardInfo>

</soapenv:Body>

</soapenv:Envelope>

Response Message:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<soap:Body>

<ManageCreditCardInfoResponse xmlns="http://www.tpisoft.com/Admin/ws">

<ManageCreditCardInfoResult>

<CustomerKey>1673117</CustomerKey>

<ContractKey/>

<CcInfoKey>20281325</CcInfoKey>

<CheckInfoKey/>

<code>OK</code>

<error>OK</error>

<Partner>130</Partner>

<Vendor>17198</Vendor>

<Username>gate9376</Username>

</ManageCreditCardInfoResult>

</ManageCreditCardInfoResponse>

</soap:Body>

</soap:Envelope>

UpdateContractSettings

Hyperlink to UpdateContractSettings Web Service details

SOAP Request Message:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:ws="http://www.tpisoft.com/Admin/ws">

<soapenv:Header/>

<soapenv:Body>

<ws:UpdateContractSettings>

<ws:UserName>[API Username]</ws:UserName>

<ws:Password>[API Password]</ws:Password>

<ws:Vendor>17198</ws:Vendor>

<ws:MaxFailures>2</ws:MaxFailures>

<ws:FailureInterval>1</ws:FailureInterval>

<ws:ExtData>&lt;Contract&gt;&lt;Configuration&gt;&lt;FailureRetryResultCode&gt;&lt;RC&gt;12&lt;/RC&gt;&lt;RC&gt;13

&lt;/RC&gt;&lt;/FailureRetryResultCode&gt;&lt;MaxBillingCycleRetry&gt;1&lt;/MaxBillingCycleRetry&gt;&lt;RecurringBilli

ngSettings&gt;&lt;ForceMaxFailure&gt;True&lt;/ForceMaxFailure&gt;&lt;ForceFailureInterval&gt;True&lt;/ForceFailureInt

erval&gt;&lt;ForceFailureRetryResultCode&gt;True&lt;/ForceFailureRetryResultCode&gt;&lt;ForceMaxBillingCycleRetry&

gt;True&lt;/ForceMaxBillingCycleRetry&gt;&lt;/RecurringBillingSettings&gt;&lt;/Configuration&gt;&lt;/Contract&gt;</ws:E

xtData>

</ws:UpdateContractSettings>

Page 150: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 150 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

</soapenv:Body>

</soapenv:Envelope>

Response Message:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<soap:Body>

<UpdateContractSettingsResponse xmlns="http://www.tpisoft.com/Admin/ws">

<UpdateContractSettingsResult>

<CustomerKey/>

<ContractKey/>

<CcInfoKey/>

<CheckInfoKey/>

<code>OK</code>

<error>OK</error>

<Partner/>

<Vendor>17198</Vendor>

<Username>gate9376</Username>

<Message>Merchant recurring billing setting(s) and all of the existing contracts have been Updated.</Message>

</UpdateContractSettingsResult>

</UpdateContractSettingsResponse>

</soap:Body>

</soap:Envelope>

ManageContract (Check ADD)

Hyperlink to ManageContract Web Service details

SOAP Request Message:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:ws="http://www.tpisoft.com/Admin/ws">

<soapenv:Header/>

<soapenv:Body>

<ws:ManageContract>

<ws:UserName>[API Username]</ws:UserName>

<ws:Password>[API Password]</ws:Password>

<ws:TransType>ADD</ws:TransType>

<ws:Vendor>17198</ws:Vendor>

<ws:CustomerKey>1673117</ws:CustomerKey>

<ws:ContractKey></ws:ContractKey>

<ws:PaymentInfoKey>2928</ws:PaymentInfoKey>

<ws:PaymentType>CK</ws:PaymentType>

<ws:CustomerID></ws:CustomerID>

<ws:CustomerName></ws:CustomerName>

<ws:FirstName></ws:FirstName>

<ws:LastName></ws:LastName>

<ws:Title></ws:Title>

<ws:Department></ws:Department>

<ws:Street1></ws:Street1>

<ws:Street2></ws:Street2>

<ws:Street3></ws:Street3>

<ws:City></ws:City>

<ws:StateID></ws:StateID>

<ws:Province></ws:Province>

Page 151: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 151 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

<ws:Zip></ws:Zip>

<ws:CountryID></ws:CountryID>

<ws:Email></ws:Email>

<ws:DayPhone></ws:DayPhone>

<ws:NightPhone></ws:NightPhone>

<ws:Fax></ws:Fax>

<ws:Mobile></ws:Mobile>

<ws:ContractID>1203</ws:ContractID>

<ws:ContractName>ApiTest3 CK Contract</ws:ContractName>

<ws:BillAmt>5</ws:BillAmt>

<ws:TaxAmt>0</ws:TaxAmt>

<ws:TotalAmt>100</ws:TotalAmt>

<ws:StartDate>11/08/2016</ws:StartDate>

<ws:EndDate>03/08/2017</ws:EndDate>

<ws:NextBillDt>11/08/2016</ws:NextBillDt>

<ws:BillingPeriod>WEEK</ws:BillingPeriod>

<ws:BillingInterval>1</ws:BillingInterval>

<ws:MaxFailures></ws:MaxFailures>

<ws:FailureInterval></ws:FailureInterval>

<ws:EmailCustomer></ws:EmailCustomer>

<ws:EmailMerchant></ws:EmailMerchant>

<ws:EmailCustomerFailure></ws:EmailCustomerFailure>

<ws:EmailMerchantFailure></ws:EmailMerchantFailure>

<ws:Status></ws:Status>

<ws:ExtData></ws:ExtData>

</ws:ManageContract>

</soapenv:Body>

</soapenv:Envelope>

Response Message:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<soap:Body>

<ManageContractResponse xmlns="http://www.tpisoft.com/Admin/ws">

<ManageContractResult>

<CustomerKey>1673117</CustomerKey>

<ContractKey>56668</ContractKey>

<CcInfoKey/>

<CheckInfoKey>2928</CheckInfoKey>

<code>OK</code>

<error>OK</error>

<Partner>130</Partner>

<Vendor>17198</Vendor>

<Username>gate9376</Username>

<Message>Merchant has enabled Force Recurring Billing Settings option. Default recurring settings are applied to the

contract.</Message>

</ManageContractResult>

</ManageContractResponse>

</soap:Body>

</soap:Envelope>

ManageContract (Check UPDATE)

Hyperlink to ManageContract Web Service details

SOAP Request Message:

Page 152: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 152 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:ws="http://www.tpisoft.com/Admin/ws">

<soapenv:Header/>

<soapenv:Body>

<ws:ManageContract>

<ws:UserName>[API Username]</ws:UserName>

<ws:Password>[API Password]</ws:Password>

<ws:TransType>UPDATE</ws:TransType>

<ws:Vendor>17198</ws:Vendor>

<ws:CustomerKey>1673117</ws:CustomerKey>

<ws:ContractKey>56668</ws:ContractKey>

<ws:PaymentInfoKey>2928</ws:PaymentInfoKey>

<ws:PaymentType>CK</ws:PaymentType>

<ws:CustomerID></ws:CustomerID>

<ws:CustomerName></ws:CustomerName>

<ws:FirstName></ws:FirstName>

<ws:LastName></ws:LastName>

<ws:Title></ws:Title>

<ws:Department></ws:Department>

<ws:Street1></ws:Street1>

<ws:Street2></ws:Street2>

<ws:Street3></ws:Street3>

<ws:City></ws:City>

<ws:StateID></ws:StateID>

<ws:Province></ws:Province>

<ws:Zip></ws:Zip>

<ws:CountryID></ws:CountryID>

<ws:Email></ws:Email>

<ws:DayPhone></ws:DayPhone>

<ws:NightPhone></ws:NightPhone>

<ws:Fax></ws:Fax>

<ws:Mobile></ws:Mobile>

<ws:ContractID>1203</ws:ContractID>

<ws:ContractName>ApiTest3 CK Contract</ws:ContractName>

<ws:BillAmt>5</ws:BillAmt>

<ws:TaxAmt>0</ws:TaxAmt>

<ws:TotalAmt>100</ws:TotalAmt>

<ws:StartDate>11/08/2016</ws:StartDate>

<ws:EndDate>03/08/2017</ws:EndDate>

<ws:NextBillDt>11/08/2016</ws:NextBillDt>

<ws:BillingPeriod>WEEK</ws:BillingPeriod>

<ws:BillingInterval>1</ws:BillingInterval>

<ws:MaxFailures></ws:MaxFailures>

<ws:FailureInterval></ws:FailureInterval>

<ws:EmailCustomer>True</ws:EmailCustomer>

<ws:EmailMerchant>True</ws:EmailMerchant>

<ws:EmailCustomerFailure>True</ws:EmailCustomerFailure>

<ws:EmailMerchantFailure>True</ws:EmailMerchantFailure>

<ws:Status></ws:Status>

<ws:ExtData></ws:ExtData>

</ws:ManageContract>

</soapenv:Body>

</soapenv:Envelope>

Response Message:

Page 153: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 153 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<soap:Body>

<ManageContractResponse xmlns="http://www.tpisoft.com/Admin/ws">

<ManageContractResult>

<CustomerKey>1673117</CustomerKey>

<ContractKey>56668</ContractKey>

<CcInfoKey/>

<CheckInfoKey>2928</CheckInfoKey>

<code>OK</code>

<error>OK</error>

<Partner>130</Partner>

<Vendor>17198</Vendor>

<Username>gate9376</Username>

<Message>Merchant has enabled Force Recurring Billing Settings option. Default recurring settings are applied to the

contract.</Message>

</ManageContractResult>

</ManageContractResponse>

</soap:Body>

</soap:Envelope>

ManageContract (Check DELETE)

Hyperlink to ManageContract Web Service details

SOAP Request Message:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:ws="http://www.tpisoft.com/Admin/ws">

<soapenv:Header/>

<soapenv:Body>

<ws:ManageContract>

<ws:UserName>[API Username]</ws:UserName>

<ws:Password>[API Password]</ws:Password>

<ws:TransType>DELETE</ws:TransType>

<ws:Vendor>17198</ws:Vendor>

<ws:CustomerKey>1673117</ws:CustomerKey>

<ws:ContractKey>56671</ws:ContractKey>

<ws:PaymentInfoKey>2928</ws:PaymentInfoKey>

<ws:PaymentType>CK</ws:PaymentType>

<ws:ContractID>1403</ws:ContractID>

<ws:ExtData></ws:ExtData>

</ws:ManageContract>

</soapenv:Body>

</soapenv:Envelope>

Response Message:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<soap:Body>

<ManageContractResponse xmlns="http://www.tpisoft.com/Admin/ws">

<ManageContractResult>

<CustomerKey>1673117</CustomerKey>

<ContractKey>56671</ContractKey>

<CcInfoKey/>

<CheckInfoKey>-1</CheckInfoKey>

Page 154: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 154 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

<code>OK</code>

<error>OK</error>

<Partner>130</Partner>

<Vendor>17198</Vendor>

<Username>gate9376</Username>

<Message>Merchant has enabled Force Recurring Billing Settings option. Default recurring settings are applied to the

contract.</Message>

</ManageContractResult>

</ManageContractResponse>

</soap:Body>

</soap:Envelope>

ManageContract (CreditCard ADD)

Hyperlink to ManageContract Web Service details

SOAP Request Message:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:ws="http://www.tpisoft.com/Admin/ws">

<soapenv:Header/>

<soapenv:Body>

<ws:ManageContract>

<ws:UserName>[API Username]</ws:UserName>

<ws:Password>[API Password]</ws:Password>

<ws:TransType>ADD</ws:TransType>

<ws:Vendor>17198</ws:Vendor>

<ws:CustomerKey>1673117</ws:CustomerKey>

<ws:ContractKey></ws:ContractKey>

<ws:PaymentInfoKey>20281232</ws:PaymentInfoKey>

<ws:PaymentType>CC</ws:PaymentType>

<ws:CustomerID></ws:CustomerID>

<ws:CustomerName></ws:CustomerName>

<ws:FirstName></ws:FirstName>

<ws:LastName></ws:LastName>

<ws:Title></ws:Title>

<ws:Department></ws:Department>

<ws:Street1></ws:Street1>

<ws:Street2></ws:Street2>

<ws:Street3></ws:Street3>

<ws:City></ws:City>

<ws:StateID></ws:StateID>

<ws:Province></ws:Province>

<ws:Zip></ws:Zip>

<ws:CountryID></ws:CountryID>

<ws:Email></ws:Email>

<ws:DayPhone></ws:DayPhone>

<ws:NightPhone></ws:NightPhone>

<ws:Fax></ws:Fax>

<ws:Mobile></ws:Mobile>

<ws:ContractID>1103</ws:ContractID>

<ws:ContractName>ApiTest3 CC Contract</ws:ContractName>

<ws:BillAmt>5</ws:BillAmt>

<ws:TaxAmt>0</ws:TaxAmt>

<ws:TotalAmt>100</ws:TotalAmt>

<ws:StartDate>11/08/2016</ws:StartDate>

<ws:EndDate>11/28/2016</ws:EndDate>

Page 155: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 155 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

<ws:NextBillDt>11/08/2016</ws:NextBillDt>

<ws:BillingPeriod>DAY</ws:BillingPeriod>

<ws:BillingInterval>1</ws:BillingInterval>

<ws:MaxFailures></ws:MaxFailures>

<ws:FailureInterval></ws:FailureInterval>

<ws:EmailCustomer></ws:EmailCustomer>

<ws:EmailMerchant></ws:EmailMerchant>

<ws:EmailCustomerFailure></ws:EmailCustomerFailure>

<ws:EmailMerchantFailure></ws:EmailMerchantFailure>

<ws:Status></ws:Status>

<ws:ExtData></ws:ExtData>

</ws:ManageContract>

</soapenv:Body>

</soapenv:Envelope>

Response Message:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<soap:Body>

<ManageContractResponse xmlns="http://www.tpisoft.com/Admin/ws">

<ManageContractResult>

<CustomerKey>1673117</CustomerKey>

<ContractKey>56667</ContractKey>

<CcInfoKey>20281232</CcInfoKey>

<CheckInfoKey/>

<code>OK</code>

<error>OK</error>

<Partner>130</Partner>

<Vendor>17198</Vendor>

<Username>gate9376</Username>

<Message>Merchant has enabled Force Recurring Billing Settings option. Default recurring settings are applied to the

contract.</Message>

</ManageContractResult>

</ManageContractResponse>

</soap:Body>

</soap:Envelope>

ManageContract (CreditCard UPDATE)

Hyperlink to ManageContract Web Service details

SOAP Request Message:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:ws="http://www.tpisoft.com/Admin/ws">

<soapenv:Header/>

<soapenv:Body>

<ws:ManageContract>

<ws:UserName>[API Username]</ws:UserName>

<ws:Password>[API Password]</ws:Password>

<ws:TransType>UPDATE</ws:TransType>

<ws:Vendor>17198</ws:Vendor>

<ws:CustomerKey>1673117</ws:CustomerKey>

<ws:ContractKey>56667</ws:ContractKey>

<ws:PaymentInfoKey>20281232</ws:PaymentInfoKey>

<ws:PaymentType>CC</ws:PaymentType>

Page 156: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 156 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

<ws:CustomerID></ws:CustomerID>

<ws:CustomerName></ws:CustomerName>

<ws:FirstName></ws:FirstName>

<ws:LastName></ws:LastName>

<ws:Title></ws:Title>

<ws:Department></ws:Department>

<ws:Street1></ws:Street1>

<ws:Street2></ws:Street2>

<ws:Street3></ws:Street3>

<ws:City></ws:City>

<ws:StateID></ws:StateID>

<ws:Province></ws:Province>

<ws:Zip></ws:Zip>

<ws:CountryID></ws:CountryID>

<ws:Email></ws:Email>

<ws:DayPhone></ws:DayPhone>

<ws:NightPhone></ws:NightPhone>

<ws:Fax></ws:Fax>

<ws:Mobile></ws:Mobile>

<ws:ContractID>1103</ws:ContractID>

<ws:ContractName>ApiTest3 CC Contract</ws:ContractName>

<ws:BillAmt>10</ws:BillAmt>

<ws:TaxAmt>0</ws:TaxAmt>

<ws:TotalAmt>200</ws:TotalAmt>

<ws:StartDate>11/08/2016</ws:StartDate>

<ws:EndDate>11/28/2016</ws:EndDate>

<ws:NextBillDt>11/08/2016</ws:NextBillDt>

<ws:BillingPeriod>DAY</ws:BillingPeriod>

<ws:BillingInterval>1</ws:BillingInterval>

<ws:MaxFailures></ws:MaxFailures>

<ws:FailureInterval></ws:FailureInterval>

<ws:EmailCustomer>True</ws:EmailCustomer>

<ws:EmailMerchant>True</ws:EmailMerchant>

<ws:EmailCustomerFailure>True</ws:EmailCustomerFailure>

<ws:EmailMerchantFailure>True</ws:EmailMerchantFailure>

<ws:Status></ws:Status>

<ws:ExtData></ws:ExtData>

</ws:ManageContract>

</soapenv:Body>

</soapenv:Envelope>

Response Message:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<soap:Body>

<ManageContractResponse xmlns="http://www.tpisoft.com/Admin/ws">

<ManageContractResult>

<CustomerKey>1673117</CustomerKey>

<ContractKey>56667</ContractKey>

<CcInfoKey>20281232</CcInfoKey>

<CheckInfoKey/>

<code>OK</code>

<error>OK</error>

<Partner>130</Partner>

<Vendor>17198</Vendor>

Page 157: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 157 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

<Username>gate9376</Username>

<Message>Merchant has enabled Force Recurring Billing Settings option. Default recurring settings are applied to the

contract.</Message>

</ManageContractResult>

</ManageContractResponse>

</soap:Body>

</soap:Envelope>

ManageContract (CreditCard DELETE)

Hyperlink to ManageContract Web Service details

SOAP Request Message:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:ws="http://www.tpisoft.com/Admin/ws">

<soapenv:Header/>

<soapenv:Body>

<ws:ManageContract>

<ws:UserName>[API Username]</ws:UserName>

<ws:Password>[API Password]</ws:Password>

<ws:TransType>DELETE</ws:TransType>

<ws:Vendor>17198</ws:Vendor>

<ws:CustomerKey>1673117</ws:CustomerKey>

<ws:ContractKey>56670</ws:ContractKey>

<ws:PaymentInfoKey>20281232</ws:PaymentInfoKey>

<ws:PaymentType>CC</ws:PaymentType>

<ws:ContractID>1303</ws:ContractID>

<ws:ExtData></ws:ExtData>

</ws:ManageContract>

</soapenv:Body>

</soapenv:Envelope>

Response Message:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<soap:Body>

<ManageContractResponse xmlns="http://www.tpisoft.com/Admin/ws">

<ManageContractResult>

<CustomerKey>1673117</CustomerKey>

<ContractKey>56670</ContractKey>

<CcInfoKey>-1</CcInfoKey>

<CheckInfoKey/>

<code>OK</code>

<error>OK</error>

<Partner>130</Partner>

<Vendor>17198</Vendor>

<Username>gate9376</Username>

<Message>Merchant has enabled Force Recurring Billing Settings option. Default recurring settings are applied to the

contract.</Message>

</ManageContractResult>

</ManageContractResponse>

</soap:Body>

</soap:Envelope>

Page 158: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 158 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

ManageContractAddDaysToNextBillDt

Hyperlink to ManageContractAddDaysToNextBillDt Web Service details

SOAP Request Message:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://www.tpisoft.com/Admin/ws"> <soapenv:Header/> <soapenv:Body> <ws:ManageContractAddDaysToNextBillDt> <ws:UserName>[API Username]</ws:UserName>

<ws:Password>[API Password]</ws:Password>

<ws:Vendor>17198</ws:Vendor> <ws:CustomerKey>1673117</ws:CustomerKey> <ws:ContractKey>56667</ws:ContractKey> <ws:NumOfDays>10</ws:NumOfDays> <ws:ExtData></ws:ExtData> </ws:ManageContractAddDaysToNextBillDt> </soapenv:Body> </soapenv:Envelope>

Response Message:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<soap:Body>

<ManageContractAddDaysToNextBillDtResponse xmlns="http://www.tpisoft.com/Admin/ws">

<ManageContractAddDaysToNextBillDtResult>

<CustomerKey>1673117</CustomerKey>

<ContractKey>56667</ContractKey>

<CcInfoKey/>

<CheckInfoKey/>

<code>OK</code>

<error>NextBillDate=11/18/2016</error>

<Partner/>

<Vendor/>

<Username>gate9376</Username>

</ManageContractAddDaysToNextBillDtResult>

</ManageContractAddDaysToNextBillDtResponse>

</soap:Body>

</soap:Envelope>

ProcessCheck

Hyperlink to ProcessCheck Web Service details

SOAP Request Message:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://www.tpisoft.com/Admin/ws"> <soapenv:Header/> <soapenv:Body> <ws:ProcessCheck> <ws:UserName>[API Username]</ws:UserName>

<ws:Password>[API Password]</ws:Password>

<ws:Vendor>17198</ws:Vendor> <ws:CheckInfoKey>2928</ws:CheckInfoKey>

Page 159: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 159 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

<ws:Amount>5.00</ws:Amount> <ws:InvNum></ws:InvNum>

<ws:ExtData>&lt;Frequency&gt;Once&lt;/Frequency&gt;&lt;NumberOfPayments&gt;1&lt;/NumberOfPayments&gt;</ws:ExtData>

</ws:ProcessCheck> </soapenv:Body> </soapenv:Envelope>

Response Message:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ProcessCheckResponse xmlns="http://www.tpisoft.com/Admin/ws"> <ProcessCheckResult> <code>OK</code> <error>APPROVED</error> <Result>0</Result> <AuthCode>1826444</AuthCode> <PNRef>23240648</PNRef> <Message>SUCCESS. The Payment was created successfully. This payment is an AP DUP</Message> </ProcessCheckResult> </ProcessCheckResponse> </soap:Body> </soap:Envelope>

ProcessCreditCard

Hyperlink to ProcessCreditCard Web Service details

SOAP Request Message:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://www.tpisoft.com/Admin/ws"> <soapenv:Header/> <soapenv:Body> <ws:ProcessCreditCard> <ws:UserName>[API Username]</ws:UserName>

<ws:Password>[API Password]</ws:Password>

<ws:Vendor>17198</ws:Vendor> <ws:CcInfoKey>20281232</ws:CcInfoKey> <ws:Amount>5.00</ws:Amount> <ws:InvNum></ws:InvNum> <ws:ExtData></ws:ExtData> </ws:ProcessCreditCard> </soapenv:Body> </soapenv:Envelope>

Response Message:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <ProcessCreditCardResponse xmlns="http://www.tpisoft.com/Admin/ws"> <ProcessCreditCardResult> <code>OK</code> <error>APPROVED</error>

Page 160: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 160 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

<Result>0</Result> <AuthCode>198806</AuthCode> <PNRef>23240746</PNRef> <Message>APPROVED</Message>

<ExtData>&lt;CardType&gt;MASTERCARD&lt;/CardType&gt;&lt;LastFour&gt;5454&lt;/LastFour&gt;&lt;ExpDate&gt;1220&lt;/ExpDate&gt;</ExtData>

</ProcessCreditCardResult> </ProcessCreditCardResponse> </soap:Body> </soap:Envelope>

TrnDetail Web Service Examples

GetCardTrx

Hyperlink to GetCardTrx Web Service details

SOAP Request Message:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://www.namespaceuri.com/Admin/ws"> <soapenv:Header/> <soapenv:Body> <ws:GetCardTrx> <ws:UserName>[API Username]</ws:UserName>

<ws:Password>[API Password]</ws:Password>

<ws:RPNum>17198</ws:RPNum> <ws:PNRef></ws:PNRef> <ws:BeginDt>11/07/2016</ws:BeginDt> <ws:EndDt>11/07/2016</ws:EndDt> <ws:PaymentType></ws:PaymentType> <ws:ExcludePaymentType></ws:ExcludePaymentType> <ws:TransType></ws:TransType> <ws:ExcludeTransType></ws:ExcludeTransType> <ws:ApprovalCode></ws:ApprovalCode> <ws:Result></ws:Result> <ws:ExcludeResult></ws:ExcludeResult> <ws:NameOnCard></ws:NameOnCard> <ws:CardNum></ws:CardNum> <ws:CardType></ws:CardType> <ws:ExcludeCardType></ws:ExcludeCardType> <ws:ExcludeVoid>True</ws:ExcludeVoid> <ws:User></ws:User> <ws:invoiceId></ws:invoiceId> <ws:SettleFlag></ws:SettleFlag> <ws:SettleMsg></ws:SettleMsg> <ws:SettleDt></ws:SettleDt> <ws:TransformType></ws:TransformType> <ws:Xsl></ws:Xsl> <ws:ColDelim></ws:ColDelim> <ws:RowDelim></ws:RowDelim> <ws:IncludeHeader></ws:IncludeHeader> <ws:ExtData></ws:ExtData> </ws:GetCardTrx> </soapenv:Body> </soapenv:Envelope>

Page 161: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 161 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Response Message:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <GetCardTrxResponse xmlns="http://www.namespaceuri.com/Admin/ws"> <GetCardTrxResult>&lt;RichDBDS&gt; &lt;TrxDetailCard&gt; &lt;TRX_HD_Key&gt;23240746&lt;/TRX_HD_Key&gt; &lt;Date_DT&gt;2016-11-07T18:56:24+00:00&lt;/Date_DT&gt; &lt;Merchant_Key&gt;17198&lt;/Merchant_Key&gt; &lt;User_Name_VC&gt;gate9376 &lt;/User_Name_VC&gt; &lt;Reseller_Key&gt;130&lt;/Reseller_Key&gt; &lt;Payment_Type_ID&gt;MASTERCARD&lt;/Payment_Type_ID&gt; &lt;Trans_Type_ID&gt;RepeatSale &lt;/Trans_Type_ID&gt; &lt;Processor_ID&gt;PayTampa &lt;/Processor_ID&gt; &lt;TRX_Settle_Key&gt;19815826&lt;/TRX_Settle_Key&gt; &lt;Void_Flag_CH&gt;0&lt;/Void_Flag_CH&gt; &lt;Settle_Flag_CH&gt;0&lt;/Settle_Flag_CH&gt; &lt;Last_Update_DT&gt;2016-11-07T18:56:24.64+00:00&lt;/Last_Update_DT&gt; &lt;TRX_Card_Key&gt;19711753&lt;/TRX_Card_Key&gt; &lt;Card_Info_Key&gt;20284612&lt;/Card_Info_Key&gt; &lt;Auth_Amt_MN&gt;5.0000&lt;/Auth_Amt_MN&gt; &lt;Tip_Amt_MN&gt;0.0000&lt;/Tip_Amt_MN&gt; &lt;Total_Amt_MN&gt;5.0000&lt;/Total_Amt_MN&gt; &lt;Cash_Back_Amt_MN&gt;0.0000&lt;/Cash_Back_Amt_MN&gt; &lt;SureCharge_Amt_MN&gt;0.0000&lt;/SureCharge_Amt_MN&gt; &lt;Account_Type_CH&gt;MASTERCARD&lt;/Account_Type_CH&gt; &lt;Result_CH&gt;0 &lt;/Result_CH&gt; &lt;Result_Txt_VC&gt;APPROVED&lt;/Result_Txt_VC&gt; &lt;Approval_Code_CH&gt;198806&lt;/Approval_Code_CH&gt; &lt;Host_Ref_Num_CH&gt;00000000&lt;/Host_Ref_Num_CH&gt; &lt;AVS_Resp_CH&gt;Z&lt;/AVS_Resp_CH&gt; &lt;Host_Date_CH&gt;110716 &lt;/Host_Date_CH&gt; &lt;Host_Time_CH&gt;065625 &lt;/Host_Time_CH&gt; &lt;Acct_Num_CH&gt;************5454&lt;/Acct_Num_CH&gt; &lt;Exp_CH&gt;1220 &lt;/Exp_CH&gt; &lt;Type_CH&gt;MASTERCARD&lt;/Type_CH&gt; &lt;Name_on_Card_VC&gt;Jack Doe &lt;/Name_on_Card_VC&gt; &lt;Street_CH&gt;123 East Main Street &lt;/Street_CH&gt; &lt;Zip_CH&gt;20151 &lt;/Zip_CH&gt; &lt;Manual&gt;true&lt;/Manual&gt; &lt;TRX_Receipt_key&gt;0&lt;/TRX_Receipt_key&gt; &lt;IP_VC&gt;172.19.0.5&lt;/IP_VC&gt; &lt;Batch_Number&gt;0&lt;/Batch_Number&gt; &lt;Level3_Amt_MN&gt;0.0000&lt;/Level3_Amt_MN&gt; &lt;TRX_Receipt_Cnt&gt;0&lt;/TRX_Receipt_Cnt&gt; &lt;Auth_Date_DT&gt;2016-11-07T18:56:24+00:00&lt;/Auth_Date_DT&gt; &lt;Reversal_Flag_CH&gt;0&lt;/Reversal_Flag_CH&gt; &lt;/TrxDetailCard&gt; &lt;/RichDBDS&gt;</GetCardTrxResult> </GetCardTrxResponse> </soap:Body> </soap:Envelope>

GetCardTrx2

Page 162: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 162 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Hyperlink to GetCardTrx2 Web Service details

SOAP Request Message:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://www.namespaceuri.com/Admin/ws"> <soapenv:Header/> <soapenv:Body> <ws:GetCardTrx2> <ws:UserName>[API Username]</ws:UserName>

<ws:Password>[API Password]</ws:Password>

<ws:RPNum>17198</ws:RPNum> <ws:PNRef>23240746</ws:PNRef> <ws:BeginDt>11/07/2016</ws:BeginDt> <ws:EndDt>11/07/2016</ws:EndDt> <ws:PaymentType></ws:PaymentType> <ws:ExcludePaymentType></ws:ExcludePaymentType> <ws:TransType></ws:TransType> <ws:ExcludeTransType></ws:ExcludeTransType> <ws:ApprovalCode></ws:ApprovalCode> <ws:Result></ws:Result> <ws:ExcludeResult></ws:ExcludeResult> <ws:NameOnCard></ws:NameOnCard> <ws:CardNum></ws:CardNum> <ws:CardType></ws:CardType> <ws:ExcludeCardType></ws:ExcludeCardType> <ws:ExcludeVoid>True</ws:ExcludeVoid> <ws:User></ws:User> <ws:invoiceId></ws:invoiceId> <ws:SettleFlag></ws:SettleFlag> <ws:SettleMsg></ws:SettleMsg> <ws:BeginSettleDt></ws:BeginSettleDt> <ws:EndSettleDt></ws:EndSettleDt> <ws:TransformType></ws:TransformType> <ws:Xsl></ws:Xsl> <ws:ColDelim></ws:ColDelim> <ws:RowDelim></ws:RowDelim> <ws:IncludeHeader></ws:IncludeHeader> <ws:ExtData></ws:ExtData> </ws:GetCardTrx2> </soapenv:Body> </soapenv:Envelope>

Response Message:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <GetCardTrx2Response xmlns="http://www.namespaceuri.com/Admin/ws"> <GetCardTrx2Result>&lt;RichDBDS&gt; &lt;TrxDetailCard&gt; &lt;TRX_HD_Key&gt;23240746&lt;/TRX_HD_Key&gt; &lt;Date_DT&gt;2016-11-07T18:56:24+00:00&lt;/Date_DT&gt; &lt;Merchant_Key&gt;17198&lt;/Merchant_Key&gt; &lt;User_Name_VC&gt;gate9376 &lt;/User_Name_VC&gt; &lt;Reseller_Key&gt;130&lt;/Reseller_Key&gt; &lt;Payment_Type_ID&gt;MASTERCARD&lt;/Payment_Type_ID&gt;

Page 163: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 163 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

&lt;Trans_Type_ID&gt;RepeatSale &lt;/Trans_Type_ID&gt; &lt;Processor_ID&gt;PayTampa &lt;/Processor_ID&gt; &lt;TRX_Settle_Key&gt;19815826&lt;/TRX_Settle_Key&gt; &lt;Void_Flag_CH&gt;0&lt;/Void_Flag_CH&gt; &lt;Settle_Flag_CH&gt;0&lt;/Settle_Flag_CH&gt; &lt;Last_Update_DT&gt;2016-11-07T18:56:24.64+00:00&lt;/Last_Update_DT&gt; &lt;TRX_Card_Key&gt;19711753&lt;/TRX_Card_Key&gt; &lt;Card_Info_Key&gt;20284612&lt;/Card_Info_Key&gt; &lt;Auth_Amt_MN&gt;5.0000&lt;/Auth_Amt_MN&gt; &lt;Tip_Amt_MN&gt;0.0000&lt;/Tip_Amt_MN&gt; &lt;Total_Amt_MN&gt;5.0000&lt;/Total_Amt_MN&gt; &lt;Cash_Back_Amt_MN&gt;0.0000&lt;/Cash_Back_Amt_MN&gt; &lt;SureCharge_Amt_MN&gt;0.0000&lt;/SureCharge_Amt_MN&gt; &lt;Account_Type_CH&gt;MASTERCARD&lt;/Account_Type_CH&gt; &lt;Result_CH&gt;0 &lt;/Result_CH&gt; &lt;Result_Txt_VC&gt;APPROVED&lt;/Result_Txt_VC&gt; &lt;Approval_Code_CH&gt;198806&lt;/Approval_Code_CH&gt; &lt;Host_Ref_Num_CH&gt;00000000&lt;/Host_Ref_Num_CH&gt; &lt;AVS_Resp_CH&gt;Z&lt;/AVS_Resp_CH&gt; &lt;Host_Date_CH&gt;110716 &lt;/Host_Date_CH&gt; &lt;Host_Time_CH&gt;065625 &lt;/Host_Time_CH&gt; &lt;Acct_Num_CH&gt;************5454&lt;/Acct_Num_CH&gt; &lt;Exp_CH&gt;1220 &lt;/Exp_CH&gt; &lt;Type_CH&gt;MASTERCARD&lt;/Type_CH&gt; &lt;Name_on_Card_VC&gt;Jack Doe &lt;/Name_on_Card_VC&gt; &lt;Street_CH&gt;123 East Main Street &lt;/Street_CH&gt; &lt;Zip_CH&gt;20151 &lt;/Zip_CH&gt; &lt;Manual&gt;true&lt;/Manual&gt; &lt;TRX_Receipt_key&gt;0&lt;/TRX_Receipt_key&gt; &lt;IP_VC&gt;172.19.0.5&lt;/IP_VC&gt; &lt;Batch_Number&gt;0&lt;/Batch_Number&gt; &lt;Level3_Amt_MN&gt;0.0000&lt;/Level3_Amt_MN&gt; &lt;TRX_Receipt_Cnt&gt;0&lt;/TRX_Receipt_Cnt&gt; &lt;Auth_Date_DT&gt;2016-11-07T18:56:24+00:00&lt;/Auth_Date_DT&gt; &lt;Reversal_Flag_CH&gt;0&lt;/Reversal_Flag_CH&gt; &lt;/TrxDetailCard&gt; &lt;/RichDBDS&gt;</GetCardTrx2Result> </GetCardTrx2Response> </soap:Body> </soap:Envelope>

GetCardTrxSummary

Hyperlink to GetCardTrxSummary Web Service details

SOAP Request Message:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://www.namespaceuri.com/Admin/ws"> <soapenv:Header/> <soapenv:Body> <ws:GetCardTrxSummary> <ws:UserName>[API Username]</ws:UserName>

<ws:Password>[API Password]</ws:Password>

<ws:RPNum>17198</ws:RPNum> <ws:BeginDt>11/07/2016</ws:BeginDt> <ws:EndDt>11/07/2016</ws:EndDt>

Page 164: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 164 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

<ws:ApprovalCode></ws:ApprovalCode> <ws:Register></ws:Register> <ws:NameOnCard></ws:NameOnCard> <ws:CardNum></ws:CardNum> <ws:CardType></ws:CardType> <ws:ExcludeVoid>True</ws:ExcludeVoid> <ws:User></ws:User> <ws:SettleFlag></ws:SettleFlag> <ws:SettleMsg></ws:SettleMsg> <ws:SettleDt></ws:SettleDt> <ws:TransformType></ws:TransformType> <ws:Xsl></ws:Xsl> <ws:ColDelim></ws:ColDelim> <ws:RowDelim></ws:RowDelim> <ws:IncludeHeader></ws:IncludeHeader> <ws:ExtData></ws:ExtData> </ws:GetCardTrxSummary> </soapenv:Body> </soapenv:Envelope>

Response Message:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <GetCardTrxSummaryResponse xmlns="http://www.namespaceuri.com/Admin/ws"> <GetCardTrxSummaryResult>&lt;CardTrxSummary&gt; &lt;PaymentMethod&gt; &lt;Payment_Type_ID&gt;MASTERCARD&lt;/Payment_Type_ID&gt; &lt;Authorization&gt;0.0000&lt;/Authorization&gt; &lt;Capture&gt;0.0000&lt;/Capture&gt; &lt;ForceCapture&gt;0.0000&lt;/ForceCapture&gt; &lt;PostAuth&gt;0.0000&lt;/PostAuth&gt; &lt;Return&gt;0.0000&lt;/Return&gt; &lt;Sale&gt;0.0000&lt;/Sale&gt; &lt;Receipt&gt;0.0000&lt;/Receipt&gt; &lt;RepeatSale&gt;115.0000&lt;/RepeatSale&gt; &lt;Activate&gt;0.0000&lt;/Activate&gt; &lt;Deactivate&gt;0.0000&lt;/Deactivate&gt; &lt;Reload&gt;0.0000&lt;/Reload&gt; &lt;Authorization_Cnt&gt;0&lt;/Authorization_Cnt&gt; &lt;Capture_Cnt&gt;0&lt;/Capture_Cnt&gt; &lt;ForceCapture_Cnt&gt;0&lt;/ForceCapture_Cnt&gt; &lt;PostAuth_Cnt&gt;0&lt;/PostAuth_Cnt&gt; &lt;Return_Cnt&gt;0&lt;/Return_Cnt&gt; &lt;Sale_Cnt&gt;0&lt;/Sale_Cnt&gt; &lt;Receipt_Cnt&gt;0&lt;/Receipt_Cnt&gt; &lt;RepeatSale_Cnt&gt;3&lt;/RepeatSale_Cnt&gt; &lt;Activate_Cnt&gt;0&lt;/Activate_Cnt&gt; &lt;Deactivate_Cnt&gt;0&lt;/Deactivate_Cnt&gt; &lt;Reload_Cnt&gt;0&lt;/Reload_Cnt&gt; &lt;Cnt&gt;3&lt;/Cnt&gt; &lt;/PaymentMethod&gt; &lt;/CardTrxSummary&gt;</GetCardTrxSummaryResult> </GetCardTrxSummaryResponse> </soap:Body>

Page 165: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 165 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

</soap:Envelope>

GetCheckTrx

Hyperlink to GetCheckTrx Web Service details

SOAP Request Message:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://www.namespaceuri.com/Admin/ws"> <soapenv:Header/> <soapenv:Body> <ws:GetCheckTrx> <ws:UserName>[API Username]</ws:UserName>

<ws:Password>[API Password]</ws:Password>

<ws:RPNum>17198</ws:RPNum> <ws:PNRef>23240648</ws:PNRef> <ws:BeginDt>11/07/2016</ws:BeginDt> <ws:EndDt>11/07/2016</ws:EndDt> <ws:PaymentType></ws:PaymentType> <ws:ExcludePaymentType></ws:ExcludePaymentType> <ws:TransType></ws:TransType> <ws:ExcludeTransType></ws:ExcludeTransType> <ws:ApprovalCode></ws:ApprovalCode> <ws:Result></ws:Result> <ws:ExcludeResult></ws:ExcludeResult> <ws:NameOnCheck></ws:NameOnCheck> <ws:CheckNum></ws:CheckNum> <ws:AcctNum></ws:AcctNum> <ws:RouteNum></ws:RouteNum> <ws:ExcludeVoid>True</ws:ExcludeVoid> <ws:User></ws:User> <ws:invoiceId></ws:invoiceId> <ws:SettleFlag></ws:SettleFlag> <ws:SettleMsg></ws:SettleMsg> <ws:SettleDt></ws:SettleDt> <ws:TransformType></ws:TransformType> <ws:Xsl></ws:Xsl> <ws:ColDelim></ws:ColDelim> <ws:RowDelim></ws:RowDelim> <ws:IncludeHeader></ws:IncludeHeader> <ws:ExtData></ws:ExtData> </ws:GetCheckTrx> </soapenv:Body> </soapenv:Envelope>

Response Message:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <GetCheckTrxResponse xmlns="http://www.namespaceuri.com/Admin/ws"> <GetCheckTrxResult>&lt;RichDBDS&gt; &lt;TrxDetailCheck&gt; &lt;TRX_HD_Key&gt;23240648&lt;/TRX_HD_Key&gt; &lt;Date_DT&gt;2016-11-07T18:50:10.303+00:00&lt;/Date_DT&gt;

Page 166: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 166 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

&lt;Merchant_Key&gt;17198&lt;/Merchant_Key&gt; &lt;User_Name_VC&gt;gate9376 &lt;/User_Name_VC&gt; &lt;Reseller_Key&gt;130&lt;/Reseller_Key&gt; &lt;Payment_Type_ID&gt;ECHECK &lt;/Payment_Type_ID&gt; &lt;Trans_Type_ID&gt;Sale &lt;/Trans_Type_ID&gt; &lt;Processor_ID&gt;FirstACH &lt;/Processor_ID&gt; &lt;TRX_Settle_Key&gt;19815729&lt;/TRX_Settle_Key&gt; &lt;Void_Flag_CH&gt;0&lt;/Void_Flag_CH&gt; &lt;Settle_Flag_CH&gt;0&lt;/Settle_Flag_CH&gt; &lt;Last_Update_DT&gt;2016-11-07T18:50:11.317+00:00&lt;/Last_Update_DT&gt; &lt;TRX_Check_Key&gt;3504823&lt;/TRX_Check_Key&gt; &lt;CheckNum_CH&gt;1 &lt;/CheckNum_CH&gt; &lt;AccountNum_VC&gt;******7890&lt;/AccountNum_VC&gt; &lt;TransitNum_VC&gt;111111118&lt;/TransitNum_VC&gt; &lt;DL_VC&gt;123456789&lt;/DL_VC&gt; &lt;SS_CH&gt;999-99-9999&lt;/SS_CH&gt; &lt;DOB_CH&gt;01/01/1963&lt;/DOB_CH&gt; &lt;StateCode_CH&gt;VA &lt;/StateCode_CH&gt; &lt;NameOnCheck_VC&gt;Jack Doe&lt;/NameOnCheck_VC&gt; &lt;EMail_VC&gt;[email protected]&lt;/EMail_VC&gt; &lt;Phone_VC&gt;703-555-1212&lt;/Phone_VC&gt; &lt;Amount_MN&gt;5.0000&lt;/Amount_MN&gt; &lt;Result_CH&gt;0 &lt;/Result_CH&gt; &lt;Result_Txt_VC&gt;Success1826444&lt;/Result_Txt_VC&gt; &lt;Host_Approval_CH&gt;1826444&lt;/Host_Approval_CH&gt; &lt;Host_Ref_Num_CH&gt;1826444&lt;/Host_Ref_Num_CH&gt; &lt;Result_Msg_VC&gt;SUCCESS. The Payment was created successfully. Thi&lt;/Result_Msg_VC&gt; &lt;Result_Msg1_VC /&gt; &lt;Result_Msg2_VC&gt;Success&lt;/Result_Msg2_VC&gt; &lt;TRX_Receipt_key&gt;0&lt;/TRX_Receipt_key&gt; &lt;IP_VC&gt;172.19.0.4&lt;/IP_VC&gt; &lt;Account_Type_Key&gt;CHECKING&lt;/Account_Type_Key&gt; &lt;Check_Type_Key&gt;PERSONAL&lt;/Check_Type_Key&gt; &lt;TRX_Receipt_Cnt&gt;0&lt;/TRX_Receipt_Cnt&gt; &lt;Auth_Date_DT&gt;2016-11-07T18:50:10.303+00:00&lt;/Auth_Date_DT&gt; &lt;Reversal_Flag_CH&gt;0&lt;/Reversal_Flag_CH&gt; &lt;/TrxDetailCheck&gt; &lt;/RichDBDS&gt;</GetCheckTrxResult> </GetCheckTrxResponse> </soap:Body> </soap:Envelope>

GetOpenBatchSummary

Hyperlink to GetOpenBatchSummary Web Service details

SOAP Request Message:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://www.namespaceuri.com/Admin/ws"> <soapenv:Header/> <soapenv:Body> <ws:GetOpenBatchSummary> <ws:UserName>[API Username]</ws:UserName>

<ws:Password>[API Password]</ws:Password>

<ws:rpNum>17198</ws:rpNum> <ws:beginDt></ws:beginDt>

Page 167: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 167 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

<ws:endDt></ws:endDt> <ws:extData></ws:extData> </ws:GetOpenBatchSummary> </soapenv:Body> </soapenv:Envelope>

Response Message:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <GetOpenBatchSummaryResponse xmlns="http://www.namespaceuri.com/Admin/ws"> <GetOpenBatchSummaryResult>&lt;OpenBatchSummary&gt; &lt;Table&gt; &lt;Payment_Type_ID&gt;MASTERCARD&lt;/Payment_Type_ID&gt; &lt;Authorization&gt;0.0000&lt;/Authorization&gt; &lt;Capture&gt;0.0000&lt;/Capture&gt; &lt;ForceCapture&gt;0.0000&lt;/ForceCapture&gt; &lt;PostAuth&gt;0.0000&lt;/PostAuth&gt; &lt;Return&gt;0.0000&lt;/Return&gt; &lt;Sale&gt;0.0000&lt;/Sale&gt; &lt;Receipt&gt;0.0000&lt;/Receipt&gt; &lt;RepeatSale&gt;5.0000&lt;/RepeatSale&gt; &lt;Activate&gt;0.0000&lt;/Activate&gt; &lt;Deactivate&gt;0.0000&lt;/Deactivate&gt; &lt;Reload&gt;0.0000&lt;/Reload&gt; &lt;Authorization_Cnt&gt;0&lt;/Authorization_Cnt&gt; &lt;Capture_Cnt&gt;0&lt;/Capture_Cnt&gt; &lt;ForceCapture_Cnt&gt;0&lt;/ForceCapture_Cnt&gt; &lt;PostAuth_Cnt&gt;0&lt;/PostAuth_Cnt&gt; &lt;Return_Cnt&gt;0&lt;/Return_Cnt&gt; &lt;Sale_Cnt&gt;0&lt;/Sale_Cnt&gt; &lt;Receipt_Cnt&gt;0&lt;/Receipt_Cnt&gt; &lt;RepeatSale_Cnt&gt;1&lt;/RepeatSale_Cnt&gt; &lt;Activate_Cnt&gt;0&lt;/Activate_Cnt&gt; &lt;Deactivate_Cnt&gt;0&lt;/Deactivate_Cnt&gt; &lt;Reload_Cnt&gt;0&lt;/Reload_Cnt&gt; &lt;Cnt&gt;1&lt;/Cnt&gt; &lt;/Table&gt; &lt;Table&gt; &lt;Payment_Type_ID&gt;VISA &lt;/Payment_Type_ID&gt; &lt;Authorization&gt;0.0000&lt;/Authorization&gt; &lt;Capture&gt;0.0000&lt;/Capture&gt; &lt;ForceCapture&gt;0.0000&lt;/ForceCapture&gt; &lt;PostAuth&gt;0.0000&lt;/PostAuth&gt; &lt;Return&gt;0.0000&lt;/Return&gt; &lt;Sale&gt;0.0000&lt;/Sale&gt; &lt;Receipt&gt;0.0000&lt;/Receipt&gt; &lt;RepeatSale&gt;1.0000&lt;/RepeatSale&gt; &lt;Activate&gt;0.0000&lt;/Activate&gt; &lt;Deactivate&gt;0.0000&lt;/Deactivate&gt; &lt;Reload&gt;0.0000&lt;/Reload&gt; &lt;Authorization_Cnt&gt;0&lt;/Authorization_Cnt&gt; &lt;Capture_Cnt&gt;0&lt;/Capture_Cnt&gt; &lt;ForceCapture_Cnt&gt;0&lt;/ForceCapture_Cnt&gt; &lt;PostAuth_Cnt&gt;0&lt;/PostAuth_Cnt&gt;

Page 168: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 168 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

&lt;Return_Cnt&gt;0&lt;/Return_Cnt&gt; &lt;Sale_Cnt&gt;0&lt;/Sale_Cnt&gt; &lt;Receipt_Cnt&gt;0&lt;/Receipt_Cnt&gt; &lt;RepeatSale_Cnt&gt;1&lt;/RepeatSale_Cnt&gt; &lt;Activate_Cnt&gt;0&lt;/Activate_Cnt&gt; &lt;Deactivate_Cnt&gt;0&lt;/Deactivate_Cnt&gt; &lt;Reload_Cnt&gt;0&lt;/Reload_Cnt&gt; &lt;Cnt&gt;1&lt;/Cnt&gt; &lt;/Table&gt; &lt;/OpenBatchSummary&gt;</GetOpenBatchSummaryResult> </GetOpenBatchSummaryResponse> </soap:Body> </soap:Envelope>

CustomFields Web Service Examples

AddCustomField

Hyperlink to AddCustomField Web Service details

SOAP Request Message:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://tempuri.org/">

<soapenv:Header/>

<soapenv:Body>

<ws:AddCustomField>

<ws:UserName>[API Username]</ws:UserName>

<ws:Password>[API Password]</ws:Password>

<ws:RPNum>17198</ws:RPNum>

<ws:FieldName>Custom1</ws:FieldName>

<ws:IsNumeric>false</ws:IsNumeric>

<ws:DecimalPlaces></ws:DecimalPlaces>

<ws:MaxLength>5</ws:MaxLength>

<ws:RegEx></ws:RegEx>

<ws:IsRequired>false</ws:IsRequired>

<ws:Description>Custom Field</ws:Description>

<ws:MinValue></ws:MinValue>

<ws:MaxValue></ws:MaxValue>

<ws:DisplayOnReceipt>false</ws:DisplayOnReceipt>

<ws:ErrorMessage></ws:ErrorMessage>

</ws:AddCustomField>

</soapenv:Body>

Response Message:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<soap:Body>

<AddCustomFieldResponse xmlns="http://tempuri.org/">

<AddCustomFieldResult>

<Result>0</Result>

<RespMSG>Field added successfully.</RespMSG>

</AddCustomFieldResult>

</AddCustomFieldResponse>

</soap:Body>

</soap:Envelope>

Page 169: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 169 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

GetCustomField

Hyperlink to GetCustomFields Web Service details

SOAP Request Message:

CardAccountUpdater Web Service Examples

UpdateSettings

Hyperlink to UpdateSettings Web Service details

SOAP Request Message:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:ws="http://www.tpisoft.com/Admin/ws">

<soapenv:Header/>

<soapenv:Body>

<ws:UpdateSettings>

<ws:UserName>[API Username]</ws:UserName>

<ws:Password>[API Password]</ws:Password>

<ws:MerchantKey>17198</ws:MerchantKey>

<ws:RecurringBillingUpdateEnabled>T</ws:RecurringBillingUpdateEnabled>

<ws:NonRecurringBillingUpdateEnabled>T</ws:NonRecurringBillingUpdateEnabled>

<ws:EmailNotificationEnabled>T</ws:EmailNotificationEnabled>

<ws:NotificationEmailAddresses>[email protected]; [email protected]</ws:NotificationEmailAddresses>

</ws:UpdateSettings>

</soapenv:Body>

</soapenv:Envelope>

Response Message:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<soap:Body>

<UpdateSettingsResponse xmlns="http://www.tpisoft.com/Admin/ws">

<UpdateSettingsResult>

<code>OK</code>

<error>Merchant settings were successfully updated!</error>

<Vendor>17198</Vendor>

<ws:UserName>[API Username]</ws:UserName>

</UpdateSettingsResult>

</UpdateSettingsResponse>

</soap:Body>

</soap:Envelope>

InfoSettings

Hyperlink to InfoSettings Web Service details

SOAP Request Message:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:ws="http://www.tpisoft.com/Admin/ws">

<soapenv:Header/>

<soapenv:Body>

<ws:InfoSettings>

<ws:UserName>[API Username]</ws:UserName>

<ws:Password>[API Password]</ws:Password>

Page 170: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 170 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

<ws:MerchantKey>17198</ws:MerchantKey>

</ws:InfoSettings>

</soapenv:Body>

</soapenv:Envelope>

Response Message:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<soap:Body>

<InfoSettingsResponse xmlns="http://www.tpisoft.com/Admin/ws">

<InfoSettingsResult>

<code>OK</code>

<Vendor>17198</Vendor>

<Username>gate6334</Username>

<RecurringBillingUpdateEnabled>T</RecurringBillingUpdateEnabled>

<NonRecurringBillingUpdateEnabled>T</NonRecurringBillingUpdateEnabled>

<EmailNotificationEnabled>T</EmailNotificationEnabled>

<NotificationEmailAddresses>[email protected]; [email protected]</NotificationEmailAddresses>

</InfoSettingsResult>

</InfoSettingsResponse>

</soap:Body>

</soap:Envelope>

GetCardAdminReport

Hyperlink to GetCardAdminReport Web Service details

SOAP Request Message:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:ws="http://www.tpisoft.com/Admin/ws">

<soapenv:Header/>

<soapenv:Body>

<ws:GetCardAdminReport>

<ws:UserName>[API Username]</ws:UserName>

<ws:SecureToken>[API Secure Token]</ws:SecureToken>

<ws:MerchantKey>17198</ws:MerchantKey>

<ws:StartDT>2016-09-15</ws:StartDT>

<ws:EndDT>2016-11-07</ws:EndDT>

<ws:CardType></ws:CardType>

<ws:ContractID></ws:ContractID>

<ws:CustomerKey></ws:CustomerKey>

<ws:CustomerID></ws:CustomerID>

<ws:NameOnCard></ws:NameOnCard>

<ws:CardNum></ws:CardNum>

<ws:ReasonCode></ws:ReasonCode>

<ws:ExcludeInactive></ws:ExcludeInactive>

<ws:TransformType></ws:TransformType>

<ws:Xsl>?</ws:Xsl>

<ws:ColDelim></ws:ColDelim>

<ws:RowDelim></ws:RowDelim>

<ws:IncludeHeader></ws:IncludeHeader>

</ws:GetCardAdminReport>

</soapenv:Body>

Response Message:

Page 171: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 171 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<soap:Body>

<GetCardAdminReportResponse xmlns="http://www.tpisoft.com/Admin/ws">

<GetCardAdminReportResult>&lt;CardAccountUpdater&gt;

&lt;CardAccountUpdate&gt;

&lt;Card_Account_Updates_Key&gt;2694&lt;/Card_Account_Updates_Key&gt;

&lt;Update_Receive_Date&gt;2016-11-07T19:57:12.07+00:00&lt;/Update_Receive_Date&gt;

&lt;Customer_Name_VC&gt;CardSafe&lt;/Customer_Name_VC&gt;

&lt;Customer_Key&gt;1616732&lt;/Customer_Key&gt;

&lt;Customer_ID&gt;0001&lt;/Customer_ID&gt;

&lt;Card_Info_Key&gt;19927618&lt;/Card_Info_Key&gt;

&lt;Payment_Type_ID&gt;MASTERCARD&lt;/Payment_Type_ID&gt;

&lt;Name_On_Card&gt;John Doe &lt;/Name_On_Card&gt;

&lt;Previous_Account_Num&gt;5454&lt;/Previous_Account_Num&gt;

&lt;Previous_Exp_Date&gt;1220 &lt;/Previous_Exp_Date&gt;

&lt;New_Account_Num&gt;5454&lt;/New_Account_Num&gt;

&lt;New_Exp_Date&gt;1220 &lt;/New_Exp_Date&gt;

&lt;Reason_Code&gt;500&lt;/Reason_Code&gt;

&lt;Reason_Code_Text&gt;Initial Submission From Gateway&lt;/Reason_Code_Text&gt;

&lt;Active_Flag&gt;true&lt;/Active_Flag&gt;

&lt;/CardAccountUpdate&gt;

&lt;CardAccountUpdate&gt;

&lt;Card_Account_Updates_Key&gt;2695&lt;/Card_Account_Updates_Key&gt;

&lt;Update_Receive_Date&gt;2016-11-07T19:57:12.32+00:00&lt;/Update_Receive_Date&gt;

&lt;Customer_Name_VC&gt;CardSafe&lt;/Customer_Name_VC&gt;

&lt;Customer_Key&gt;1616732&lt;/Customer_Key&gt;

&lt;Customer_ID&gt;0001&lt;/Customer_ID&gt;

&lt;Card_Info_Key&gt;20005097&lt;/Card_Info_Key&gt;

&lt;Payment_Type_ID&gt;VISA &lt;/Payment_Type_ID&gt;

&lt;Name_On_Card&gt;Jane Doe &lt;/Name_On_Card&gt;

&lt;Previous_Account_Num&gt;1111&lt;/Previous_Account_Num&gt;

&lt;Previous_Exp_Date&gt;1220 &lt;/Previous_Exp_Date&gt;

&lt;New_Account_Num&gt;1111&lt;/New_Account_Num&gt;

&lt;New_Exp_Date&gt;1220 &lt;/New_Exp_Date&gt;

&lt;Reason_Code&gt;500&lt;/Reason_Code&gt;

&lt;Reason_Code_Text&gt;Initial Submission From Gateway&lt;/Reason_Code_Text&gt;

&lt;Active_Flag&gt;true&lt;/Active_Flag&gt;

&lt;/CardAccountUpdate&gt;

&lt;CardAccountUpdate&gt;

&lt;Card_Account_Updates_Key&gt;2696&lt;/Card_Account_Updates_Key&gt;

&lt;Update_Receive_Date&gt;2016-11-07T19:57:12.337+00:00&lt;/Update_Receive_Date&gt;

&lt;Customer_Name_VC&gt;CardSafe&lt;/Customer_Name_VC&gt;

&lt;Customer_Key&gt;1616732&lt;/Customer_Key&gt;

&lt;Customer_ID&gt;0001&lt;/Customer_ID&gt;

&lt;Card_Info_Key&gt;20055218&lt;/Card_Info_Key&gt;

&lt;Payment_Type_ID xml:space="preserve"&gt; &lt;/Payment_Type_ID&gt;

&lt;Name_On_Card xml:space="preserve"&gt; &lt;/Name_On_Card&gt;

&lt;Previous_Account_Num&gt;1111&lt;/Previous_Account_Num&gt;

&lt;Previous_Exp_Date&gt;1215 &lt;/Previous_Exp_Date&gt;

&lt;New_Account_Num&gt;1111&lt;/New_Account_Num&gt;

&lt;New_Exp_Date&gt;1215 &lt;/New_Exp_Date&gt;

&lt;Reason_Code&gt;500&lt;/Reason_Code&gt;

&lt;Reason_Code_Text&gt;Initial Submission From Gateway&lt;/Reason_Code_Text&gt;

&lt;Active_Flag&gt;true&lt;/Active_Flag&gt;

&lt;/CardAccountUpdate&gt;

Page 172: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 172 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

&lt;CardAccountUpdate&gt;

&lt;Card_Account_Updates_Key&gt;2697&lt;/Card_Account_Updates_Key&gt;

&lt;Update_Receive_Date&gt;2016-11-07T19:57:12.337+00:00&lt;/Update_Receive_Date&gt;

&lt;Customer_Name_VC&gt;ApiTest&lt;/Customer_Name_VC&gt;

&lt;Customer_Key&gt;1663497&lt;/Customer_Key&gt;

&lt;Customer_ID&gt;0002&lt;/Customer_ID&gt;

&lt;Card_Info_Key&gt;20223108&lt;/Card_Info_Key&gt;

&lt;Payment_Type_ID&gt;MASTERCARD&lt;/Payment_Type_ID&gt;

&lt;Name_On_Card xml:space="preserve"&gt; &lt;/Name_On_Card&gt;

&lt;Previous_Account_Num&gt;5454&lt;/Previous_Account_Num&gt;

&lt;Previous_Exp_Date&gt;1220 &lt;/Previous_Exp_Date&gt;

&lt;New_Account_Num&gt;5454&lt;/New_Account_Num&gt;

&lt;New_Exp_Date&gt;1220 &lt;/New_Exp_Date&gt;

&lt;Reason_Code&gt;500&lt;/Reason_Code&gt;

&lt;Reason_Code_Text&gt;Initial Submission From Gateway&lt;/Reason_Code_Text&gt;

&lt;Active_Flag&gt;true&lt;/Active_Flag&gt;

&lt;/CardAccountUpdate&gt;

&lt;CardAccountUpdate&gt;

&lt;Card_Account_Updates_Key&gt;2698&lt;/Card_Account_Updates_Key&gt;

&lt;Update_Receive_Date&gt;2016-11-07T19:57:12.337+00:00&lt;/Update_Receive_Date&gt;

&lt;Customer_Name_VC&gt;ApiTest3&lt;/Customer_Name_VC&gt;

&lt;Customer_Key&gt;1673117&lt;/Customer_Key&gt;

&lt;Customer_ID&gt;0003&lt;/Customer_ID&gt;

&lt;Card_Info_Key&gt;20281232&lt;/Card_Info_Key&gt;

&lt;Payment_Type_ID&gt;MASTERCARD&lt;/Payment_Type_ID&gt;

&lt;Name_On_Card&gt;Jack Doe &lt;/Name_On_Card&gt;

&lt;Previous_Account_Num&gt;5454&lt;/Previous_Account_Num&gt;

&lt;Previous_Exp_Date&gt;1220 &lt;/Previous_Exp_Date&gt;

&lt;New_Account_Num&gt;5454&lt;/New_Account_Num&gt;

&lt;New_Exp_Date&gt;1220 &lt;/New_Exp_Date&gt;

&lt;Reason_Code&gt;500&lt;/Reason_Code&gt;

&lt;Reason_Code_Text&gt;Initial Submission From Gateway&lt;/Reason_Code_Text&gt;

&lt;Active_Flag&gt;true&lt;/Active_Flag&gt;

&lt;/CardAccountUpdate&gt;

&lt;/CardAccountUpdater&gt;</GetCardAdminReportResult>

</GetCardAdminReportResponse>

</soap:Body>

</soap:Envelope>

Validate Web Service Examples

GetCardType

Hyperlink to GetCardType Web Service details

SOAP Request Message:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:ws="http://localhost/SmartPayments/">

<soapenv:Header/>

<soapenv:Body>

<ws:GetCardType>

<ws:CardNumber>5454545454545454</ws:CardNumber>

</ws:GetCardType>

</soapenv:Body>

</soapenv:Envelope>

Page 173: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 173 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Response Message:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<soap:Body>

<GetCardTypeResponse xmlns="http://localhost/SmartPayments/">

<GetCardTypeResult>MASTERCARD</GetCardTypeResult>

</GetCardTypeResponse>

</soap:Body>

</soap:Envelope>

GetNetworkID

Hyperlink to GetNetworkID Web Service details

SOAP Request Message:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:ws="http://localhost/SmartPayments/">

<soapenv:Header/>

<soapenv:Body>

<ws:GetNetworkID>

<ws:UserName>[API Username]</ws:UserName>

<ws:Password>[API Password]</ws:Password>

<ws:CardNumber>5076800009999997</ws:CardNumber>

</ws:GetNetworkID>

</soapenv:Body>

</soapenv:Envelope>

Response Message:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<soap:Body>

<GetNetworkIDResponse xmlns="http://localhost/SmartPayments/">

<GetNetworkIDResult>

<Result>120</Result>

<RespMSG>ERR - network not found</RespMSG>

</GetNetworkIDResult>

</GetNetworkIDResponse>

</soap:Body>

</soap:Envelope>

IsCommercialCard

Hyperlink to IsCommercialCard Web Service details

SOAP Request Message:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:ws="http://localhost/SmartPayments/">

<soapenv:Header/>

<soapenv:Body>

<ws:IsCommercialCard>

<ws:CardNumber>4111111111111111</ws:CardNumber>

</ws:IsCommercialCard>

</soapenv:Body>

</soapenv:Envelope>

Page 174: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 174 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Response Message:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<soap:Body>

<IsCommercialCardResponse xmlns="http://localhost/SmartPayments/">

<IsCommercialCardResult>false</IsCommercialCardResult>

</IsCommercialCardResponse>

</soap:Body>

</soap:Envelope>

ValidCard

Hyperlink to ValidCard Web Service details

SOAP Request Message:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:ws="http://localhost/SmartPayments/">

<soapenv:Header/>

<soapenv:Body>

<ws:ValidCard>

<ws:CardNumber>5454545454545454</ws:CardNumber>

<ws:ExpDate>1220</ws:ExpDate>

</ws:ValidCard>

</soapenv:Body>

</soapenv:Envelope>

Response Message:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<soap:Body>

<ValidCardResponse xmlns="http://localhost/SmartPayments/">

<ValidCardResult>0</ValidCardResult>

</ValidCardResponse>

</soap:Body>

</soap:Envelope>

ValidCardLength

Hyperlink to ValidCardLength Web Service details

SOAP Request Message:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:ws="http://localhost/SmartPayments/">

<soapenv:Header/>

<soapenv:Body>

<ws:ValidCardLength>

<ws:CardNumber>4111111111111111</ws:CardNumber>

</ws:ValidCardLength>

</soapenv:Body>

</soapenv:Envelope>

Response Message:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<soap:Body>

Page 175: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 175 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

<ValidCardLengthResponse xmlns="http://localhost/SmartPayments/">

<ValidCardLengthResult>true</ValidCardLengthResult>

</ValidCardLengthResponse>

</soap:Body>

</soap:Envelope>

ValidExpDate

Hyperlink to ValidExpDate Web Service details

SOAP Request Message:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:ws="http://localhost/SmartPayments/">

<soapenv:Header/>

<soapenv:Body>

<ws:ValidExpDate>

<ws:ExpDate>1220</ws:ExpDate>

</ws:ValidExpDate>

</soapenv:Body>

</soapenv:Envelope>

Response Message:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<soap:Body>

<ValidExpDateResponse xmlns="http://localhost/SmartPayments/">

<ValidExpDateResult>true</ValidExpDateResult>

</ValidExpDateResponse>

</soap:Body>

</soap:Envelope>

ValidMod10

Hyperlink to ValidMod10 Web Service details

SOAP Request Message:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:ws="http://localhost/SmartPayments/">

<soapenv:Header/>

<soapenv:Body>

<ws:ValidMod10>

<ws:CardNumber>4111111111111111</ws:CardNumber>

</ws:ValidMod10>

</soapenv:Body>

</soapenv:Envelope>

Response Message:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<soap:Body>

<ValidMod10Response xmlns="http://localhost/SmartPayments/">

<ValidMod10Result>true</ValidMod10Result>

</ValidMod10Response>

</soap:Body>

</soap:Envelope>

Page 176: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 176 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Document Revisions Version Date Notes

2.1 December 2016 Updated layout, corrected web methods, added hyperlilnks for navigation and

reordered document to reflect more efficient process flow.

2.0.05 September 2016 Corrected typographical errors and formatting issues.

2.0.04 August 2016 Updated developer notes and extended data for Recurring Payment Web

Service web methods:

ManageCheckInfo (ADD, UPDATE, DELETE)

ManageCustomer (ADD, UPDATE, DELETE)

ProcessCheck

2.0.03 August 2016 Merchant Configuration section under Administration Web Service is updated.

2.0.02 July 2016 Recurring Payment Web Service- ManageContract web method, ADD, UPDATE

and Delete sections updated.

Modified example for GetCheckTrx method.

Modified Footer.

2.0.01 July 2016 Modified example for InfoMerchant method.

Removed Check Payment Types (GUARANTEE, PAYRECEIPT, VERIFY) for

GetCheckTrx method.

Modified example for GetCheckTrx method.

Updated Developer Notes for Recurring ProcessCheck method.

Updated Developer Notes and Parameter description–s for ProcessCheck -

Auth method.

Updated Developer Notes, Parameter descriptions, a–d Example for

ProcessCheck - Sale method.

Updated Developer Notes, Parameter descriptions, an– Example for

ProcessCheck - Return method.

Updated Developer Notes and Parameter descriptions for ProcessCheck -

Force method.

Updated Developer Notes, Parameter descriptions, and Example for

ProcessCheck - Void method.

Updated Developer Notes and Parameter descriptions for ProcessCheck -

Capture method.

Updated Developer Notes and Parameter descriptions for ProcessCheck -

CaptureAll method.

Page 177: DC Gateway API Developer's Guide - directconnectps.comdirectconnectps.com/wp-content/uploads/2016/12/DC-Gateway-API... · Name-Value Pairs (NVP) Client applications may also format

Printed on: December 19, 2016 Page 177 of 177

Direct Connect Merchant Services, LLC. is a registered ISO

of Wells Fargo Bank NA, Walnut Creek, CA.

Version Date Notes

Modified Check/Gift/Loyalty table for Front End Processors section of

Appendix.

Added FirstACH Account Numbers table.

Removed GETI Account Numbers and Trigger Amounts tables.