13.01.2013 Views

Connecting to PaymentTrust's Secure Transaction Network - WorldPay

Connecting to PaymentTrust's Secure Transaction Network - WorldPay

Connecting to PaymentTrust's Secure Transaction Network - WorldPay

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Connecting</strong> <strong>to</strong> PaymentTrust’s<br />

<strong>Secure</strong> <strong>Transaction</strong> <strong>Network</strong><br />

Developer’s Guide<br />

Issued by: IT Department<br />

Issue date: December 2007<br />

Document Version – 08.24.25


Table Of Contents<br />

1 Who should read this document............................................................................................... 8<br />

2 Terminology ................................................................................................................................ 8<br />

3 Introduction................................................................................................................................. 9<br />

4 STLink overview ....................................................................................................................... 10<br />

5 <strong>Network</strong> Requirements ............................................................................................................ 12<br />

6 <strong>Transaction</strong> Specifications...................................................................................................... 13<br />

6.1 <strong>Transaction</strong> Types .........................................................................................................................13<br />

6.2 Request Type Specifications and Responses ................................................................................15<br />

RiskGuardian Request (RG)...........................................................................................................16<br />

STLink will return the following Response for a RiskGuardian Request (RG).............................21<br />

RiskGuardian Request (RG) with RequestType = R for Reprocessing .........................................23<br />

STLink will return the following Response for a RiskGuardian Request (RG) with<br />

RequestType = R ...........................................................................................................................24<br />

DataShare: ......................................................................................................................................26<br />

STLink will return the following Response for a DataSharing Request (DS) ...............................37<br />

DataShare PayBack with Electronic Credit Request (DS)(P) ........................................................38<br />

STLink will return the following items for a DataShare PayBack with Electronic<br />

Credit Request (DS)(P)...................................................................................................................47<br />

PaymentTrust Requests.......................................................................................................................48<br />

PaymentTrust Authorization Request (PT)(A)...............................................................................48<br />

STLink will return the following items for a PaymentTrust Authorization Request<br />

(PT)(A) ...........................................................................................................................................56<br />

PaymentTrust Forced Authorization Request (PT)(A)...................................................................58<br />

STLink will return the following items for a PaymentTrust Forced Authorization<br />

Request (PT)(A) .............................................................................................................................66<br />

PaymentTrust Deposit (Settlement) Request (PT)(D)....................................................................67<br />

STLink will return the following items for a PaymentTrust Deposit (Settlement)<br />

Request (PT)(D) .............................................................................................................................69<br />

PaymentTrust Refund Request (PT)(R) .........................................................................................70<br />

STLink will return the following items for a PaymentTrust Refund Request (PT)(R)..................71<br />

PaymentTrust Forced Refund Request (PT)(R) .............................................................................73<br />

STLink will return the following items for a PaymentTrust Forced Refund Request<br />

(PT)(R) ...........................................................................................................................................75<br />

PaymentTrust Finalize Request (PT)(F).........................................................................................76<br />

STLink will return the following items for a PaymentTrust Finalize Request<br />

(PT)(F)............................................................................................................................................77<br />

PaymentTrust Simultaneous Authorization and Settlement (Sale) Request (PT)(S) .....................78<br />

2


3<br />

STLink will return the following items for a PaymentTrust Simultaneous ...................................84<br />

PaymentTrust Simultaneous Forced Authorization and Settlement (Sale) Request<br />

(PT)(S)............................................................................................................................................85<br />

STLink will return the following items for a PaymentTrust Simultaneous ...................................93<br />

PaymentTrust Cancellation Request (PT)(C).................................................................................94<br />

STLink will return the following items for a PaymentTrust Cancellation Request<br />

(PT)(C) ...........................................................................................................................................95<br />

PaymentTrust PayBack <strong>to</strong> Credit Card Request (PT)(P) ...............................................................96<br />

STLink will return the following items for a PaymentTrust PayBack <strong>to</strong> Credit Card<br />

Request (PT)(P)............................................................................................................................100<br />

PaymentTrust PayBack with Cheque Request (PT)(P)................................................................101<br />

STLink will return the following items for a PaymentTrust PayBack with Cheque<br />

Request (PT)(P)............................................................................................................................103<br />

PaymentTrust PayBack with Electronic Credit Request (PT)(P).................................................104<br />

STLink will return the following items for a PaymentTrust PayBack with<br />

Electronic Credit Request (PT)(P)................................................................................................107<br />

PaymentTrust Bank Transfer ID (BTS) Request (PT)(B)............................................................108<br />

STLink will return the following items for a PaymentTrust Bank Transfer ID<br />

Request (PT)(B)............................................................................................................................109<br />

PaymentTrust Deposit (Settlement) Request (PT)(D) for PURCHASING CARDS<br />

(VISA, AMEX, MASTER CARD)..............................................................................................110<br />

STLink will return the following items for a PaymentTrust Deposit (Settlement)<br />

Request (PT)(D) for PURCHASING CARDS.............................................................................116<br />

PaymentTrust Simultaneous Authorization and Settlement (Sale) Request (PT)(S)<br />

for PURCHASING CARDS (VISA, AMEX, MASTER CARD) ...............................................117<br />

STLink will return the following items for a PaymentTrust Simultaneous<br />

Authorization and Settlement (Sale) Request (PT)(S) for PURCHASING CARDS...................123<br />

PaymentTrust Refund Request (PT)(R) for PURCHASING CARDS (VISA,<br />

AMEX, MASTER CARD)...........................................................................................................125<br />

STLink will return the following items for a PaymentTrust Refund Request (PT)(R)<br />

for PURCHASING CARDS.........................................................................................................132<br />

3D <strong>Secure</strong> Requests...........................................................................................................................133<br />

3D <strong>Secure</strong> Verify Enrollment Request (3D)(V)...........................................................................133<br />

STLink will return the following items for a 3D <strong>Secure</strong> Verify Enrollment Request<br />

(3D)(V).........................................................................................................................................134<br />

3D <strong>Secure</strong> Authenticate Request (3D)(A)....................................................................................135<br />

STLink will return the following items for a 3D <strong>Secure</strong> Authenticate Request<br />

(3D)(A).........................................................................................................................................137<br />

Foreign Exchange Requests ..............................................................................................................139<br />

Foreign Exchange Rate Request (FX)(X) ....................................................................................139<br />

STLink will return the following items for a Foreign Exchange Rate Request<br />

(FX)(X).........................................................................................................................................141<br />

Foreign Exchange Placement Request (FX)(D)...........................................................................142<br />

STLink will return the following items for a Foreign Exchange Placement Request<br />

(FX)(D).........................................................................................................................................143<br />

Foreign Exchange Refund Request (FX)(R) ................................................................................144


4<br />

STLink will return the following items for a Foreign Exchange Refund Request<br />

(FX)(R).........................................................................................................................................145<br />

Foreign Exchange Cancellation Request (FX)(C)........................................................................146<br />

STLink will return the following items for a Foreign Exchange Cancel Request<br />

(FX)(C).........................................................................................................................................147<br />

BIN System Request .........................................................................................................................148<br />

BIN System Request (BN) (Also known as Issuer Identification Number).................................148<br />

STLink will return the following items for a BIN Request (BN).................................................149<br />

IP Geo Positioning Request ..............................................................................................................150<br />

IP Geo Positioning Request (GP).................................................................................................150<br />

STLink will return the following items for an IP Geo Positioning Request (GP) .......................150<br />

Identify Me System Request .............................................................................................................152<br />

Identify Me System Request (IM)................................................................................................152<br />

STLink will return the following items for an Identify Me Request (IM) ...................................162<br />

Supplementary Requests ...................................................................................................................167<br />

Supplementary RG(Q) Request....................................................................................................167<br />

STLink will return the following Response for a Risk Guardian Query Request (Q) .................168<br />

Supplementary DS(Q) Request ....................................................................................................170<br />

STLink will return the following Response for a Data Share Query Request (Q).......................171<br />

Supplementary (Q) Request for PaymentTrust (PT) communication failures. ............................172<br />

STLink will return the following items for a Query Request (Q) on PaymentTrust<br />

(PT) network communication failures..........................................................................................173<br />

Supplementary (Q) Request for Batch Submissions ....................................................................175<br />

STLink will return the following items for a Query Request (Q) on a PaymentTrust<br />

(PT) batch .....................................................................................................................................176<br />

Supplementary FX(Q) Request for pending transactions.............................................................178<br />

STLink will return the following items for a Query Request (Q) on Foreign<br />

Exchange ......................................................................................................................................179<br />

Supplementary BN(Q) Request....................................................................................................180<br />

STLink will return the following Response for a BIN Query Request (Q)..................................180<br />

Supplementary GP(Q) Request ....................................................................................................182<br />

STLink will return the following Response for an IP Geo Positioning (GP) Query<br />

Request (Q)...................................................................................................................................182<br />

Supplementary IM(Q) Request.....................................................................................................184<br />

STLink will return the following Response for an Identify Me (IM) Query Request<br />

(Q).................................................................................................................................................184<br />

6.3 XML Definitions.........................................................................................................................189<br />

RiskGuardian Request (RG).........................................................................................................189<br />

RiskGuardian Request (RG) with RequestType = R for Reprocessing .......................................191<br />

DataShare: ....................................................................................................................................192<br />

Data Sharing PayBack with Electronic Credit Request (DS)(P)..................................................195<br />

PaymentTrust Authorization Request (PT)(A).............................................................................198<br />

PaymentTrust Forced Authorization Request (PT)(A).................................................................199<br />

PaymentTrust Deposit (Settlement) Request (PT)(D)..................................................................201<br />

PaymentTrust Refund Request (PT)(R) .......................................................................................202<br />

PaymentTrust Forced Refund Request (PT)(R) ...........................................................................202<br />

PaymentTrust Simultaneous Authorization and Settlement (Sale) Request (PT)(S) ...................203


5<br />

PaymentTrust Simultaneous Forced Authorization and Settlement (Sale) Request<br />

(PT)(S)..........................................................................................................................................204<br />

PaymentTrust Cancellation Request (PT)(C)...............................................................................205<br />

PaymentTrust PayBack with Credit Card Request (PT)(P) .........................................................206<br />

PaymentTrust PayBack with Cheque Request (PT)(P)................................................................207<br />

PaymentTrust PayBack with Electronic Credit Request (PT)(P).................................................208<br />

PaymentTrust Bank Transfer ID Request (PT)(B).......................................................................209<br />

PaymentTrust Deposit (Settlement) Request (PT)(D) for PURCHASING CARDS<br />

(VISA, AMEX, MASTER CARD)..............................................................................................210<br />

PaymentTrust Simultaneous Authorization and Settlement (Sale) request (PT)(S)<br />

for PURCHASING CARDS (VISA, AMEX, MASTER CARD) ...............................................212<br />

PaymentTrust Refund Request (PT)(R) for PURCHASING CARDS (VISA,<br />

AMEX, MASTER CARD)...........................................................................................................214<br />

Data Sharing Batch Request (DS) ................................................................................................216<br />

PaymentTrust Forced Authorization Batch Request (PT)(A) ......................................................219<br />

PaymentTrust Deposit (Settlement) Batch Request (PT)(D) .......................................................221<br />

PaymentTrust Refund Batch Request (PT)(R).............................................................................222<br />

PaymentTrust Forced Refund Batch Request (PT)(R).................................................................223<br />

PaymentTrust Simultaneous Authorization and Settlement (Sale) Batch Request<br />

(PT)(S)..........................................................................................................................................224<br />

PaymentTrust Simultaneous Forced Authorization and Settlement (Sale) Batch<br />

Request (PT)(S)............................................................................................................................226<br />

PaymentTrust Cancellation Batch Request (PT)(C).....................................................................228<br />

PaymentTrust PayBack with Credit Card Batch Request (PT)(P) ...............................................229<br />

PaymentTrust PayBack with Cheque Batch Request (PT)(P)......................................................230<br />

PaymentTrust PayBack with Electronic Credit Batch Request (PT)(P) ......................................231<br />

PaymentTrust Bank Transfer ID Batch Request (PT)(B).............................................................232<br />

PaymentTrust Deposit (Settlement) Batch Request (PT)(D) for PURCHASING<br />

CARDS (VISA, AMEX, MASTER CARD)................................................................................233<br />

PaymentTrust Simultaneous Authorization and Settlement (Sale) Batch Request<br />

(PT)(S) for PURCHASING CARDS (VISA, AMEX, MASTER CARD) ..................................235<br />

PaymentTrust Refund Batch Request (PT)(R) for PURCHASING CARDS (VISA,<br />

AMEX, MASTER CARD)...........................................................................................................237<br />

3D <strong>Secure</strong> Verify Enrollment Request (3D)(V)...........................................................................239<br />

3D <strong>Secure</strong> Authenticate Request (3D)(A)....................................................................................239<br />

Foreign Exchange Rate Request (FX)(X) ....................................................................................240<br />

Foreign Exchange Placement Request (FX)(D)...........................................................................240<br />

Foreign Exchange Refund Request (FX)(R) ................................................................................241<br />

Foreign Exchange Cancellation Request (FX)(C)........................................................................241<br />

BIN System Request (BN) (Also known as Issuer Identification Number).................................242<br />

IP Geo Positioning Request (GP).................................................................................................242<br />

Identify Me Request (IM).............................................................................................................243<br />

RiskGuardian (RG) Supplementary (Q) Request.........................................................................245<br />

DataShare (DS) Supplementary (Q) Request...............................................................................246<br />

PaymentTrust (PT) Supplementary (Q) Request for communication failures. ............................247<br />

PaymentTrust (PT) Supplementary (Q) Request for Batch Submissions ....................................248<br />

Foreign Exchange Supplementary (Q) Request ...........................................................................249


BIN (BN) Supplementary (Q) Request ........................................................................................250<br />

IP Geo Positioning (GP) Supplementary (Q) Request .................................................................250<br />

Identify Me (IM) Supplementary (Q) Request.............................................................................250<br />

DataShare: His<strong>to</strong>rical Data Loading.............................................................................................251<br />

HDL Header .................................................................................................................................251<br />

HDL Record Event.......................................................................................................................251<br />

7 DEVELOPMENT ...................................................................................................................... 263<br />

8 Appendices ............................................................................................................................. 278<br />

6


© 2000-2006 PaymentTrust Ltd. All rights reserved.<br />

PaymentTrust Developer’s Guide<br />

Version 08.24.25<br />

Issue date: December 2007<br />

Document Control:<br />

Author: IT Department<br />

This document is protected by the copyright laws and treaties and may not be reproduced, s<strong>to</strong>red in<br />

a retrieval system or transmitted in any form or by any means (pho<strong>to</strong>copying, recording, or<br />

otherwise) without permission from PaymentTrust Ltd., Royal Bank of Scotland.<br />

RiskGuardian TM , PaymentTrust TM, and the PaymentTrust Ltd. logo are<br />

trademarks or service marks of Royal Bank of Scotland. All other marks<br />

listed in this document may be trademarks of their respective owners and<br />

are mentioned for identification purposes only.<br />

PaymentTrust Canada<br />

9900 Cavendish Blvd, Suite 206<br />

Canada H4M 2V2<br />

Phone +1 514.336.4949<br />

Fax +1 514.336.0239<br />

7


1 Who should read this document<br />

This document is designed for Developers/Integra<strong>to</strong>rs and System Administra<strong>to</strong>rs who are in<br />

charge of implementing a link in<strong>to</strong> the <strong>Secure</strong> <strong>Transaction</strong> <strong>Network</strong>.<br />

8<br />

It also represents an information guide for Project Managers and IT Management personnel<br />

who want more detailed information on the functionality of <strong>Secure</strong> <strong>Transaction</strong> System.<br />

2 Terminology<br />

The following is a glossary of terms and abbreviations used in this document:<br />

Term or Abbreviation Definition<br />

STLink: <strong>Secure</strong> <strong>Transaction</strong> Link<br />

STN: <strong>Secure</strong> <strong>Transaction</strong> <strong>Network</strong><br />

SSL: <strong>Secure</strong> Sockets Layer<br />

API: Application Program Interface<br />

ASP: Active Server Pages<br />

CGI: Common Gateway Interface<br />

VPN: Virtual Private <strong>Network</strong><br />

RG -RM: RiskGuardian - Risk Management<br />

PT -PP: PaymentTrust - Payment Processing<br />

Includes PaymentTrust (PT), RiskGuardian (RG), Bins<br />

<strong>Transaction</strong> Services: (BN), Bank Transfer Service (BT) and others.<br />

Merchant : PaymentTrust Ltd. Client


3 Introduction<br />

The <strong>Secure</strong> <strong>Transaction</strong> <strong>Network</strong> (STN) is a collection of robust, multithreaded and real-time<br />

transaction systems (See Figure 1 below). STN is composed of the <strong>Secure</strong> <strong>Transaction</strong> Link<br />

(STLink) system and back-end <strong>Transaction</strong> Services. STLink receives transaction<br />

information from merchants, processes the information through one of the many transaction<br />

services, and sends the response back <strong>to</strong> the merchant’s requesting system. All Internet<br />

communication mentioned in this document is executed via an Internet 128 bit <strong>Secure</strong><br />

Sockets Layer (SSL) connection, or an Internet Virtual Private <strong>Network</strong> (VPN) connection<br />

using the Triple DES standard.<br />

9<br />

VIA Internet<br />

HTTPS/XML<br />

SSL 128 bit<br />

FireWall<br />

HTTP/XML<br />

VPN Hardware<br />

Triple DES<br />

<strong>Secure</strong> <strong>Transaction</strong> Link System<br />

Serialization and Dispatch<br />

PaymentTrust RiskGuardian<br />

HTTP/HTTPS/XML<br />

Direct Link<br />

(On Demand)<br />

BIN request and<br />

other services


4 STLink overview<br />

<strong>Secure</strong> <strong>Transaction</strong> Link (STLink) is a high performance communication solution.<br />

10<br />

STLink is a service of on-demand secure communication links between the <strong>Secure</strong><br />

<strong>Transaction</strong> <strong>Network</strong> (STN) and a PaymentTrust Ltd. Client (Merchant). STLink conforms <strong>to</strong><br />

encryption and pro<strong>to</strong>col standards as described below (See Figure 2 for network<br />

implementation).<br />

<strong>Transaction</strong>s sent between a PaymentTrust Ltd. Merchant and the STN travel securely via a<br />

128-bit SSL Internet connection. The STLink system also allows for a hardware encryption<br />

method/solution using VPN technology & IPSEC standards.<br />

The Merchant’s own application will reside on his system and will be accessible via major<br />

web servers, <strong>Transaction</strong> platforms, and back-end systems. Merchants will be using<br />

PaymentTrust Ltd.’s technical specs as guidance <strong>to</strong> develop their own applications.<br />

PaymentTrust Ltd. provides Merchants example code in ASP/VB, C++, Java, HTML and<br />

XML. Merchants may choose <strong>to</strong> use their own samples and applications <strong>to</strong> send transaction<br />

information but must conform <strong>to</strong> the string requirements set in this document.<br />

<strong>Transaction</strong> Services<br />

STLink System<br />

<strong>Secure</strong> <strong>Transaction</strong> <strong>Network</strong><br />

VPN<br />

SSL<br />

HTTP(s)<br />

Post/Get/XML<br />

VPN<br />

Merchants<br />

Merchants<br />

Merchants<br />

The STN is comprised of three layers. Descriptions of these layers can be found below in Figure<br />

3.


11<br />

Authentication<br />

Communication<br />

STlink within STN<br />

Security<br />

<strong>Network</strong> TCP/IP (Internet)<br />

Access<br />

SSL / VPN<br />

(Cryp<strong>to</strong>graphy)<br />

* Platform Independent<br />

Fig. 3 <strong>Secure</strong> <strong>Transaction</strong> Services <strong>Network</strong> - Communication Pro<strong>to</strong>col Layers<br />

NETWORK LAYER: This layer is handled exclusively by the designated Internet Service<br />

Provider.<br />

SECURITY LAYER:<br />

a) The Security Layer will be handled either by 128-bit SSL certificate or a secure<br />

tunnel Triple DES VPN conforming <strong>to</strong> the IPSEC standard. PaymentTrust Ltd. will<br />

provide at an additional cost the VPN hardware equipment if required.<br />

b) The Security Layer also includes the Merchant access layer in<strong>to</strong> the <strong>Secure</strong><br />

<strong>Transaction</strong> <strong>Network</strong> (STN). This involves the use of a Merchant ID, a Username<br />

and Password, which are sent as a string <strong>to</strong> STLink.<br />

STLINK APPLICATION:<br />

The Application Layer manipulates data using HTTP(S) GET/POST request or an XML<br />

request and communicates via standard ports 443 for SSL or port 80 for VPN. The system<br />

can intelligently process a request whether GET/POST or XML. The request (an input string)<br />

is routed with the STN <strong>to</strong> the appropriate service for processing – PT, RG, and others. The<br />

system returns the response <strong>to</strong> the requesting URL. Should the delivery fail, the system will<br />

capture the error, inform the merchant and s<strong>to</strong>re the information for later reporting. Captured<br />

errors are further analyzed. When the delivery is successful, the merchant receives a<br />

response and stamps each transaction with an appropriate message code. Please note that<br />

for larger strings sizes the GET method should not be used.<br />

The input string/message sent by the Merchant is s<strong>to</strong>red in a serialized database with a<br />

unique serial number. PaymentTrust Ltd. maintains a log of any transaction requested by the<br />

Merchant and responds with a real-time message which will encapsulate information<br />

regarding:<br />

Integrity of the message sent by the Merchant – if a message is received truncated/<br />

incomplete or in a tampered condition, the STLink application will capture the error and<br />

will respond with the appropriate error message <strong>to</strong> the merchant’s system;


12<br />

Authentication of sending and receiving agents (attributes that assure a given request is<br />

received from a specific trading partner) – messages between Merchant and<br />

PaymentTrust Ltd. must contain attributes that identify and recognize a specific<br />

Merchant;<br />

The Type of <strong>Transaction</strong> requested along with processing statistics. I.e. An RG<br />

transaction that <strong>to</strong>ok 2 seconds <strong>to</strong> process from IP NNN.NNN.NNN.NNN using SSL etc.<br />

It must be noted that the STLink system is Payload independent – data<br />

within the communication link is independent and can accommodate any<br />

type of <strong>Transaction</strong>, for example, an RG transaction with the same ease<br />

as a PT transaction. This eases the transition when new services become<br />

available.<br />

The STLink system is based on HTTP/1.1 as a transport pro<strong>to</strong>col as well as XML 1.0. It uses<br />

generic pro<strong>to</strong>cols for communication between user agents and proxies/gateways and other<br />

Internet systems. Communication between a PaymentTrust Ltd. Merchant and a STN will be<br />

achieved through request messages and response messages. The STLink system<br />

implements and exploits the advantages provided by HTTP(S) and XML.<br />

5 <strong>Network</strong> Requirements<br />

The following is required prior <strong>to</strong> testing of the STN and STLink system by Merchants.<br />

Internet access or dedicated link in<strong>to</strong> the <strong>Secure</strong> <strong>Transaction</strong> <strong>Network</strong><br />

The originating external IPs if SSL is used, or the internal IP addresses of the computers<br />

that will participate in the VPN, as well as the external IP it will use.<br />

Name and phone number of the designated technician or administra<strong>to</strong>r responsible for<br />

the integration process.<br />

Notification when the testing process is complete.<br />

Our <strong>Network</strong> Operations Team will at that point take over of the process. The Merchant will<br />

receive the following items from PaymentTrust Ltd.:<br />

VPN hardware if this is the solution chosen.<br />

SSL URL if SSL is chosen (High Encryption Pack).


6 <strong>Transaction</strong> Specifications<br />

6.1 <strong>Transaction</strong> Types<br />

For the purpose of this document we will focus on 3 transaction types through STLink and<br />

STN: PT for PaymentTrust and RG for RiskGuardian and BN for BIN System also known<br />

as Issuer Identification System.<br />

13<br />

RiskGuardian TM (RG):<br />

RiskGuardian is a secure risk management solution that allows merchants <strong>to</strong> securely<br />

manage the risk associated with doing business on the Internet. RiskGuardian provides a<br />

set of static risk fac<strong>to</strong>rs, determined by PaymentTrust Ltd., and a set of cus<strong>to</strong>mizable risk<br />

fac<strong>to</strong>rs, which the merchant can alter <strong>to</strong> manage their risk on an individual basis.


14<br />

RG Features:<br />

Provides risk management and assessment for online transactions<br />

Total overhead is less than three seconds<br />

Merchant controlled parameters and values<br />

Online reporting and administration <strong>to</strong>ols<br />

Export and Import capabilities for mass updates<br />

Focused on identity theft through Internet aware as well as traditional parameters<br />

Over 60 parameters and 300 algorithms and cross checks performed<br />

Data Sharing (DS)<br />

Marketing information <strong>to</strong> come…<br />

PaymentTrust TM (PT):<br />

PaymentTrust provides cost-effective, reliable and secure transaction processing solutions<br />

for online businesses. PaymentTrust enables Internet businesses <strong>to</strong> authorize, process and<br />

manage Credit Card, Debit Card, Electronic Cheque and Purchasing Card transactions in<br />

real-time, as well as Bank Transfers and Credit Card Payback.<br />

PaymentTrust offers merchants easy <strong>to</strong> use <strong>to</strong>ols <strong>to</strong> effectively manage their online<br />

payment activities. Merchants can benefit from global business opportunities through the<br />

ability <strong>to</strong> process and deposit payments in multiple currencies.<br />

Once the cus<strong>to</strong>mer clicks on the "buy" but<strong>to</strong>n, the merchant's s<strong>to</strong>refront establishes a<br />

connection <strong>to</strong> the PaymentTrust system via STLink. PaymentTrust then establishes contact<br />

with the credit card processor and a credit card authorization is completed in real-time. The<br />

transaction is logged in the database for recovery.<br />

PT <strong>Transaction</strong> Types<br />

Authorization<br />

Cancel<br />

Settlement<br />

Sale<br />

Refund<br />

Finalize<br />

Payback<br />

Bank Transfer<br />

Query<br />

Foreign Exchange (FX):<br />

FXMicroPay allows you <strong>to</strong> trade foreign exchange in over 600 currency pairings via batch<br />

or real-time API access <strong>to</strong> the interbank market. The service assumes the risk of currency<br />

exposure market risk and can tailor rates <strong>to</strong> cus<strong>to</strong>mer's specific requirements. Scalable <strong>to</strong><br />

3,000 transactions per second and available 24/7, FXMicroPay offers wholesale execution<br />

efficiencies on even the smallest transactions.<br />

BIN System (BN):<br />

PaymentTrust Ltd.’s Bank Identification Number System provides, secure transaction<br />

processing in order for merchants <strong>to</strong> identify a card Issuer worldwide. The system accepts<br />

a Card number and responds <strong>to</strong> the merchant with the Card Type, Issuing Country Code<br />

and Issuing Bank.<br />

IP Geo Positioning System (GP):<br />

PaymentTrust Ltd.’s Internet Geo Positioning System provides, secure transaction<br />

processing in order for merchants <strong>to</strong> identify a consumer’s Geographic location by usage of<br />

their IP address. The system accepts an IP address or a DNS entry and responds <strong>to</strong> the<br />

merchant with the Country Code, Region, City and other details on that request.


15<br />

Supplementary (Q) Request:<br />

PaymentTrust Ltd. allows merchant’s <strong>to</strong> conduct queries in order <strong>to</strong> update their systems<br />

from batch transaction details they have submitted earlier. Once a batch is submitted for<br />

processing a merchant may wish <strong>to</strong> find the status of each transaction within a batch. At<br />

any later stage and at least 30 minutes after a batch has been submitted a merchant can<br />

issue a Q <strong>Transaction</strong> Type with a Batch ID and receive back an XML file which will detail<br />

each transaction and the result. The result of each transaction within the Q response<br />

would follow the same rules as if it were a single transaction. Please see the XML schemas<br />

in section 6.3 for more information. In the Case of Bank Transfers a BatchID is not needed<br />

but rather a request type.<br />

6.2 Request Type Specifications and Responses<br />

Each of the transaction types described in Section 6.1 has fields that must be sent for a<br />

proper response <strong>to</strong> be sent back <strong>to</strong> the merchant. There are manda<strong>to</strong>ry as well as optional<br />

fields depending on <strong>Transaction</strong> Type. This section describes each of these fields and<br />

provides sample values for each.<br />

Every transaction request has an associated transaction response sent back <strong>to</strong> the<br />

merchant in real-time with the exception of the Batch processing part of the system.<br />

In Batch mode the system only sends back a BatchId that the file has been accepted and<br />

that it will be processed in accordance with the schedule. Batch submissions can only be<br />

sent via XML and will only work with PaymentTrust, D, R and P Request Types as well as<br />

with forced A and S and R and the BIN System requests.<br />

All transaction types are independent of each other and can be used separately.


RiskGuardian Request (RG)<br />

RiskGuardian is a secure Risk Management Solution that allows Merchants <strong>to</strong> securely manage and<br />

assess risk presented with financial card transactions. RiskGuardian provides a set of static risk fac<strong>to</strong>rs<br />

based on PaymentTrust Ltd. control and a set of modifiable risk fac<strong>to</strong>rs regulated by merchants in real<br />

time; allowing merchants <strong>to</strong> tailor the risk assessment <strong>to</strong> their industry specific needs. RiskGuardian’s<br />

latest feature allows for the inclusion of the AgeVerify and DataSharing Flag <strong>to</strong> be sent along side a<br />

normal RG string. By default a merchant is disabled for the Age Verification and Data Sharing thus the<br />

flag is always set <strong>to</strong> 0. However if the flag is set <strong>to</strong> one then a new set of verifications will take place<br />

that will result in an analysis of certain fields along with some new additional fields.<br />

Field Name Data Type Data Size Description<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

StringIn= N/A N/A<br />

Must be at beginning of all strings. Capitals must<br />

be used as shown.<br />

Note: Not required for XML batch requests.<br />

M<br />

VersionUsed Alphanumeric 4<br />

Version Used specific <strong>to</strong> <strong>Transaction</strong> Type<br />

Example “4” for RG<br />

Permanent Merchant ID assigned by<br />

M<br />

MerchantId Numeric N/A PaymentTrust Ltd.<br />

Example “100000”<br />

M<br />

UserName Alphanumeric 15<br />

UserName assigned by PaymentTrust Ltd.<br />

Example “Mariah”<br />

M<br />

UserPassword Alphanumeric 15<br />

UserPassword assigned by PaymentTrust Ltd.<br />

Example “rr87uy”<br />

M<br />

<strong>Transaction</strong>Type Alphanumeric 2 <strong>Transaction</strong> Type, “RG” for RiskGuardian M<br />

IsTest Numeric 1<br />

''1' for "Test", '0' for "Live",<br />

Note: Defaults <strong>to</strong> 0 if left blank<br />

Indicates the maximum time the merchant allows<br />

O<br />

TimeOut Numeric N/A for the transaction, in milliseconds<br />

Example “60000”<br />

For use <strong>to</strong> differentiate between Merchants or<br />

M<br />

S<strong>to</strong>reID Alphanumeric 10<br />

S<strong>to</strong>res. Permanent S<strong>to</strong>re ID assigned by<br />

PaymentTrust Ltd. or Merchant if left blank<br />

Example “100000”<br />

Account type.<br />

CC - Visa & MasterCard debit & credit cards,<br />

Carte Bancaire, Carte Bleue<br />

DS - Switch/Solo debit cards<br />

CQ - Cheques<br />

O<br />

MOP Alpha 2<br />

EC - Electronic cheques or credit<br />

DC - Debit Card PIN enabled cards<br />

PC - Purchasing cards<br />

NT - Net Teller<br />

P2 – Pay 2<br />

Example: “CC”<br />

M<br />

16


Field Name Data Type Data Size Description<br />

TRXSource Numeric N/A<br />

Track2Data Alphanumeric 100<br />

TypeOfSale Alphanumeric 1<br />

OrderNumber Alphanumeric 35<br />

AcctName Alphanumeric 30<br />

AcctNumber Numeric N/A<br />

AcctNumber2 Numeric N/A<br />

ExpDate Numeric N/A<br />

CurrencyId Numeric N/A<br />

17<br />

Indicates the method used <strong>to</strong> receive the<br />

CreditCard information.<br />

1 - Swiped with a Card Present<br />

2 - Keyed by merchant with a Card present<br />

3 - Mail Order Telephone Order MOTO (Card Not<br />

Present)<br />

4 - Web orders (Card not present)<br />

5 – Web orders (Card not present, e-mail not<br />

present)<br />

9 – Integrated Circuit Card<br />

Note: Defaults <strong>to</strong> the Merchant default value during setup.<br />

Note: Manda<strong>to</strong>ry for ICC transactions.<br />

Indicates swipe information from the Track2data<br />

of the Card when the TRXSource is 1 (Swiped<br />

with a Card Present)<br />

Example:<br />

“;4459510002561039=09100000000000000000?”<br />

Note: This becomes a manda<strong>to</strong>ry field when<br />

TRXSource =1 or TRXSource = 9 for a down<br />

graded ICC transaction.<br />

‘H’ Hard goods, = Requires Shipping Details<br />

‘D’ Digital goods, = Does not Require Shipping<br />

Details<br />

‘S’ Service, = Does not Require Shipping Details<br />

Specific Order number submitted by the Merchant<br />

for tracking purposes.<br />

Example “10098987”<br />

Note: If no order number is submitted the system<br />

will generate one for the merchant at the time of<br />

the transaction.<br />

Account holder name on card or account<br />

Example “John Smith”<br />

Credit card number, Debit Card number,<br />

Purchase Card number, Bank account number, or<br />

any other applicable Bank Identifier.<br />

Example “4459510002561039”<br />

Secondary Credit card number, Debit Card<br />

number, Purchase Card number, Bank account<br />

number, or any other applicable Bank Identifier.<br />

Example “4459510002561039”<br />

Note: Primary usage is for prepaid cards.<br />

Expiry date for credit card in MMYYYY format<br />

Example “092010”<br />

Note: Manda<strong>to</strong>ry for CC, PC and DS MOP types.<br />

ISO standard numeric ids<br />

Example 840 = USD, 124 = CAD, 826 = GBP<br />

Note: Please see Appendix B for complete list of<br />

values.<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

O<br />

O<br />

O<br />

O<br />

M<br />

M<br />

O<br />

O<br />

M


Field Name Data Type Data Size Description<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

Amount Numeric N/A<br />

<strong>Transaction</strong> amount. Up <strong>to</strong> 4 decimals maximum.<br />

Decimal varies based on CurrencyId.<br />

Example 840 = “56.78”, 392 = “99”, 048 =<br />

“125.333”<br />

Number of full months that the cus<strong>to</strong>mer has been<br />

M<br />

IsMember Numeric N/A<br />

a member with the Merchant.<br />

Example “9”<br />

Note: Set <strong>to</strong> 0 for new cus<strong>to</strong>mer.<br />

1 sets the flag <strong>to</strong> verify the age, 0 or if flag is not<br />

O<br />

AgeVerify Numeric N/A sent will not test for Age verification.<br />

Note: Defaults <strong>to</strong> 0 if left blank<br />

The Date Of Birth as entered by the consumer in<br />

a DDMMYYYY format.<br />

Example “23091963”<br />

O<br />

DOB Numeric N/A Note: Please make sure that single digit months<br />

are padded with zero in the beginning. i.e 9<br />

becomes 09. Also note that this field is important<br />

only when the AgeVerify flag is set <strong>to</strong> 1<br />

In Countries where ID is required as an additional<br />

doc <strong>to</strong> verify the age then the type of the ID that is<br />

being sent must be provided.<br />

PP – PassPort<br />

O<br />

IDType Alpha 2<br />

DL – Drivers License<br />

CC – Citizenship Card ID<br />

MD – Medical ID<br />

SI – Social Insurance Number<br />

OT – Other<br />

Note: Manda<strong>to</strong>ry depending on country.<br />

In Countries where ID is required as an additional<br />

doc <strong>to</strong> verify the age then based on the type<br />

O<br />

IDNumber Alphanumeric 100 specified in the IDType field a number is provided.<br />

Example “XJK23091963” or “jhsdgf743hgwf”<br />

Note: Manda<strong>to</strong>ry depending on country<br />

1 sets the flag <strong>to</strong> share risk data, 0 or if flag is not<br />

O<br />

DataSharing Numeric N/A sent will not send the transaction for data sharing.<br />

Note: Defaults <strong>to</strong> 0 if left blank<br />

O<br />

Title Alphanumeric 20<br />

Billing contact Title<br />

Example “Sir”<br />

O<br />

Company Alphanumeric 60<br />

Billing contact company<br />

Example “PaymentTrust Ltd.”<br />

O<br />

FirstName Alphanumeric 60<br />

Billing contact First Name<br />

Example “John”<br />

M<br />

MiddleName Alphanumeric 60 Billing contact Middle Name O<br />

LastName Alphanumeric 60<br />

Billing contact Last Name<br />

Example “Smith”<br />

M<br />

Suffix Alphanumeric 20<br />

Billing contact suffix<br />

Example “3rd”<br />

O<br />

Address1 Alphanumeric 60<br />

Billing contact Address line 1<br />

Example “2130 Gold”<br />

M<br />

Address2 Alphanumeric 60<br />

Billing contact Address line 2<br />

Example “Suite101”<br />

O<br />

Address3 Alphanumeric 60 Billing contact Address line 3 O<br />

City Alphanumeric 60<br />

Billing contact City<br />

Example “New York”<br />

M<br />

18


Field Name Data Type Data Size Description<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

StateCode Alphanumeric 60<br />

Billing contact state code, two-character long ISO<br />

code required for North America. Remaining<br />

Region and Provinces around the world may use<br />

free form field<br />

Example “NY”<br />

Note: Please See Appendix E for complete list of<br />

values<br />

O<br />

ZipCode Alphanumeric 30<br />

Billing contact ZIP / Postal Code<br />

Example “90210”<br />

Billing contact ISO Country Code<br />

O<br />

CountryCode Alpha 2<br />

Example “US”<br />

Note: Please See Appendix D for complete list of<br />

values<br />

Billing contact Phone Number, only digits, no<br />

M<br />

PhoneNumber Alphanumeric 30 parentheses<br />

Example “6188565656”<br />

M<br />

PhoneExtension Alphanumeric 10<br />

Billing contact Phone Extension<br />

Example “5654”<br />

Billing contact Email address<br />

Note: This field is optional for MOTO<br />

O<br />

Email Alphanumeric 50 <strong>Transaction</strong>s where TRXSource = 3.<br />

Example “johns@aol.com”<br />

Note: Manda<strong>to</strong>ry when TRXSource is set <strong>to</strong> 4.<br />

Ship <strong>to</strong> contact Title<br />

O<br />

ShipToTitle Alphanumeric 20 Only if TypeOfSale = H.<br />

Example “Sir”<br />

O<br />

ShipToCompany Alphanumeric<br />

60<br />

Ship <strong>to</strong> contact company<br />

Only if TypeOfSale = H.<br />

Example “PaymentTrust Ltd.”<br />

Ship <strong>to</strong> contact First Name<br />

O<br />

ShipToFirstName Alphanumeric<br />

60 Only if TypeOfSale = H.<br />

Example “John”<br />

Note: This becomes a manda<strong>to</strong>ry field when<br />

TypeOfSale is “H”<br />

O<br />

ShipToMiddleName Alphanumeric<br />

60 Ship <strong>to</strong> contact Middle Name<br />

Only if TypeOfSale = H.<br />

O<br />

ShipToLastName Alphanumeric 60<br />

ShipToSuffix Alphanumeric 20<br />

ShipToAddress1 Alphanumeric 60<br />

ShipToAddress2 Alphanumeric 60<br />

ShipToAddress3 Alphanumeric 60<br />

19<br />

Ship <strong>to</strong> contact Last Name<br />

Only if TypeOfSale = H.<br />

Example “Smith”<br />

Note: This becomes a manda<strong>to</strong>ry field when<br />

TypeOfSale is “H”<br />

Ship <strong>to</strong> contact suffix<br />

Only if TypeOfSale = H<br />

Example “3rd”<br />

Ship <strong>to</strong> contact Address line 1<br />

Only if TypeOfSale = H.<br />

Example “2130 Gold”<br />

Note: This becomes a manda<strong>to</strong>ry field when<br />

TypeOfSale is “H”<br />

Ship <strong>to</strong> contact Address line 2<br />

Only if TypeOfSale = H.<br />

Example “Suite101”<br />

Ship <strong>to</strong> contact Address line 3<br />

Only if TypeOfSale = H.<br />

O<br />

O<br />

O<br />

O<br />

O


Field Name Data Type Data Size Description<br />

ShipToCity Alphanumeric 60<br />

ShipToStateCode Alphanumeric<br />

20<br />

30<br />

ShipToZipCode Alphanumeric 30<br />

ShipToCountryCode Alpha 2<br />

ShipToPhoneNumb<br />

er<br />

ShipToPhoneExten<br />

sion<br />

Alphanumeric<br />

30<br />

Alphanumeric 10<br />

REMOTE_ADDR Alphanumeric 100<br />

HTTP_USER_AGE<br />

NT<br />

HTTP_ACCEPT_L<br />

ANGUAGE<br />

HTTP_ACCEPT_C<br />

HARSET<br />

Alphanumeric 200<br />

Alphanumeric 50<br />

Alphanumeric 100<br />

HTTP_REFERER Alphanumeric 200<br />

Ship <strong>to</strong> contact City<br />

Only if TypeOfSale = H.<br />

Example “New York”<br />

Note: This becomes a manda<strong>to</strong>ry field when<br />

TypeOfSale is “H”<br />

Ship <strong>to</strong> contact state code, two-character long ISO<br />

code required for North America. Remaining<br />

Region and Provinces may use free form field<br />

Only if TypeOfSale = H.<br />

Example “NY”<br />

Note: Please See Appendix E for complete list of<br />

values<br />

Note 2: This becomes a manda<strong>to</strong>ry field when<br />

TypeOfSale is “H”<br />

Ship <strong>to</strong> contact ZIP / Postal Code<br />

Only if TypeOfSale = H.<br />

Example “90210”<br />

Note: This becomes a manda<strong>to</strong>ry field when<br />

TypeOfSale is “H”<br />

Ship <strong>to</strong> contact ISO Country Code, list will be<br />

provided by PaymentTrust Ltd.<br />

Only if TypeOfSale = H.<br />

Example “US”<br />

Note: Please See Appendix D for complete list of<br />

values<br />

Note 2: This becomes a manda<strong>to</strong>ry field when<br />

TypeOfSale is “H”<br />

Ship <strong>to</strong> contact Phone Number, only digits, no<br />

parentheses<br />

Only if TypeOfSale = H.<br />

Example “6188565656”<br />

Note: This becomes a manda<strong>to</strong>ry field when<br />

TypeOfSale is “H”<br />

Ship <strong>to</strong> contact Phone Extension<br />

Example “5654”<br />

Cus<strong>to</strong>mer’s IP address or DNS Address.<br />

Example “207.253.196.193” or<br />

“Dialup339.paymenttrust.com”<br />

Note: This becomes an optional field when TRXSource<br />

= 3 for MOTO TRX.<br />

Cus<strong>to</strong>mer’s HTTP header<br />

‘HTTP_USER_AGENT’<br />

HTTP user header information.<br />

i.e. en, fr-CA<br />

HTTP user header information.<br />

i.e. ISO-8859-1, *, utf-8<br />

HTTP user header information.<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O<br />

M<br />

O<br />

O<br />

O<br />

O


Field Name Data Type Data Size Description<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

ProductType Alphanumeric 50<br />

Product type, category, code or any other<br />

descriptive code from a merchant’s product list<br />

that can be associated with a specific risk. This<br />

field is merchant specific.<br />

Example “CD004H78”<br />

Return a list of 5 RG parameters indicating the<br />

reason(s) of au<strong>to</strong>matic success or failure of a<br />

O<br />

IsExtended Numeric 1 transaction with an RG score of 0 or 100. Set <strong>to</strong> '1'<br />

for "Yes", '0' for "No"<br />

Note: Defaults <strong>to</strong> 0 if left blank.<br />

Return a list of all the RG analysis parameter<br />

codes, their scores and responses. Set <strong>to</strong> '1' for<br />

O<br />

IsAnalysis Numeric 1<br />

"Yes", '0' for "No".<br />

Note: Defaults <strong>to</strong> 0 if left blank.<br />

Note: Only for XML requests. See Section 6.3<br />

(XML Definitions)<br />

O<br />

Sample Input String:<br />

StringIn=VersionUsed^4~MerchantId^100000~UserName^Mariah~UserPassword^rr87uy~<strong>Transaction</strong>Type^<br />

RG~IsTest^1~TimeOut^60000~MOP^CC~TypeOfSale^D~AcctName^John<br />

Smith~AcctNumber^4459510002561039~ExpDate^092010~CurrencyId^840~Amount^56.78~FirstName^Joh<br />

n~LastName^Smith~Address1^2130 Gold~City^New<br />

York~CountryCode^US~PhoneNumber^6188565656~REMOTE_ADDR^205.188.146.23<br />

STLink will return the following Response for a RiskGuardian<br />

Request (RG)<br />

Field Name Data Type Data Size Description<br />

MerchantId Numeric N/A<br />

Permanent Merchant ID assigned by PaymentTrust Ltd.<br />

Example “100000”<br />

<strong>Transaction</strong>Type Alpha 2 <strong>Transaction</strong> Type, “RG” for RiskGuardian<br />

Order number submitted by the Merchant or a number<br />

OrderNumber Alphanumeric 35<br />

generated by PaymentTrust Ltd. if order number was not<br />

specified.<br />

Example “10098987”<br />

StrId Numeric N/A<br />

Reference Number from STLink also known as STRING<br />

ID<br />

MessageCode Numeric N/A<br />

Note: Please See Appendix A for complete list of<br />

Response Messages<br />

Reference Number from RG system also known as the<br />

GTTID or RGID Numeric N/A<br />

RGID<br />

Note: If the version is less than 4.0, GTTID is returned. If<br />

not RGID is returned.<br />

tScore Numeric N/A Score of the transaction requested<br />

tRisk Numeric N/A Set Threshold between 1-100 at the time of the transaction<br />

21


Field Name Data Type Data Size Description<br />

AgeVerifyMessage<br />

Code<br />

22<br />

Numeric N/A<br />

1 digit code returned when Age check is requested.<br />

Possible values:<br />

0 = DOB Matched<br />

1 = Partial Match Month/Year only<br />

2 = Partial Match Year only<br />

3 = Partial Match age group above 18<br />

4 = Partial Match Age is valid<br />

5 = Nothing Matched<br />

6 = Could not verify<br />

AgeVerifyMessage Alphanumeric 50<br />

Returned when Age check is requested.<br />

Descriptive message of AgeVerifyMessageCode<br />

Example: “Partial Match age group above 18”<br />

DSID Numeric N/A Id assigned by Data Sharing service<br />

DSMessageCode Numeric N/A Message Code assigned by Data Sharing service<br />

DSMessage Alphanumeric 50 Message assigned by Data Sharing service<br />

“List Of Extended<br />

Parameters”<br />

Example “FNA”<br />

“List Of RG<br />

Analysis<br />

Parameters”<br />

Alphanumeric 100<br />

XML N/A<br />

pCode Alphanumeric 3<br />

pScore Numeric 3<br />

pResponse Alphanumeric 100<br />

Sample Response:<br />

A list of RG parameters indicating the reason(s) of<br />

au<strong>to</strong>matic success or failure of a transaction with RG<br />

scores of 0 or 100. Returned only if IsExtended flag was<br />

set <strong>to</strong> ‘1’<br />

Note: The parameter name is 3 characters in length.<br />

Note: Up <strong>to</strong> a maximum of 5 parameters are returned.<br />

Return a list of all the RG analysis parameter codes, their<br />

scores and responses. Set <strong>to</strong> '1' for "Yes", '0' for "No".<br />

Returned only if IsAnalysis flag was set <strong>to</strong> ‘1’<br />

Example:<br />

• pCode: CCA<br />

• pScore: 93<br />

• pResponse: gb/gb<br />

Note: Returned only as XML. See Section 6.3 (XML<br />

Definitions)<br />

Parameter code abbreviation.<br />

Note: Returned only as XML. See Section 6.3 (XML<br />

Definitions)<br />

Score calculated for the parameter ranging from 0 – 100.<br />

Note: Returned only as XML. See Section 6.3 (XML<br />

Definitions)<br />

Values used <strong>to</strong> calculate parameter score.<br />

Note: Returned only as XML. See Section 6.3 (XML<br />

Definitions)<br />

MerchantId^100000~<strong>Transaction</strong>Type^RG~OrderNumber^10098987~StrId^121155~MessageCode^100~RGI<br />

D^490095~tScore^100.0000~tRisk^52<br />

Extended Sample Response:<br />

MerchantId^100000~<strong>Transaction</strong>Type^RG~OrderNumber^10098987~StrId^121155~MessageCode^100~RGI<br />

D^490095~tScore^100.0000~tRisk^52~FNA^Albert~CCA^IQ<br />

Analysis Sample Response: See Section 6.3 (XML Definitions)


RiskGuardian Request (RG) with RequestType = R for Reprocessing<br />

There are cases such as MOTO environments where a post Risk Analysis check-up is required just<br />

before the product is shipped or the funds are deposited for settlement. In these case RiskGuardian offers<br />

a unique way <strong>to</strong> re-process the TRX simply by submitting the GTTID/RGID received from the original RG<br />

request along with some basic values. RiskGuardian will then re-process the TRX and compare it <strong>to</strong> many<br />

other TRXs that may have come in between the time of order and the time of shipment.<br />

Field Name Data Type Data Size Description<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

StringIn= N/A N/A<br />

Must be at beginning of all strings. Capitals must<br />

be used as shown.<br />

Note: Not required for XML batch requests.<br />

M<br />

VersionUsed Alphanumeric 4<br />

Version Used specific <strong>to</strong> <strong>Transaction</strong> Type<br />

Example “4” for RG<br />

Permanent Merchant ID assigned by<br />

M<br />

MerchantId Numeric N/A PaymentTrust Ltd.<br />

Example “100000”<br />

M<br />

UserName Alphanumeric 15<br />

UserName assigned by PaymentTrust Ltd.<br />

Example “Mariah”<br />

M<br />

UserPassword Alphanumeric 15<br />

UserPassword assigned by PaymentTrust Ltd.<br />

Example “rr87uy”<br />

M<br />

<strong>Transaction</strong>Type Alphanumeric 2 <strong>Transaction</strong> Type, “RG” for RiskGuardian M<br />

IsTest Numeric 1<br />

''1' for "Test", '0' for "Live",<br />

Note: Defaults <strong>to</strong> 0 if left blank<br />

Indicates the maximum time the merchant allows<br />

O<br />

TimeOut Numeric N/A for the transaction, in milliseconds<br />

Example “60000”<br />

M<br />

RequestType Alphanumeric 1 ‘R’ for Reprocessing<br />

Specific Order number submitted by the Merchant<br />

for tracking purposes.<br />

M<br />

OrderNumber Alphanumeric 35<br />

Example “10098987”<br />

Note: If no order number is submitted the system<br />

will generate one for the merchant at the time of<br />

the transaction.<br />

Reference Number from RG system also known<br />

O<br />

GTTID or RGID Numeric N/A<br />

as the RGID<br />

Note: If the version is less than 4.0, GTTID is<br />

required. If not RGID is required.<br />

Return a list of 5 RG parameters indicating the<br />

reason(s) of au<strong>to</strong>matic success or failure of a<br />

M<br />

IsExtended Numeric 1 transaction with an RG score of 0 or 100. Set <strong>to</strong> '1'<br />

for "Yes", '0' for "No"<br />

Note: Defaults <strong>to</strong> 0 if left blank.<br />

Return a list of all the RG analysis parameter<br />

codes, their scores and responses. Set <strong>to</strong> '1' for<br />

O<br />

IsAnalysis Numeric 1<br />

"Yes", '0' for "No".<br />

Note: Defaults <strong>to</strong> 0 if left blank.<br />

Note: Only for XML requests. See Section 6.3<br />

(XML Definitions)<br />

O<br />

Sample Input String:<br />

23


StringIn=VersionUsed^4~MerchantId^100000~UserName^Mariah~UserPassword^rr87uy~<strong>Transaction</strong>Type^<br />

RG~IsTest^1~TimeOut^60000~RequestType^R~GttId^490095<br />

STLink will return the following Response for a RiskGuardian<br />

Request (RG) with RequestType = R<br />

Field Name Data Type Data Size Description<br />

MerchantId Numeric N/A<br />

Permanent Merchant ID assigned by PaymentTrust Ltd.<br />

Example “100000”<br />

<strong>Transaction</strong>Type Alpha 2 <strong>Transaction</strong> Type, “RG” for RiskGuardian<br />

Order number submitted by the Merchant or a number<br />

OrderNumber Alphanumeric 35<br />

generated by PaymentTrust Ltd. if order number was not<br />

specified.<br />

Example “10098987”<br />

StrId Numeric N/A<br />

Reference Number from STLink also known as STRING<br />

ID<br />

MessageCode Numeric N/A<br />

Note: Please See Appendix A for complete list of<br />

Response Messages<br />

Reference Number from RG system also known as the<br />

GTTID or RGID Numeric N/A<br />

RGID<br />

Note: If the version is less than 4.0, GTTID is returned. If<br />

not RGID is returned.<br />

tScore Numeric N/A Score of the transaction requested<br />

tRisk Numeric N/A Set Threshold between 1-100 at the time of the transaction<br />

1 digit code returned when Age check is requested.<br />

Possible values:<br />

0 = DOB Matched<br />

AgeVerifyMessage<br />

Code<br />

Numeric N/A<br />

1 = Partial Match Month/Year only<br />

2 = Partial Match Year only<br />

3 = Partial Match age group above 18<br />

4 = Partial Match Age is valid<br />

5 = Nothing Matched<br />

6 = Could not verify<br />

Returned when Age check is requested.<br />

AgeVerifyMessage Alphanumeric 50 Descriptive message of AgeVerifyMessageCode<br />

Example: “Partial Match age group above 18”<br />

DSID Numeric N/A Id assigned by Data Sharing service<br />

DSMessageCode Numeric N/A Message Code assigned by Data Sharing service<br />

DSMessage Alphanumeric 50 Message assigned by Data Sharing service<br />

A list of RG parameters indicating the reason(s) of<br />

“List Of Extended<br />

Parameters”<br />

Example “FNA”<br />

Alphanumeric 100<br />

au<strong>to</strong>matic success or failure of a transaction with RG<br />

scores of 0 or 100. Returned only if IsExtended flag was<br />

set <strong>to</strong> ‘1’<br />

Note: The parameter name is 3 characters in length.<br />

Note: Up <strong>to</strong> a maximum of 5 parameters are returned.<br />

Return a list of all the RG analysis parameter codes, their<br />

scores and responses. Set <strong>to</strong> '1' for "Yes", '0' for "No".<br />

Returned only if IsAnalysis flag was set <strong>to</strong> ‘1’<br />

“List Of RG<br />

Example:<br />

Analysis<br />

XML N/A • pCode: CCA<br />

Parameters”<br />

• pScore: 93<br />

• pResponse: gb/gb<br />

Note: Returned only as XML. See Section 6.3 (XML<br />

Definitions)<br />

24


Field Name Data Type Data Size Description<br />

Parameter code abbreviation.<br />

pCode Alphanumeric 3 Note: Returned only as XML. See Section 6.3 (XML<br />

Definitions)<br />

Score calculated for the parameter ranging from 0 – 100.<br />

pScore Numeric 3 Note: Returned only as XML. See Section 6.3 (XML<br />

Definitions)<br />

Values used <strong>to</strong> calculate parameter score.<br />

pResponse Alphanumeric 100 Note: Returned only as XML. See Section 6.3 (XML<br />

Definitions)<br />

Sample Response:<br />

MerchantId^100000~<strong>Transaction</strong>Type^RG~OrderNumber^10098987~StrId^121155~MessageCode^100~RGID^4900<br />

95~tScore^100.0000~tRisk^52<br />

Extended Sample Response:<br />

MerchantId^100000~<strong>Transaction</strong>Type^RG~OrderNumber^10098987~StrId^121155~MessageCode^100~RGID^4900<br />

95~tScore^100.0000~tRisk^52~AgeVerifyMessageCode^4~FNA^Albert~CCA^IQ~<br />

Analysis Sample Response: See Section 6.3 (XML Definitions)<br />

25


DataShare:<br />

Authorisation Request (DS)(A)<br />

Deposit (Settlement) Request (DS)(D)<br />

Sale Request (DS)(S)<br />

Refund Request (DS)(R)<br />

Finalise Request (DS)(F)<br />

Cancellation Request (DS)(C)<br />

Requests A, S, D, S, R, F, C, and P are defined in our PaymentTrust system sending the equivalent<br />

request type <strong>to</strong> the DataShare system will either score that transaction, or s<strong>to</strong>re a record of the<br />

transaction <strong>to</strong> be used later in the score calculation but will not process the payment.<br />

Note: Please reference the latest Ethoca integration documents for additional information regarding<br />

optional fields.<br />

Field Name Data Type Data Size Description<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

StringIn= N/A N/A<br />

Must be at beginning of all strings. Capitals<br />

must be used as shown.<br />

Note: Not required for XML batch requests.<br />

Version Used specific <strong>to</strong> <strong>Transaction</strong> Type.<br />

M<br />

VersionUsed<br />

Alphanume<br />

ric<br />

4<br />

Note: Must evaluate <strong>to</strong> numeric value for<br />

DS.<br />

Example “1” for DS<br />

Permanent Merchant ID assigned by<br />

M<br />

MerchantId Numeric N/A PaymentTrust Ltd.<br />

Example “100000”<br />

M<br />

UserName<br />

Alphanume<br />

ric<br />

15<br />

UserName assigned by PaymentTrust Ltd.<br />

Example “Mariah”<br />

M<br />

UserPassword<br />

Alphanume<br />

ric<br />

15<br />

UserPassword assigned by PaymentTrust<br />

Ltd.<br />

Example “rr87uy”<br />

M<br />

<strong>Transaction</strong>Type<br />

Alphanume<br />

ric<br />

2 <strong>Transaction</strong> Type, “DS” for DataShare M<br />

IsTest Numeric 1<br />

''1' for "Test", '0' for "Live",<br />

Note: Defaults <strong>to</strong> 0 if left blank<br />

Indicates the maximum time the merchant<br />

O<br />

TimeOut Numeric N/A allows for the transaction, in milliseconds<br />

Recommendation “60000”<br />

‘A’ Authorisation.<br />

‘D’ Deposit (Settlement).<br />

‘R’ Refund<br />

M<br />

RequestType<br />

Alphanume<br />

ric<br />

1<br />

‘S’ Sale<br />

‘C’ Cancellation<br />

‘F’ Finalise<br />

Note: Defaults <strong>to</strong> ‘A’<br />

Note: BACS payback transactions<br />

should be sent as Refunds<br />

For use <strong>to</strong> differentiate between S<strong>to</strong>res.<br />

O<br />

S<strong>to</strong>reID<br />

Alphanume<br />

ric<br />

10<br />

Permanent S<strong>to</strong>re ID assigned by<br />

PaymentTrust Ltd. or Merchant if left blank<br />

Example “100000”<br />

O<br />

26


Field Name Data Type Data Size Description<br />

Account type.<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

MOP Alpha 2<br />

CC - Visa & MasterCard debit & credit<br />

cards, Carte Bancaire, Carte Bleue<br />

DS - Switch/Solo debit cards<br />

CQ - Cheques<br />

EC - Electronic cheques or credit<br />

DC - Debit Card PIN enabled cards<br />

PC - Purchasing cards<br />

NT - Net Teller<br />

M<br />

TRXSource Numeric N/A<br />

MessageCode Numeric N/A<br />

InfractionMessageCode<br />

OrderNumber<br />

AcctName<br />

27<br />

Alphanume<br />

ric<br />

Alphanume<br />

ric<br />

Alphanume<br />

ric<br />

N/A<br />

35<br />

60<br />

AcctNumber Numeric N/A<br />

ExpDate Numeric N/A<br />

IssueNumber Numeric N/A<br />

Example: “CC”<br />

Indicates the method used <strong>to</strong> receive the<br />

CreditCard information.<br />

1 - Swiped with a Card Present<br />

2 - Keyed by merchant with a Card present<br />

3 - Mail Order Telephone Order MOTO<br />

(Card Not Present)<br />

4 - Web orders (Card not present)<br />

5 – Web orders (Card not present, e-mail<br />

not present)<br />

9 – Integrated Circuit Card<br />

Note: Defaults <strong>to</strong> the Merchant default value<br />

during set-up.<br />

Note: Manda<strong>to</strong>ry for ICC transactions.<br />

Example “2100”<br />

Note: Please See Appendix E for complete<br />

list of Results<br />

Bank code returned for the transaction<br />

Specific Order number submitted by the<br />

Merchant for tracking purposes.<br />

Example “10098987”<br />

Note: If no order number is submitted the system<br />

will generate one for the merchant at the time of<br />

the transaction.<br />

Account holder name on card or account<br />

Example “John Smith 3 rd ”<br />

Note: Manda<strong>to</strong>ry for Carte Bancaire and<br />

Carte Bleue cards.<br />

Credit card number, Debit Card number,<br />

Purchase Card number, Bank account<br />

number, or any other applicable Bank<br />

Identifier.<br />

Example “4459510002561039”<br />

Note: This field is not required when<br />

TRXSource is 1<br />

Expiry date for credit card in MMYYYY<br />

format<br />

Example “092010”<br />

Note: Manda<strong>to</strong>ry for CC, PC and DS MOP<br />

types.<br />

Submit for Switch/Solo cards if available.<br />

Example “5”<br />

O<br />

O<br />

O<br />

O<br />

M<br />

M<br />

O<br />

O


Field Name Data Type Data Size Description<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

StartDate Numeric N/A<br />

Submit for Switch/Solo cards if available.<br />

Example “092010”<br />

ISO standard numeric ids<br />

Example 840 = USD, 124 = CAD, 826 =<br />

O<br />

CurrencyId Numeric N/A GBP<br />

Note: Please see Appendix B for complete list of<br />

values.<br />

ID of transaction <strong>to</strong> be updated.<br />

M<br />

DSID Numeric N/A Note: Manda<strong>to</strong>ry for any transaction that is<br />

<strong>to</strong> be updated.<br />

ID of transaction <strong>to</strong> be updated.<br />

O<br />

RGID Numeric N/A<br />

Note: Manda<strong>to</strong>ry for any transaction that is<br />

<strong>to</strong> be updated. Can be used in place of<br />

DSID.<br />

<strong>Transaction</strong> amount. Up <strong>to</strong> 4 decimals<br />

maximum. Decimal varies based on<br />

O<br />

Amount Numeric N/A CurrencyId.<br />

Example 840 = “56.78”, 392 = “99”, 048 =<br />

“125.333”<br />

Infraction amount. Up <strong>to</strong> 4 decimals<br />

maximum. Decimal varies based on<br />

M<br />

InfractionAmount Numeric N/A CurrencyId.<br />

Example 840 = “56.78”, 392 = “99”, 048 =<br />

“125.333”<br />

Date and Time the transaction<br />

(YYYYMMDDHHMMSS).<br />

O<br />

TRXDateTime<br />

AlphaNum<br />

eric<br />

20<br />

Example “20050223164000”<br />

Note: Time is in military format, and must<br />

use time zone GMT.<br />

Date and Time the transaction was<br />

recorded as an infraction<br />

(YYYYMMDDHHMMSS).<br />

Example “20050223164000”<br />

O<br />

InfractionDateTime<br />

Title<br />

Company<br />

FirstName<br />

MiddleName<br />

LastName<br />

Suffix<br />

Address1<br />

28<br />

AlphaNum<br />

eric<br />

Alphanume<br />

ric<br />

Alphanume<br />

ric<br />

Alphanume<br />

ric<br />

Alphanume<br />

ric<br />

Alphanume<br />

ric<br />

Alphanume<br />

ric<br />

Alphanume<br />

ric<br />

20<br />

20<br />

60<br />

60<br />

Note: Time is in military format, and must<br />

use time zone GMT.<br />

Note: If IsChargeBack = 1, or<br />

MessageCode = 2960 this field becomes<br />

manda<strong>to</strong>ry<br />

Billing contact Title<br />

Example “Sir”<br />

Billing contact company<br />

Example “PaymentTrust Ltd.”<br />

Billing contact First Name<br />

Example “John”<br />

60 Billing contact Middle Name O<br />

60<br />

20<br />

60<br />

Billing contact Last Name<br />

Example “Smith”<br />

Billing contact suffix<br />

Example “ 3 rd ”<br />

Billing contact Address line 1<br />

Example “2130 Gold”<br />

O<br />

O<br />

O<br />

M<br />

M<br />

O<br />

M


Field Name Data Type Data Size Description<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

Address2<br />

Alphanume<br />

ric<br />

60<br />

Billing contact Address line 2<br />

Example “Suite101”<br />

O<br />

Address3<br />

Alphanume<br />

ric<br />

60 Billing contact Address line 3 O<br />

Unit<br />

Alphanume<br />

ric<br />

15 Billing unit number / apartment number O<br />

BuildingNumber<br />

Alphanume<br />

ric<br />

10 Billing house, or building number O<br />

StreetName<br />

Alphanume<br />

ric<br />

30 Billing street name O<br />

StreetType<br />

Alphanume<br />

ric<br />

15<br />

Billing street type<br />

Example: avenue, street, road<br />

Billing street direction<br />

N = North<br />

NE = NorthEast<br />

E = East<br />

O<br />

StreetDirection Alpha 2 SE = SouthEast<br />

S = South<br />

SW = SouthWest<br />

W = West<br />

NW = NorthWest<br />

O<br />

City<br />

Alphanume<br />

ric<br />

60<br />

Billing contact City<br />

Example “New York”<br />

M<br />

StateCode<br />

ZipCode<br />

29<br />

Alphanume<br />

ric<br />

Alphanume<br />

ric<br />

CountryCode Alpha 2<br />

PhoneNumber<br />

PhoneExtension<br />

MobilePhoneNumber<br />

Alphanume<br />

ric<br />

Alphanume<br />

ric<br />

Alphanume<br />

ric<br />

MobilePhoneCountryCode Alpha 2<br />

Pager<br />

Alphanume<br />

ric<br />

60<br />

30<br />

30<br />

10<br />

30<br />

30<br />

The billing information state based on the<br />

two-character long ISO codes. This is a<br />

manda<strong>to</strong>ry field for North America only. The<br />

remaining world regions /Provinces may use<br />

this as an Optional field.<br />

Example “NY”<br />

Note: Please See Appendix C for complete list of<br />

values<br />

Billing contact ZIP / Postal Code<br />

Example “90210”<br />

Billing contact ISO Country Code<br />

Example “US”<br />

Note: Please See Appendix D for complete list of<br />

values<br />

Billing contact Phone Number, only digits,<br />

no parentheses<br />

Example “6188565656”<br />

Billing contact Phone Extension<br />

Example “5654”<br />

Billing contact Mobile Phone Number, only<br />

digits, no parentheses<br />

Example “6188565656”<br />

Billing contact Mobile Phone Number ISO<br />

Country Code<br />

Note: Please See Appendix D for complete list of<br />

values<br />

Billing contact Pager Number, only digits,<br />

no parentheses<br />

Example “6188565656<br />

O<br />

O<br />

M<br />

M<br />

O<br />

O<br />

O<br />

O


Field Name Data Type Data Size Description<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

PagerCountryCode Alpha 2<br />

Billing contact Pager Number ISO Country<br />

Code<br />

Note: Please See Appendix D for complete list of<br />

values<br />

Billing contact Email address<br />

Note: This field is optional for MOTO<br />

O<br />

Email<br />

Alphanume<br />

ric<br />

50<br />

<strong>Transaction</strong>s where TRXSource = 3.<br />

Example “johns@aol.com”<br />

Note: Manda<strong>to</strong>ry when TRXSource is set <strong>to</strong><br />

4. Must contain personal e-mail<br />

The Date Of Birth as entered by the<br />

consumer in a DDMMYYYY format.<br />

O<br />

DOB Numeric N/A<br />

Example “23091963”<br />

Note: Please make sure that single digit<br />

months are padded with zero in the<br />

beginning. i.e 9 becomes 09.<br />

In Countries where ID is required as an<br />

additional doc <strong>to</strong> verify the age then the<br />

type of the ID that is being sent must be<br />

provided.<br />

PP – PassPort<br />

O<br />

IDType1 Alpha 2 DL – Drivers License<br />

CC – Citizenship Card ID<br />

MD – Medical ID<br />

SI – Social Insurance Number<br />

OT – Other<br />

Note: Manda<strong>to</strong>ry depending on country.<br />

In Countries where ID is required as an<br />

additional doc <strong>to</strong> verify the age then based<br />

O<br />

IDNumber1<br />

Alphanume<br />

ric<br />

100<br />

on the type specified in the IDType field a<br />

number is provided.<br />

Example “XJK23091963” or<br />

“jhsdgf743hgwf”<br />

Note: Manda<strong>to</strong>ry depending on country<br />

In Countries where ID is required as an<br />

additional doc <strong>to</strong> verify the age then the<br />

type of the ID that is being sent must be<br />

provided.<br />

PP – PassPort<br />

O<br />

IDType2 Alpha 2 DL – Drivers License<br />

CC – Citizenship Card ID<br />

MD – Medical ID<br />

SI – Social Insurance Number<br />

OT – Other<br />

Note: Manda<strong>to</strong>ry depending on country.<br />

In Countries where ID is required as an<br />

additional doc <strong>to</strong> verify the age then based<br />

O<br />

IDNumber2<br />

Alphanume<br />

ric<br />

100<br />

on the type specified in the IDType field a<br />

number is provided.<br />

Example “XJK23091963” or<br />

“jhsdgf743hgwf”<br />

Note: Manda<strong>to</strong>ry depending on country<br />

O<br />

30


Field Name Data Type Data Size Description<br />

In Countries where ID is required as an<br />

additional doc <strong>to</strong> verify the age then the<br />

type of the ID that is being sent must be<br />

provided.<br />

PP – PassPort<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

IDType3 Alpha 2 DL – Drivers License<br />

CC – Citizenship Card ID<br />

MD – Medical ID<br />

SI – Social Insurance Number<br />

OT – Other<br />

Note: Manda<strong>to</strong>ry depending on country.<br />

In Countries where ID is required as an<br />

O<br />

IDNumber3<br />

Alphanume<br />

ric<br />

100<br />

additional doc <strong>to</strong> verify the age then based<br />

on the type specified in the IDType field a<br />

number is provided.<br />

Example “XJK23091963” or<br />

“jhsdgf743hgwf”<br />

Note: Manda<strong>to</strong>ry depending on country<br />

In Countries where ID is required as an<br />

additional doc <strong>to</strong> verify the age then the<br />

type of the ID that is being sent must be<br />

provided.<br />

PP – PassPort<br />

O<br />

IDType4 Alpha 2 DL – Drivers License<br />

CC – Citizenship Card ID<br />

MD – Medical ID<br />

SI – Social Insurance Number<br />

OT – Other<br />

Note: Manda<strong>to</strong>ry depending on country.<br />

In Countries where ID is required as an<br />

additional doc <strong>to</strong> verify the age then based<br />

O<br />

IDNumber4<br />

Alphanume<br />

ric<br />

100<br />

on the type specified in the IDType field a<br />

number is provided.<br />

Example “XJK23091963” or<br />

“jhsdgf743hgwf”<br />

Note: Manda<strong>to</strong>ry depending on country<br />

In Countries where ID is required as an<br />

additional doc <strong>to</strong> verify the age then the<br />

type of the ID that is being sent must be<br />

provided.<br />

PP – PassPort<br />

O<br />

IDType5 Alpha 2 DL – Drivers License<br />

CC – Citizenship Card ID<br />

MD – Medical ID<br />

SI – Social Insurance Number<br />

OT – Other<br />

Note: Manda<strong>to</strong>ry depending on country.<br />

In Countries where ID is required as an<br />

additional doc <strong>to</strong> verify the age then based<br />

O<br />

IDNumber5<br />

Alphanume<br />

ric<br />

100<br />

on the type specified in the IDType field a<br />

number is provided.<br />

Example “XJK23091963” or<br />

“jhsdgf743hgwf”<br />

Note: Manda<strong>to</strong>ry depending on country<br />

O<br />

31


Field Name Data Type Data Size Description<br />

ShipToTitle<br />

Alphanume<br />

ric<br />

20<br />

Ship <strong>to</strong> contact Title<br />

Example “Sir”<br />

ShipToCompany<br />

Alphanume<br />

ric<br />

60<br />

Ship <strong>to</strong> contact company<br />

Example “PaymentTrust Ltd.”<br />

ShipToFirstName<br />

Alphanume<br />

ric<br />

60<br />

Ship <strong>to</strong> contact First Name<br />

Example “John”<br />

ShipToMiddleName<br />

ShipToLastName<br />

ShipToSuffix<br />

ShipToAddress1<br />

ShipToAddress2<br />

ShipToAddress3<br />

ShipToUnit<br />

ShipToBuildingNumber<br />

ShipToStreetName<br />

ShipToStreetType<br />

32<br />

Alphanume<br />

ric<br />

Alphanume<br />

ric<br />

Alphanume<br />

ric<br />

Alphanume<br />

ric<br />

Alphanume<br />

ric<br />

Alphanume<br />

ric<br />

Alphanume<br />

ric<br />

Alphanume<br />

ric<br />

Alphanume<br />

ric<br />

Alphanume<br />

ric<br />

ShipToStreetDirection Alpha 2<br />

ShipToCity<br />

ShipToStateCode<br />

ShipToZipCode<br />

Alphanume<br />

ric<br />

Alphanume<br />

ric<br />

Alphanume<br />

ric<br />

ShipToCountryCode Alpha 2<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

60 Ship <strong>to</strong> contact Middle Name O<br />

60<br />

20<br />

60<br />

60<br />

Ship <strong>to</strong> contact Last Name<br />

Example “Smith”<br />

Ship <strong>to</strong> contact suffix<br />

Example “ 3 rd ”<br />

Ship <strong>to</strong> contact Address line 1<br />

Example “2130 Gold”<br />

Ship <strong>to</strong> contact Address line 2<br />

Example “Suite101”<br />

60 Ship <strong>to</strong> contact Address line 3 O<br />

15 Ship <strong>to</strong> unit number / apartment number O<br />

10 Ship <strong>to</strong> house, or building number O<br />

30 Ship <strong>to</strong> street name O<br />

15<br />

60<br />

30<br />

30<br />

Ship <strong>to</strong> street type<br />

Example: avenue, street, road<br />

Ship <strong>to</strong> street direction<br />

N = North<br />

NE = NorthEast<br />

E = East<br />

SE = SouthEast<br />

S = South<br />

SW = SouthWest<br />

W = West<br />

NW = NorthWest<br />

Ship <strong>to</strong> contact City<br />

Example “New York”<br />

Ship <strong>to</strong> contact state code, two-character<br />

long ISO code required for North America.<br />

Remaining Region and Provinces may use<br />

free form field or leave it blank.<br />

Example “NY”<br />

Note: Please See Appendix C for complete list of<br />

values<br />

Ship <strong>to</strong> contact ZIP / Postal Code<br />

Example “90210”<br />

Ship <strong>to</strong> contact ISO Country Code, list will<br />

be provided by PaymentTrust Ltd.<br />

Example “US”<br />

Note: Please See Appendix D for complete list of<br />

values<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O


Field Name Data Type Data Size Description<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

ShipToPhoneNumber<br />

Alphanume<br />

ric<br />

30<br />

Ship <strong>to</strong> contact Phone Number, only digits,<br />

no parentheses<br />

Example “6188565656”<br />

O<br />

ShipToPhoneExtension<br />

Alphanume<br />

ric<br />

10<br />

Ship <strong>to</strong> contact Phone Extension<br />

Example “5654”<br />

O<br />

BusinessAddress1<br />

Alphanume<br />

ric<br />

60<br />

Business contact Address line 1<br />

Example “2130 Gold”<br />

O<br />

BusinessAddress2<br />

BusinessAddress3<br />

BusinessUnit<br />

BusinessBuildingNumbe<br />

r<br />

BusinessStreetName<br />

BusinessStreetType<br />

33<br />

Alphanume<br />

ric<br />

Alphanume<br />

ric<br />

Alphanume<br />

ric<br />

Alphanume<br />

ric<br />

Alphanume<br />

ric<br />

Alphanume<br />

ric<br />

BusinessStreetDirection Alpha 2<br />

BusinessCity<br />

BusinessStateCode<br />

BusinessZipCode<br />

Alphanume<br />

ric<br />

Alphanume<br />

ric<br />

Alphanume<br />

ric<br />

BusinessCountryCode Alpha 2<br />

BusinessPhoneNumber Alphanume<br />

ric<br />

BusinessPhoneExtension Alphanume<br />

ric<br />

BusinessFaxNumber<br />

Alphanume<br />

ric<br />

60<br />

Business contact Address line 2<br />

Example “Suite101”<br />

60 Business contact Address line 3 O<br />

15 Businessunit number / apartment number O<br />

10 Business house, or building number O<br />

30 Business street name O<br />

15<br />

60<br />

30<br />

30<br />

30<br />

10<br />

30<br />

Business street type<br />

Example: avenue, street, road<br />

Business street direction<br />

N = North<br />

NE = NorthEast<br />

E = East<br />

SE = SouthEast<br />

S = South<br />

SW = SouthWest<br />

W = West<br />

NW = NorthWest<br />

Business contact City<br />

Example “New York”<br />

Business contact state code, two-character<br />

long ISO code required for North America.<br />

Remaining Region and Provinces may use<br />

free form field or leave it blank.<br />

Example “NY”<br />

Note: Please See Appendix C for complete list of<br />

values<br />

Business contact ZIP / Postal Code<br />

Example “90210”<br />

Business contact ISO Country Code, list will<br />

be provided by PaymentTrust Ltd.<br />

Example “US”<br />

Note: Please See Appendix D for complete list of<br />

values<br />

Business contact Phone Number, only<br />

digits, no parentheses<br />

Example “6188565656”<br />

Business contact Phone Extension<br />

Example “5654”<br />

Business contact Fax Number, only digits,<br />

no parentheses<br />

Example “6188565656”<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O


Field Name Data Type Data Size Description<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

BusinessEmail<br />

Alphanume<br />

ric<br />

50 Business contact Email address O<br />

HomeAddress1<br />

Alphanume<br />

ric<br />

60<br />

Home contact Address line 1<br />

Example “2130 Gold”<br />

O<br />

HomeAddress2<br />

HomeAddress3<br />

HomeUnit<br />

HomeBuildingNumber<br />

HomeStreetName<br />

HomeStreetType<br />

34<br />

Alphanume<br />

ric<br />

Alphanume<br />

ric<br />

Alphanume<br />

ric<br />

Alphanume<br />

ric<br />

Alphanume<br />

ric<br />

Alphanume<br />

ric<br />

HomeStreetDirection Alpha 2<br />

HomeCity<br />

HomeStateCode<br />

HomeZipCode<br />

Alphanume<br />

ric<br />

Alphanume<br />

ric<br />

Alphanume<br />

ric<br />

HomeCountryCode Alpha 2<br />

PhoneNumber1<br />

Alphanume<br />

ric<br />

PhoneNumber1CountryCode Alpha 2<br />

PhoneNumber1Extension<br />

PhoneNumber2<br />

Alphanume<br />

ric<br />

Alphanume<br />

ric<br />

60<br />

Home contact Address line 2<br />

Example “Suite101”<br />

60 Home contact Address line 3 O<br />

15 Home unit number / apartment number O<br />

10 Home house, or building number O<br />

30 Home street name O<br />

15<br />

60<br />

30<br />

30<br />

30<br />

10<br />

30<br />

Home street tyoe<br />

Example: avenue, street, road<br />

Home street direction<br />

N = North<br />

NE = NorthEast<br />

E = East<br />

SE = SouthEast<br />

S = South<br />

SW = SouthWest<br />

W = West<br />

NW = NorthWest<br />

Home contact City<br />

Example “New York”<br />

Home contact state code, two-character<br />

long ISO code required for North America.<br />

Remaining Region and Provinces may use<br />

free form field or leave it blank.<br />

Example “NY”<br />

Note: Please See Appendix C for complete list of<br />

values<br />

Home contact ZIP / Postal Code<br />

Example “90210”<br />

Home contact ISO Country Code, list will be<br />

provided by PaymentTrust Ltd.<br />

Example “US”<br />

Note: Please See Appendix D for complete list of<br />

values<br />

Supplementary Phone Number, only digits,<br />

no parentheses<br />

Example “6188565656”<br />

Supplementary Mobile Phone Number ISO<br />

Country Code<br />

Note: Please See Appendix D for complete list of<br />

values<br />

Supplementary Phone Number Extension<br />

Example “5654”<br />

Supplementary Phone Number, only digits,<br />

no parentheses<br />

Example “6188565656”<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O


Field Name Data Type Data Size Description<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

PhoneNumber2CountryCode Alpha 2<br />

Supplementary Mobile Phone Number ISO<br />

Country Code<br />

Note: Please See Appendix D for complete list of<br />

values<br />

O<br />

PhoneNumber2Extension<br />

Alphanume<br />

ric<br />

10<br />

Supplementary Phone Number Extension<br />

Example “5654”<br />

O<br />

Email1<br />

Alphanume<br />

ric<br />

50<br />

Additional contact Email address<br />

Example “johns@aol.com”<br />

O<br />

Email2<br />

Alphanume<br />

ric<br />

50<br />

Additional contact Email address<br />

Example “johns@aol.com”<br />

O<br />

Email3<br />

Alphanume<br />

ric<br />

50<br />

Additional contact Email address<br />

Example “johns@aol.com”<br />

“0” for “No scoring”,<br />

“1” for “Score transaction only, and do not<br />

add <strong>to</strong> data for future scores”,<br />

O<br />

ProcessType Numeric 1 “2” for “Score transaction, and add <strong>to</strong> data<br />

for future scores”<br />

“3” for “Record an account creation, or<br />

update <strong>to</strong> an existing account”<br />

“0” for Approve<br />

“1” for Approve, and review<br />

“2” for Decline, and review<br />

M<br />

ProcessAction Numeric 1 “3” for Decline<br />

“4” for Referral<br />

The process <strong>to</strong> be applied <strong>to</strong> the<br />

transaction.<br />

Cus<strong>to</strong>mer’s IP address or DNS Address.<br />

O<br />

REMOTE_ADDR<br />

Alphanume<br />

ric<br />

100<br />

Example “207.253.196.193” or<br />

“Dialup339.paymenttrust.com”<br />

Note: This becomes an optional field when<br />

TRXSource = 3 for MOTO TRX.<br />

M<br />

HTTP_USER_AGENT Alphanume<br />

ric<br />

200 Cus<strong>to</strong>mer’s HTTP header<br />

‘HTTP_USER_AGENT’<br />

O<br />

HTTP_ACCEPT_LANGU<br />

AGE<br />

Alphanume<br />

ric<br />

50 HTTP user header information.<br />

i.e. en, fr-CA<br />

O<br />

HTTP_ACCEPT_CHARS<br />

ET<br />

Alphanume<br />

ric<br />

100 HTTP user header information.<br />

i.e. ISO-8859-1, *, utf-8<br />

O<br />

HTTP_REFERER Alphanume<br />

ric<br />

ProductType<br />

35<br />

Alphanume<br />

ric<br />

200<br />

IsChargeBack Numeric 1<br />

50<br />

HTTP user header information.<br />

Product type, category, code or any other<br />

descriptive code from a merchant’s product<br />

list that can be associated with a specific<br />

risk. This field is merchant specific.<br />

Example “CD004H78”<br />

''1” for "Yes”, “0” for "No",<br />

Note: Defaults <strong>to</strong> 0 if left blank<br />

O<br />

O<br />

O


Field Name Data Type Data Size Description<br />

IsAnalysis Numeric 1<br />

Comments<br />

Sample Input String:<br />

36<br />

Alphanume<br />

ric<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

Return a list of all the RG analysis<br />

parameter codes, their scores and<br />

responses. Set <strong>to</strong> '1' for "Yes", '0' for "No".<br />

Note: Defaults <strong>to</strong> 0 if left blank.<br />

O<br />

Note: Only for XML requests. See Section<br />

6.3 (XML Definitions)<br />

Note: Analysis fields will be populated only<br />

if a score is requested.<br />

200 Comment field for the transactions. O<br />

StringIn=VersionUsed^3~MerchantId^100000~UserName^dsuser~UserPassword^********~<strong>Transaction</strong>Type^DS~Tim<br />

eOut^10000~MOP^cc~TypeofSale^d~AcctName^Suzanne<br />

Gibson~AcctNumber^********3253~ExpDate^122008~Amount^161.1~CurrencyId^978~RequestType^~OrderNumber<br />

^0704131611~IsTest^1~DSID^~S<strong>to</strong>reId^1~MessageCode^2100~InfractionMessageCode^225~InfractionAmount^~T<br />

RXDateTime^20070223164000~InfractionDateTime^20070223164000~DOB^23091963~ProcessType^2~Title^Mrs.~<br />

Company^Jacomo Inc.~FirstName^Suzanne~MiddleName^Lorraine~LastName^Gibson~Suffix^~Address1^145 Des<br />

Merisiers Street~Address2^~Address3^~City^Vaudreuil-Dorion~StateCode^Quebec~ZipCode^J7V<br />

9S9~CountryCode^CA~PhoneNumber^4505102197~PhoneExtension^~Email^ds@unknown.ca~


STLink will return the following Response for a DataSharing Request<br />

(DS)<br />

Field Name Data Type Data Size Description<br />

Permanent Merchant ID assigned by PaymentTrust<br />

MerchantId Numeric N/A International<br />

Example “100000”<br />

<strong>Transaction</strong>Type Alpha 2 <strong>Transaction</strong> Type, “DS” for DataSharing<br />

Order number submitted by the Merchant or a number<br />

OrderNumber Alphanumeric 35<br />

generated by PaymentTrust International if order number<br />

was not specified.<br />

Example “10098987”<br />

StrId Numeric N/A<br />

Reference Number from STLink also known as STRING<br />

ID<br />

DSID Numeric N/A Reference Number from DS system<br />

Example “6100”<br />

DSMessageCode Numeric N/A Note: Please See Appendix A for complete list of<br />

Response Messages<br />

DSMessage Alphanumeric 50<br />

Message assigned by Data Sharing service<br />

Example: “<strong>Transaction</strong> Processed”<br />

DSScore Numeric N/A<br />

Score of the transaction requested.<br />

Example: 0, 100, 76, -1<br />

‘A’ Authorisation.<br />

‘D’ Deposit (Settlement).<br />

RequestType Alphanumeric 1<br />

‘R’ Refund<br />

‘S’ Sale<br />

‘C’ Cancellation<br />

‘F’ Finalise<br />

ShareServiceTRXId1 Alphanumeric 30<br />

Id supplied by third party service used.<br />

Note: Id will be returned if applicable and available<br />

ShareServiceTRXId2 Alphanumeric 30<br />

Id supplied by third party service used.<br />

Note: Id will be returned if applicable and available<br />

ShareServiceScore Numeric N/A<br />

Score supplied by third party service used.<br />

Note: Score will be returned as received from third party.<br />

Return a list of all the DS analysis parameter codes, their<br />

scores and responses. Set <strong>to</strong> '1' for "Yes", '0' for "No".<br />

Returned only if IsAnalysis flag was set <strong>to</strong> ‘1’<br />

Example:<br />

“List Of DS<br />

• AssmtId<br />

Analysis<br />

XML N/A • AdviceCode<br />

Parameters”<br />

• OverrideCode<br />

• ……..<br />

Sample Response:<br />

37<br />

Note: Returned only as XML. See Section 6.3 (XML<br />

Definitions) for complete list<br />

MerchantId^100000~<strong>Transaction</strong>Type^DS~OrderNumber^0704131611~StrId^100553~DSID^36~DSMessageCode^6<br />

100~DSMessage^<strong>Transaction</strong><br />

processed~DSScore^0~RequestType^A~ShareServiceTRXId1^6512C133490D44E691CB33015~ShareServiceTRXI<br />

d2^105CDA815D5B432BBDDE4FFCE~ShareServiceScore^0<br />

Analysis Sample Response: See Section 6.3 (XML Definitions)


DataShare PayBack with Electronic Credit Request (DS)(P)<br />

Field Name Data Type Data Size Description<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

StringIn= N/A N/A<br />

Must be at beginning of all strings. Capitals<br />

must be used as shown.<br />

Note: Not required for XML batch requests.<br />

Version Used specific <strong>to</strong> <strong>Transaction</strong> Type.<br />

M<br />

VersionUsed Alphanumeric 4<br />

Note: Must evaluate <strong>to</strong> numeric value for<br />

DS.<br />

Example “1” for DS<br />

Permanent Merchant ID assigned by<br />

M<br />

MerchantId Numeric N/A PaymentTrust Ltd.<br />

Example “100000”<br />

M<br />

UserName Alphanumeric 15<br />

UserName assigned by PaymentTrust Ltd.<br />

Example “Mariah”<br />

UserPassword assigned by PaymentTrust<br />

M<br />

UserPassword Alphanumeric 15 Ltd.<br />

Example “rr87uy”<br />

M<br />

<strong>Transaction</strong>Type Alphanumeric 2 <strong>Transaction</strong> Type, “DS” for DataShare M<br />

IsTest Numeric 1<br />

''1' for "Test", '0' for "Live",<br />

Note: Defaults <strong>to</strong> 0 if left blank<br />

Indicates the maximum time the merchant<br />

O<br />

TimeOut Numeric N/A allows for the transaction, in milliseconds<br />

Recommendation “60000”<br />

M<br />

RequestType Alphanumeric 1 ‘P’ PayBack request.<br />

For use <strong>to</strong> differentiate between S<strong>to</strong>res.<br />

M<br />

S<strong>to</strong>reID Alphanumeric 10<br />

Permanent S<strong>to</strong>re ID assigned by<br />

PaymentTrust Ltd. or Merchant if left blank<br />

Example “100000”<br />

Account type.<br />

CC - Visa & MasterCard debit & credit<br />

cards, Carte Bancaire, Carte Bleue<br />

DS - Switch/Solo debit cards<br />

O<br />

MOP Alpha 2<br />

CQ - Cheques<br />

EC - Electronic cheques or credit<br />

DC - Debit Card PIN enabled cards<br />

PC - Purchasing cards<br />

NT - Net Teller<br />

Example: “EC”<br />

Example “2100”<br />

M<br />

MessageCode Numeric N/A Note: Please See Appendix E for complete<br />

list of Results<br />

O<br />

InfractionMessageCode Alphanumeric N/A Bank code returned for the transaction<br />

Specific Order number submitted by the<br />

O<br />

Merchant for tracking purposes.<br />

OrderNumber Alphanumeric<br />

35 Example “10098987”<br />

Note: If no order number is submitted the system<br />

will generate one for the merchant at the time of<br />

the transaction.<br />

ISO standard numeric ids<br />

Example 840 = USD, 124 = CAD, 826 =<br />

O<br />

CurrencyId Numeric N/A GBP<br />

Note: Please see Appendix B for complete list of<br />

values.<br />

M<br />

38


Field Name Data Type Data Size Description<br />

ID of transaction <strong>to</strong> be updated.<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

DSID Numeric N/A Note: Manda<strong>to</strong>ry for any transaction that is O<br />

RGID Numeric N/A<br />

Amount Numeric N/A<br />

InfractionAmount Numeric N/A<br />

TRXDateTime<br />

InfractionDateTime<br />

39<br />

AlphaNumeri<br />

c<br />

AlphaNumeri<br />

c<br />

20<br />

20<br />

IBAN Alphanumeric 35<br />

PayeeBankNumber Numeric<br />

PayeeAccountNumber Numeric<br />

See<br />

Description<br />

See<br />

Description<br />

AccountCountryCode Alpha 2<br />

PaymentREF Alphanumeric 60<br />

Title Alphanumeric 20<br />

Company Alphanumeric 60<br />

<strong>to</strong> be updated.<br />

ID of transaction <strong>to</strong> be updated.<br />

Note: Manda<strong>to</strong>ry for any transaction that is<br />

<strong>to</strong> be updated. Can be used in place of<br />

DSID.<br />

<strong>Transaction</strong> amount. Up <strong>to</strong> 4 decimals<br />

maximum. Decimal varies based on<br />

CurrencyId.<br />

Example 840 = “56.78”, 392 = “99”, 048 =<br />

“125.333”<br />

Infraction amount. Up <strong>to</strong> 4 decimals<br />

maximum. Decimal varies based on<br />

CurrencyId.<br />

Example 840 = “56.78”, 392 = “99”, 048 =<br />

“125.333”<br />

Date and Time the transaction<br />

(YYYYMMDDHHMMSS).<br />

Example “20050223164000”<br />

Note: Time is in military format, and must<br />

use time zone GMT.<br />

Date and Time the transaction was<br />

recorded as an infraction<br />

(YYYYMMDDHHMMSS).<br />

Example “20050223164000”<br />

Note: Time is in military format, and must<br />

use time zone GMT.<br />

Note: If IsChargeBack = 1, or<br />

MessageCode = 2960 this field becomes<br />

manda<strong>to</strong>ry<br />

A representation of payee’s Bank Branch<br />

Code and Bank Account Number.<br />

Example: “fr1234567890”<br />

Note: Starts with 2-letter CountryCode.<br />

Payee’s bank number where funds are<br />

transferred.<br />

Payee’s account number where funds are<br />

transferred.<br />

Payee’s account number ISO Country<br />

Code.<br />

Example “US”<br />

Note: Please See Appendix D for complete list of<br />

values<br />

The contents of this parameter appear in<br />

the memo field of the issued cheque or<br />

electronic credit. If omitted, defaults <strong>to</strong><br />

empty string.<br />

Billing contact Title<br />

Example “Sir”<br />

Billing contact company<br />

Example “PaymentTrust Ltd.”<br />

O<br />

M<br />

O<br />

O<br />

O<br />

O<br />

M<br />

M<br />

M<br />

O<br />

O<br />

O


Field Name Data Type Data Size Description<br />

FirstName Alphanumeric 25<br />

40<br />

Billing contact First Name<br />

Example “John”<br />

Note: Size is calculated by adding<br />

FirstName and LastName including<br />

one space character.<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

MiddleName Alphanumeric 60 Billing contact Middle Name<br />

Billing contact Last Name<br />

O<br />

LastName Alphanumeric 25 Example “Smith”<br />

Note: See FirstName.<br />

M<br />

Suffix Alphanumeric 20<br />

Billing contact suffix<br />

Example “ 3 rd ”<br />

O<br />

Address1 Alphanumeric 60<br />

Billing contact Address line 1<br />

Example “2130 Gold”<br />

M<br />

Address2 Alphanumeric 60<br />

Billing contact Address line 2<br />

Example “Suite101”<br />

O<br />

Address3 Alphanumeric 60 Billing contact Address line 3 O<br />

Unit Alphanumeric 15 Billing unit number / apartment number O<br />

BuildingNumber Alphanumeric 10 Billing house, or building number O<br />

StreetName Alphanumeric 30 Billing street name O<br />

StreetType Alphanumeric 15<br />

Billing street type<br />

Example: avenue, street, road<br />

Billing street direction<br />

N = North<br />

NE = NorthEast<br />

E = East<br />

O<br />

StreetDirection Alpha 2 SE = SouthEast<br />

S = South<br />

SW = SouthWest<br />

W = West<br />

NW = NorthWest<br />

Billing contact City.<br />

Example “New York”<br />

O<br />

City Alphanumeric 60 Note: For CountryCode “NL” (Netherlands)<br />

If IBAN is not present; City is manda<strong>to</strong>ry<br />

and size of 35.<br />

The billing information state based on the<br />

two-character long ISO codes. This is a<br />

manda<strong>to</strong>ry field for North America only. The<br />

M<br />

StateCode Alphanumeric 60<br />

remaining world regions /Provinces may use<br />

this as an Optional field.<br />

Example “NY”<br />

Note: Please See Appendix C for complete list of<br />

values<br />

O<br />

ZipCode Alphanumeric 30<br />

Billing contact ZIP / Postal Code<br />

Example “90210”<br />

Billing contact ISO Country Code.<br />

O<br />

CountryCode Alpha 2<br />

Example “US”<br />

Note: Please See Appendix D for complete list of<br />

values<br />

Billing contact Phone Number, only digits,<br />

M<br />

PhoneNumber Alphanumeric 30 no parentheses<br />

Example “6188565656”<br />

M<br />

PhoneExtension Alphanumeric 10<br />

Billing contact Phone Extension<br />

Example “5654”<br />

O<br />

M


Field Name Data Type Data Size Description<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

MobilePhoneNumber Alphanumeric 30<br />

Billing contact Mobile Phone Number, only<br />

digits, no parentheses<br />

Example “6188565656”<br />

Billing contact Mobile Phone Number ISO<br />

O<br />

MobilePhoneCountryCode Alpha 2<br />

Country Code<br />

Note: Please See Appendix D for complete list of<br />

values<br />

Billing contact Pager Number, only digits,<br />

O<br />

Pager Alphanumeric 30 no parentheses<br />

Example “6188565656<br />

Billing contact Pager Number ISO Country<br />

O<br />

PagerCountryCode Alpha 2<br />

Code<br />

Note: Please See Appendix D for complete list of<br />

values<br />

Billing contact Email address<br />

Note: This field is optional for MOTO<br />

O<br />

Email Alphanumeric 50<br />

<strong>Transaction</strong>s where TRXSource = 3.<br />

Example “johns@aol.com”<br />

Note: Manda<strong>to</strong>ry when TRXSource is set <strong>to</strong><br />

4. Must contain personal e-mail<br />

The Date Of Birth as entered by the<br />

consumer in a DDMMYYYY format.<br />

O<br />

DOB Numeric N/A<br />

Example “23091963”<br />

Note: Please make sure that single digit<br />

months are padded with zero in the<br />

beginning. i.e 9 becomes 09.<br />

In Countries where ID is required as an<br />

additional doc <strong>to</strong> verify the age then the<br />

type of the ID that is being sent must be<br />

provided.<br />

PP – PassPort<br />

O<br />

IDType1 Alpha 2 DL – Drivers License<br />

CC – Citizenship Card ID<br />

MD – Medical ID<br />

SI – Social Insurance Number<br />

OT – Other<br />

Note: Manda<strong>to</strong>ry depending on country.<br />

In Countries where ID is required as an<br />

additional doc <strong>to</strong> verify the age then based<br />

on the type specified in the IDType field a<br />

O<br />

IDNumber1 Alphanumeric 100 number is provided.<br />

Example “XJK23091963” or<br />

“jhsdgf743hgwf”<br />

Note: Manda<strong>to</strong>ry depending on country<br />

In Countries where ID is required as an<br />

additional doc <strong>to</strong> verify the age then the<br />

type of the ID that is being sent must be<br />

provided.<br />

PP – PassPort<br />

O<br />

IDType2 Alpha 2 DL – Drivers License<br />

CC – Citizenship Card ID<br />

MD – Medical ID<br />

SI – Social Insurance Number<br />

OT – Other<br />

Note: Manda<strong>to</strong>ry depending on country.<br />

O<br />

41


Field Name Data Type Data Size Description<br />

In Countries where ID is required as an<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

IDNumber2 Alphanumeric 100<br />

additional doc <strong>to</strong> verify the age then based<br />

on the type specified in the IDType field a<br />

number is provided.<br />

Example “XJK23091963” or<br />

“jhsdgf743hgwf”<br />

O<br />

IDType3 Alpha 2<br />

IDNumber3 Alphanumeric 100<br />

IDType4 Alpha 2<br />

IDNumber4 Alphanumeric 100<br />

IDType5 Alpha 2<br />

42<br />

Note: Manda<strong>to</strong>ry depending on country<br />

In Countries where ID is required as an<br />

additional doc <strong>to</strong> verify the age then the<br />

type of the ID that is being sent must be<br />

provided.<br />

PP – PassPort<br />

DL – Drivers License<br />

CC – Citizenship Card ID<br />

MD – Medical ID<br />

SI – Social Insurance Number<br />

OT – Other<br />

Note: Manda<strong>to</strong>ry depending on country.<br />

In Countries where ID is required as an<br />

additional doc <strong>to</strong> verify the age then based<br />

on the type specified in the IDType field a<br />

number is provided.<br />

Example “XJK23091963” or<br />

“jhsdgf743hgwf”<br />

Note: Manda<strong>to</strong>ry depending on country<br />

In Countries where ID is required as an<br />

additional doc <strong>to</strong> verify the age then the<br />

type of the ID that is being sent must be<br />

provided.<br />

PP – PassPort<br />

DL – Drivers License<br />

CC – Citizenship Card ID<br />

MD – Medical ID<br />

SI – Social Insurance Number<br />

OT – Other<br />

Note: Manda<strong>to</strong>ry depending on country.<br />

In Countries where ID is required as an<br />

additional doc <strong>to</strong> verify the age then based<br />

on the type specified in the IDType field a<br />

number is provided.<br />

Example “XJK23091963” or<br />

“jhsdgf743hgwf”<br />

Note: Manda<strong>to</strong>ry depending on country<br />

In Countries where ID is required as an<br />

additional doc <strong>to</strong> verify the age then the<br />

type of the ID that is being sent must be<br />

provided.<br />

PP – PassPort<br />

DL – Drivers License<br />

CC – Citizenship Card ID<br />

MD – Medical ID<br />

SI – Social Insurance Number<br />

OT – Other<br />

Note: Manda<strong>to</strong>ry depending on country.<br />

O<br />

O<br />

O<br />

O<br />

O


Field Name Data Type Data Size Description<br />

In Countries where ID is required as an<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

IDNumber5 Alphanumeric 100<br />

additional doc <strong>to</strong> verify the age then based<br />

on the type specified in the IDType field a<br />

number is provided.<br />

Example “XJK23091963” or<br />

“jhsdgf743hgwf”<br />

Note: Manda<strong>to</strong>ry depending on country<br />

O<br />

ShipToTitle Alphanumeric 20<br />

Ship <strong>to</strong> contact Title<br />

Example “Sir”<br />

O<br />

ShipToCompany Alphanumeric 60<br />

Ship <strong>to</strong> contact company<br />

Example “PaymentTrust Ltd.”<br />

O<br />

ShipToFirstName Alphanumeric 60<br />

Ship <strong>to</strong> contact First Name<br />

Example “John”<br />

O<br />

ShipToMiddleName Alphanumeric 60 Ship <strong>to</strong> contact Middle Name O<br />

ShipToLastName Alphanumeric 60<br />

Ship <strong>to</strong> contact Last Name<br />

Example “Smith”<br />

O<br />

ShipToSuffix Alphanumeric 20<br />

Ship <strong>to</strong> contact suffix<br />

Example “ 3 rd ”<br />

O<br />

ShipToAddress1 Alphanumeric 60<br />

Ship <strong>to</strong> contact Address line 1<br />

Example “2130 Gold”<br />

O<br />

ShipToAddress2 Alphanumeric 60<br />

Ship <strong>to</strong> contact Address line 2<br />

Example “Suite101”<br />

O<br />

ShipToAddress3 Alphanumeric 60 Ship <strong>to</strong> contact Address line 3 O<br />

ShipToUnit Alphanumeric 15 Ship <strong>to</strong> unit number / apartment number O<br />

ShipToBuildingNumber Alphanumeric 10 Ship <strong>to</strong> house, or building number O<br />

ShipToStreetName Alphanumeric 30 Ship <strong>to</strong> street name O<br />

ShipToStreetType Alphanumeric 15<br />

Ship <strong>to</strong> street type<br />

O<br />

ShipToStreetDirection Alpha 2<br />

ShipToCity Alphanumeric 60<br />

ShipToStateCode Alphanumeric 30<br />

ShipToZipCode Alphanumeric 30<br />

ShipToCountryCode Alpha 2<br />

43<br />

Example: avenue, street, road<br />

Ship <strong>to</strong> street direction<br />

N = North<br />

NE = NorthEast<br />

E = East<br />

SE = SouthEast<br />

S = South<br />

SW = SouthWest<br />

W = West<br />

NW = NorthWest<br />

Ship <strong>to</strong> contact City<br />

Example “New York”<br />

Ship <strong>to</strong> contact state code, two-character<br />

long ISO code required for North America.<br />

Remaining Region and Provinces may use<br />

free form field or leave it blank.<br />

Example “NY”<br />

Note: Please See Appendix C for complete list of<br />

values<br />

Ship <strong>to</strong> contact ZIP / Postal Code<br />

Example “90210”<br />

Ship <strong>to</strong> contact ISO Country Code, list will<br />

be provided by PaymentTrust Ltd.<br />

Example “US”<br />

Note: Please See Appendix D for complete list of<br />

values<br />

O<br />

O<br />

O<br />

O<br />

O


Field Name Data Type Data Size Description<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

ShipToPhoneNumber Alphanumeric 30<br />

Ship <strong>to</strong> contact Phone Number, only digits,<br />

no parentheses<br />

Example “6188565656”<br />

O<br />

ShipToPhoneExtension Alphanumeric 10<br />

Ship <strong>to</strong> contact Phone Extension<br />

Example “5654”<br />

O<br />

BusinessAddress1 Alphanumeric 60<br />

Business contact Address line 1<br />

Example “2130 Gold”<br />

O<br />

BusinessAddress2 Alphanumeric 60<br />

Business contact Address line 2<br />

Example “Suite101”<br />

O<br />

BusinessAddress3 Alphanumeric 60 Business contact Address line 3 O<br />

BusinessUnit Alphanumeric 15 Businessunit number / apartment number O<br />

BusinessBuildingNumber Alphanumeric 10 Business house, or building number O<br />

BusinessStreetName Alphanumeric 30 Business street name O<br />

BusinessStreetType Alphanumeric 15<br />

Business street type<br />

Example: avenue, street, road<br />

Business street direction<br />

N = North<br />

NE = NorthEast<br />

E = East<br />

O<br />

BusinessStreetDirection Alpha 2 SE = SouthEast<br />

S = South<br />

SW = SouthWest<br />

W = West<br />

NW = NorthWest<br />

O<br />

BusinessCity Alphanumeric 60<br />

Business contact City<br />

Example “New York”<br />

Business contact state code, two-character<br />

long ISO code required for North America.<br />

Remaining Region and Provinces may use<br />

O<br />

BusinessStateCode Alphanumeric 30 free form field or leave it blank.<br />

Example “NY”<br />

Note: Please See Appendix C for complete list of<br />

values<br />

O<br />

BusinessZipCode Alphanumeric 30<br />

Business contact ZIP / Postal Code<br />

Example “90210”<br />

Business contact ISO Country Code, list will<br />

be provided by PaymentTrust Ltd.<br />

O<br />

BusinessCountryCode Alpha 2 Example “US”<br />

Note: Please See Appendix D for complete list of<br />

values<br />

Business contact Phone Number, only<br />

O<br />

BusinessPhoneNumber Alphanumeric 30 digits, no parentheses<br />

Example “6188565656”<br />

O<br />

BusinessPhoneExtensio<br />

n<br />

Alphanumeric 10<br />

Business contact Phone Extension<br />

Example “5654”<br />

Business contact Fax Number, only digits,<br />

O<br />

BusinessFaxNumber Alphanumeric 30 no parentheses<br />

Example “6188565656”<br />

O<br />

BusinessEmail Alphanumeric 50 Business contact Email address O<br />

HomeAddress1 Alphanumeric 60<br />

Home contact Address line 1<br />

Example “2130 Gold”<br />

O<br />

HomeAddress2 Alphanumeric 60<br />

Home contact Address line 2<br />

Example “Suite101”<br />

O<br />

HomeAddress3 Alphanumeric 60 Home contact Address line 3 O<br />

44


Field Name Data Type Data Size Description<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

HomeUnit Alphanumeric 15 Home unit number / apartment number O<br />

HomeBuildingNumbe<br />

r<br />

Alphanumeric 10 Home house, or building number O<br />

HomeStreetName Alphanumeric 30 Home street name O<br />

HomeStreetType Alphanumeric 15<br />

Home street tyoe<br />

Example: avenue, street, road<br />

Home street direction<br />

N = North<br />

NE = NorthEast<br />

E = East<br />

O<br />

HomeStreetDirection Alpha 2 SE = SouthEast<br />

S = South<br />

SW = SouthWest<br />

W = West<br />

NW = NorthWest<br />

O<br />

HomeCity Alphanumeric 60<br />

Home contact City<br />

Example “New York”<br />

Home contact state code, two-character<br />

O<br />

HomeStateCode Alphanumeric 30<br />

long ISO code required for North America.<br />

Remaining Region and Provinces may use<br />

free form field or leave it blank.<br />

Example “NY”<br />

Note: Please See Appendix C for complete list of<br />

values<br />

O<br />

HomeZipCode Alphanumeric 30<br />

Home contact ZIP / Postal Code<br />

Example “90210”<br />

Home contact ISO Country Code, list will be<br />

provided by PaymentTrust Ltd.<br />

O<br />

HomeCountryCode Alpha 2 Example “US”<br />

Note: Please See Appendix D for complete list of<br />

values<br />

Home contact Phone Number, only digits,<br />

O<br />

PhoneNumber1 Alphanumeric 30 no parentheses<br />

Example “6188565656”<br />

Supplementary Mobile Phone Number ISO<br />

O<br />

PhoneNumber1CountryCo<br />

de Alpha 2<br />

Country Code<br />

Note: Please See Appendix D for complete list of<br />

values<br />

O<br />

PhoneNumber1Extension Alphanumeric 10<br />

Home contact Phone Extension<br />

Example “5654”<br />

Supplementary Phone Number, only digits,<br />

O<br />

PhoneNumber2 Alphanumeric 30 no parentheses<br />

Example “6188565656”<br />

Supplementary Mobile Phone Number ISO<br />

O<br />

PhoneNumber2CountryCo<br />

de Alpha 2<br />

Country Code<br />

Note: Please See Appendix D for complete list of<br />

values<br />

O<br />

PhoneNumber2Extension Alphanumeric 10<br />

Supplementary Phone Number Extension<br />

Example “5654”<br />

O<br />

Email1 Alphanumeric 50<br />

Additional Email address<br />

Example “johns@aol.com”<br />

O<br />

Email2 Alphanumeric 50<br />

Additional Email address<br />

Example “johns@aol.com”<br />

O<br />

Email3 Alphanumeric 50<br />

Additional Email address<br />

Example “johns@aol.com”<br />

O<br />

45


Field Name Data Type Data Size Description<br />

ProcessType Numeric 1<br />

ProcessAction Numeric 1<br />

REMOTE_ADDR Alphanumeric 100<br />

HTTP_USER_AGEN<br />

T<br />

HTTP_ACCEPT_LA<br />

NGUAGE<br />

HTTP_ACCEPT_CH<br />

ARSET<br />

46<br />

Alphanumeric 200<br />

Alphanumeric 50<br />

Alphanumeric 100<br />

HTTP_REFERER Alphanumeric 200<br />

“0” for “No scoring”,<br />

“1” for “Score transaction only, and do not<br />

add <strong>to</strong> data for future scores”,<br />

“2” for “Score transaction, and add <strong>to</strong> data for<br />

future scores”<br />

“3” for “Record an account creation, or<br />

update <strong>to</strong> an existing account”<br />

“0” for Approve<br />

“1” for Approve, and review<br />

“2” for Decline, and review<br />

“3” for Decline<br />

“4” for Referral<br />

The process <strong>to</strong> be applied <strong>to</strong> the<br />

transaction.<br />

Cus<strong>to</strong>mer’s IP address or DNS Address.<br />

Example “207.253.196.193” or<br />

“Dialup339.paymenttrust.com”<br />

Note: This becomes an optional field when<br />

TRXSource = 3 for MOTO TRX.<br />

Cus<strong>to</strong>mer’s HTTP header<br />

‘HTTP_USER_AGENT’<br />

HTTP user header information.<br />

i.e. en, fr-CA<br />

HTTP user header information.<br />

i.e. ISO-8859-1, *, utf-8<br />

HTTP user header information.<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

IsChargeBack Numeric 1<br />

''1” for "Yes”, “0” for "No",<br />

Note: Defaults <strong>to</strong> 0 if left blank<br />

Return a list of all the RG analysis<br />

parameter codes, their scores and<br />

responses. Set <strong>to</strong> '1' for "Yes", '0' for "No".<br />

O<br />

IsAnalysis Numeric 1<br />

Note: Defaults <strong>to</strong> 0 if left blank.<br />

Note: Only for XML requests. See Section<br />

6.3 (XML Definitions)<br />

Note: Analysis fields will be populated only<br />

if a score is requested.<br />

O<br />

Comments Alphanumeric 200 Comment field for the transactions. O<br />

Sample Input String:<br />

StringIn=VersionUsed^3~MerchantId^100000~UserName^dsuser1~UserPassword^*********~<strong>Transaction</strong>Type^DS~Ti<br />

meOut^10000~MOP^ec~TypeofSale^d~AcctName^Ab~AcctNumber^********3253~ExpDate^122008~Amount^161.1~<br />

CurrencyId^978~RequestType^p~OrderNumber^0704131611~IsTest^1~DSID^~S<strong>to</strong>reId^1~MessageCode^2100~Infr<br />

actionMessageCode^225~InfractionAmount^~TRXDateTime^20070223164000~InfractionDateTime^2007022316400<br />

0~DOB^23091963~ProcessType^2~Title^Mrs.~Company^Jacomo<br />

Inc.~FirstName^Suzanne~MiddleName^Lorraine~LastName^Gibson~Suffix^~Address1^145 Des Merisiers<br />

Street~Address2^~Address3^~City^Vaudreuil-Dorion~StateCode^Quebec~ZipCode^J7V<br />

9S9~CountryCode^CA~PhoneNumber^4505102197~PhoneExtension^~Email^ds@unknown.ca~PayeeBankNumber<br />

^123456789~PayeeAccountNumber^1234567~<br />

M<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O


STLink will return the following items for a DataShare PayBack with<br />

Electronic Credit Request (DS)(P)<br />

Field Name Data Type Data Size Description<br />

MerchantId Numeric N/A<br />

Permanent Merchant ID assigned by PaymentTrust Ltd.<br />

Example “100000”<br />

<strong>Transaction</strong>Type Alpha 2 <strong>Transaction</strong> Type, “DS” for DataShare<br />

Order number submitted by the Merchant or a number<br />

OrderNumber Alphanumeric 35<br />

generated by PaymentTrust Ltd. if order number was not<br />

specified.<br />

Example “10098987”<br />

StrId Numeric N/A Reference Number from STLink<br />

Reference Number from DataShare system generated with<br />

Auth response<br />

DSID Numeric N/A Example “10003606”<br />

Note: If the version is less than 2.0, PTTID is returned. If not<br />

PTID is returned.<br />

Example “6100”<br />

DSMessageCode Numeric N/A Note: Please See Appendix A for complete list of Response<br />

Messages<br />

DSMessage Alphanumeric 50 Message assigned by Data Sharing service<br />

DSScore Numeric N/A<br />

Score of the transaction requested.<br />

Example: 0, 100, 76, -1<br />

RequestType Alpha 1 ‘P’ PayBack request.<br />

ShareServiceTRXI<br />

d1<br />

Alphanumeric 30<br />

Id supplied by third party service used.<br />

Note: Id will be returned if applicable and available<br />

ShareServiceTRXI<br />

d2<br />

Alphanumeric 30<br />

Id supplied by third party service used.<br />

Note: Id will be returned if applicable and available<br />

Score supplied by third party service used.<br />

ShareServiceScore Numeric N/A<br />

Note: Score will be returned as received from third party.<br />

Return a list of all the DS analysis parameter codes, their<br />

scores and responses. Set <strong>to</strong> '1' for "Yes", '0' for "No".<br />

Returned only if IsAnalysis flag was set <strong>to</strong> ‘1’<br />

Example:<br />

“List Of DS<br />

• AssmtId<br />

Analysis<br />

XML N/A • AdviceCode<br />

Parameters”<br />

• OverrideCode<br />

• ……..<br />

Sample Response:<br />

47<br />

Note: Returned only as XML. See Section 6.3 (XML<br />

Definitions) for complete list<br />

MerchantId^100000~<strong>Transaction</strong>Type^DS~OrderNumber^0704131611~StrId^100552~DSID^35~DSMessageCode^6100~D<br />

SMessage^<strong>Transaction</strong><br />

processed~DSScore^0~RequestType^p~ShareServiceTRXId1^E8CB2DDD976145BBA36262305~ShareServiceTRXId2^47<br />

23EBA47457421F813C0C867~ShareServiceScore^0<br />

Analysis Sample Response: See Section 6.3 (XML Definitions)


PaymentTrust Requests<br />

PaymentTrust Authorization Request (PT)(A)<br />

PaymentTrust is capable of receiving multiple request types within the PT <strong>Transaction</strong> Type. Each<br />

request type instructs the system <strong>to</strong> perform a different financial transaction. It is important <strong>to</strong> note that all<br />

requests types must follow a logical sequence so prior <strong>to</strong> a Deposit request one must have an<br />

Authorization request. There are cases where the PT TRX is an independent TRX not requiring any other<br />

Request type such in the case of a payback TRX or Bank Transfer. Following the submission of a<br />

request, the system will return an appropriate response code that will flag the transaction as being either<br />

successful, unsuccessful (with reason) or pending (awaiting third party confirmation). Each numeric<br />

response code is accompanied by a text definition.<br />

An Authorization (A) request will reduce the cardholder’s open <strong>to</strong> buy (credit limit). It places a hold on<br />

the funds for the merchant with the cardholder’s bank for a limited period of time (defined by the credit<br />

card associations) before it expires. An authorization does not move any funds <strong>to</strong> the merchant’s bank<br />

account. A deposit request type is required <strong>to</strong> initiate fund collection and is described below.<br />

Field Name Data Type Data Size Description<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

StringIn= N/A N/A<br />

Must be at beginning of all strings. Capitals<br />

must be used as shown.<br />

Note: Not required for XML batch requests.<br />

Version Used specific <strong>to</strong> <strong>Transaction</strong> Type.<br />

M<br />

VersionUsed Alphanumeric 4<br />

Note: Must evaluate <strong>to</strong> numeric value for<br />

PT.<br />

Example “2” for PT<br />

Permanent Merchant ID assigned by<br />

M<br />

MerchantId Numeric N/A PaymentTrust Ltd.<br />

Example “100000”<br />

M<br />

UserName Alphanumeric 15<br />

UserName assigned by PaymentTrust Ltd.<br />

Example “Mariah”<br />

UserPassword assigned by PaymentTrust<br />

M<br />

UserPassword Alphanumeric 15 Ltd.<br />

Example “rr87uy”<br />

M<br />

<strong>Transaction</strong>Type Alphanumeric 2 <strong>Transaction</strong> Type, “PT” for PaymentTrust M<br />

IsTest Numeric 1<br />

''1' for "Test", '0' for "Live",<br />

Note: Defaults <strong>to</strong> 0 if left blank<br />

Indicates the maximum time the merchant<br />

O<br />

TimeOut Numeric N/A allows for the transaction, in milliseconds<br />

Recommendation “60000”<br />

M<br />

RequestType Alphanumeric 1 ‘A’ Authorization<br />

For use <strong>to</strong> differentiate between S<strong>to</strong>res.<br />

M<br />

S<strong>to</strong>reID Alphanumeric 10<br />

Permanent S<strong>to</strong>re ID assigned by<br />

PaymentTrust Ltd. or Merchant if left blank<br />

Example “100000”<br />

O<br />

48


Field Name Data Type Data Size Description<br />

Account type.<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

MOP Alpha 2<br />

CC - Visa & MasterCard debit & credit<br />

cards, Carte Bancaire, Carte Bleue<br />

DS - Switch/Solo debit cards<br />

CQ - Cheques<br />

EC - Electronic cheques or credit<br />

DC - Debit Card PIN enabled cards<br />

PC - Purchasing cards<br />

NT - Net Teller<br />

P2 - Pay 2<br />

M<br />

TRXSource Numeric N/A<br />

Track2Data Alphanumeric 100<br />

OrderNumber Alphanumeric<br />

49<br />

35<br />

AcctName Alphanumeric 60<br />

AcctNumber Numeric N/A<br />

Example: “CC”<br />

Indicates the method used <strong>to</strong> receive the<br />

CreditCard information.<br />

1 - Swiped with a Card Present<br />

2 - Keyed by merchant with a Card present<br />

3 - Mail Order Telephone Order MOTO<br />

(Card Not Present)<br />

4 - Web orders (Card not present)<br />

5 – Web orders (Card not present, e-mail<br />

not present)<br />

9 – Integrated Circuit Card<br />

Note: Defaults <strong>to</strong> the Merchant default value<br />

during set-up.<br />

Note: Manda<strong>to</strong>ry for ICC transactions.<br />

Indicates swipe information from the<br />

Track2data of the Card when the<br />

TRXSource is 1 (Swiped with a Card<br />

Present)<br />

Example:<br />

“;4459510002561039=09100000000000000000<br />

?”<br />

Note: This becomes a manda<strong>to</strong>ry field when<br />

TRXSource =1 or TRXSource = 9 for a<br />

down graded ICC transaction.<br />

Specific Order number submitted by the<br />

Merchant for tracking purposes.<br />

Example “10098987”<br />

Note: If no order number is submitted the system<br />

will generate one for the merchant at the time of<br />

the transaction.<br />

Account holder name on card or account<br />

Example “John Smith 3 rd ”<br />

Note: Manda<strong>to</strong>ry for Carte Bancaire and<br />

Carte Bleue cards.<br />

Credit card number, Debit Card number,<br />

Purchase Card number, Bank account<br />

number, or any other applicable Bank<br />

Identifier.<br />

Example “4459510002561039”<br />

Note: This field is not required when<br />

TRXSource is 1<br />

O<br />

O<br />

O<br />

O<br />

M


Field Name Data Type Data Size Description<br />

Expiry date for credit card in MMYYYY<br />

format<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

ExpDate Numeric N/A Example “092010”<br />

O<br />

IssueNumber Numeric N/A<br />

Note: Manda<strong>to</strong>ry for CC, PC and DS MOP<br />

types.<br />

Submit for Switch/Solo cards if available.<br />

Example “5”<br />

O<br />

StartDate Numeric N/A<br />

Submit for Switch/Solo cards if available.<br />

O<br />

CurrencyId Numeric N/A<br />

FXID Numeric N/A<br />

50<br />

Example “092010”<br />

ISO standard numeric ids<br />

Example 840 = USD, 124 = CAD, 826 =<br />

GBP<br />

Note: Please see Appendix B for complete list of<br />

values.<br />

ID of precalculated Foreign Exchange rate.<br />

Note: Manda<strong>to</strong>ry for FX transactions<br />

Amount Numeric N/A<br />

<strong>Transaction</strong> amount. Up <strong>to</strong> 4 decimals<br />

maximum. Decimal varies based on<br />

CurrencyId.<br />

Example 840 = “56.78”, 392 = “99”, 048 =<br />

“125.333”<br />

M<br />

Title Alphanumeric 20<br />

Billing contact Title<br />

Example “Sir”<br />

O<br />

Company Alphanumeric 60<br />

Billing contact company<br />

Example “PaymentTrust Ltd.”<br />

O<br />

FirstName Alphanumeric 60<br />

Billing contact First Name<br />

Example “John”<br />

O<br />

MiddleName Alphanumeric 60 Billing contact Middle Name O<br />

LastName Alphanumeric 60<br />

Billing contact Last Name<br />

Example “Smith”<br />

O<br />

Suffix Alphanumeric 20<br />

Billing contact suffix<br />

O<br />

Address1 Alphanumeric 60<br />

Address2 Alphanumeric 60<br />

Example “ 3 rd ”<br />

Billing contact Address line 1<br />

Example “2130 Gold”<br />

Note: Required for AVS<br />

Billing contact Address line 2<br />

Example “Suite101”<br />

Address3 Alphanumeric 60 Billing contact Address line 3 O<br />

City Alphanumeric 60<br />

StateCode Alphanumeric 60<br />

ZipCode Alphanumeric 30<br />

Billing contact City<br />

Example “New York”<br />

Note: Required for AVS<br />

The billing information state based on the<br />

two-character long ISO codes. This is a<br />

manda<strong>to</strong>ry field for North America only. The<br />

remaining world regions /Provinces may use<br />

this as an Optional field.<br />

Example “NY”<br />

Note: Required for AVS<br />

Note: Please See Appendix E for complete list of<br />

values<br />

Billing contact ZIP / Postal Code<br />

Example “90210”<br />

Note: Required for AVS<br />

M<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O


Field Name Data Type Data Size Description<br />

Billing contact ISO Country Code<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

Example “US”<br />

CountryCode Alpha 2 Note: Required for AVS<br />

O<br />

Note: Please See Appendix D for complete list of<br />

51<br />

values<br />

PhoneNumber Alphanumeric 30<br />

Billing contact Phone Number, only digits,<br />

no parentheses<br />

Example “6188565656”<br />

O<br />

PhoneExtension Alphanumeric 10<br />

Billing contact Phone Extension<br />

Example “5654”<br />

O<br />

Email Alphanumeric 50<br />

Billing contact Email address<br />

Example “johns@aol.com”<br />

O<br />

ShipToTitle Alphanumeric 20<br />

Ship <strong>to</strong> contact Title<br />

Example “Sir”<br />

O<br />

ShipToCompany Alphanumeric 60<br />

Ship <strong>to</strong> contact company<br />

Example “PaymentTrust Ltd.”<br />

O<br />

ShipToFirstName Alphanumeric 60<br />

Ship <strong>to</strong> contact First Name<br />

Example “John”<br />

O<br />

ShipToMiddleName Alphanumeric 60 Ship <strong>to</strong> contact Middle Name O<br />

ShipToLastName Alphanumeric 60<br />

Ship <strong>to</strong> contact Last Name<br />

Example “Smith”<br />

O<br />

ShipToSuffix Alphanumeric 20<br />

Ship <strong>to</strong> contact suffix<br />

Example “ 3 rd ”<br />

O<br />

ShipToAddress1 Alphanumeric 60<br />

Ship <strong>to</strong> contact Address line 1<br />

Example “2130 Gold”<br />

O<br />

ShipToAddress2 Alphanumeric 60<br />

Ship <strong>to</strong> contact Address line 2<br />

Example “Suite101”<br />

O<br />

ShipToAddress3 Alphanumeric 60 Ship <strong>to</strong> contact Address line 3 O<br />

ShipToCity Alphanumeric 60<br />

Ship <strong>to</strong> contact City<br />

O<br />

ShipToStateCode Alphanumeric 30<br />

ShipToZipCode Alphanumeric 30<br />

ShipToCountryCode Alpha 2<br />

ShipToPhoneNumber Alphanumeric 30<br />

ShipToPhoneExtension Alphanumeric 10<br />

Example “New York”<br />

Ship <strong>to</strong> contact state code, two-character<br />

long ISO code required for North America.<br />

Remaining Region and Provinces may use<br />

free form field or leave it blank.<br />

Example “NY”<br />

Note: Please See Appendix E for complete list of<br />

values<br />

Ship <strong>to</strong> contact ZIP / Postal Code<br />

Example “90210”<br />

Ship <strong>to</strong> contact ISO Country Code, list will<br />

be provided by PaymentTrust Ltd.<br />

Example “US”<br />

Note: Please See Appendix D for complete list of<br />

values<br />

Ship <strong>to</strong> contact Phone Number, only digits,<br />

no parentheses<br />

Example “6188565656”<br />

Ship <strong>to</strong> contact Phone Extension<br />

Example “5654”<br />

O<br />

O<br />

O<br />

O<br />

O


Field Name Data Type Data Size Description<br />

Security code implemented by card<br />

schemes. CVV2 for Visa, CVC for<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

CVN Numeric N/A<br />

MasterCard and CID for AMEX are all<br />

supported. 3 <strong>to</strong> 4 digit code found on back<br />

of credit card.<br />

O<br />

SVID Numeric N/A<br />

ECI Numeric 2<br />

<strong>Secure</strong>Id Alphanumeric 20<br />

CAV Alphanumeric 50<br />

CHEnrolled Alpha 1<br />

TXStatus Alpha 1<br />

ICCAppVersionNumber Alphanumeric 4<br />

ICCTerminalCapabilit<br />

ies<br />

52<br />

Alphanumeric 6<br />

ICCTerminalCountryCode Alpha 2<br />

Note: Initiates AVS and security verification.<br />

Reference Number from 3D <strong>Secure</strong> system<br />

generated with Verify Enrollment response.<br />

Example “10003606”<br />

Note: If submitted PaymentTrust will<br />

reference the 3D <strong>Secure</strong> system <strong>to</strong><br />

determine liability shift.<br />

Electronic Commerce Indica<strong>to</strong>r as returned<br />

from the 3D <strong>Secure</strong> MPI response.<br />

Note: For 3D <strong>Secure</strong> enabled transactions<br />

submit when available.<br />

The specific transaction identifier that was<br />

submitted <strong>to</strong> the MPI during 3D <strong>Secure</strong><br />

authentication.<br />

Note: For 3D <strong>Secure</strong> enabled transactions<br />

submit when available.<br />

Cardholder Authentication Value as<br />

returned from the 3D <strong>Secure</strong> MPI response.<br />

Note: For 3D <strong>Secure</strong> enabled transactions<br />

submit when available.<br />

Enrollment status used <strong>to</strong> determine liability<br />

shift as returned from the 3D <strong>Secure</strong> MPI<br />

response.<br />

Note: For 3D <strong>Secure</strong> enabled transactions<br />

submit when available.<br />

Authentication status used <strong>to</strong> determine<br />

liability shift as returned from the 3D <strong>Secure</strong><br />

MPI response.<br />

Note: For 3D <strong>Secure</strong> enabled transactions<br />

submit when available.<br />

Terminal Application Versions Number<br />

Example “FF1C”<br />

Note: Manda<strong>to</strong>ry when TRXSource = 9.<br />

Note: Not required for down graded ICC<br />

transactions.<br />

EMV tag 9F 33.<br />

Example “1C2A6D”<br />

Note: Manda<strong>to</strong>ry when TRXSource is 9.<br />

Note: Not required for down graded ICC<br />

transactions.<br />

Terminal ISO Country Code<br />

Example “US”<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O


Field Name Data Type Data Size Description<br />

Terminal Verification Result.<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

ICCTerminalResult Alphanumeric 10<br />

A hexadecimal value that indicates the code<br />

values recording the results of the tests the<br />

terminal carried out during the EMV<br />

process.<br />

Example “1C2E9A6D1F”<br />

Note: Manda<strong>to</strong>ry when TRXSource is 9.<br />

Note: Not required for down graded ICC<br />

O<br />

ICCTerminalDatetime Alphanumeric 20<br />

ICCAppId Alphanumeric 32<br />

ICCAppUsageControl Alphanumeric 4<br />

ICCAppProfile Alphanumeric 4<br />

ICCCryp<strong>to</strong>gramInformation Alphanumeric 2<br />

ICCCryp<strong>to</strong>gramType Numeric 2<br />

53<br />

transactions.<br />

Date and Time the rate expires<br />

(YYYYMMDDHHMMSS).<br />

Example “20050223164000”<br />

Note: Time is in military format.<br />

Note: Manda<strong>to</strong>ry when TRXSource is 9.<br />

Note: Not required for down graded ICC<br />

transactions.<br />

Application Identifier.<br />

A hexadecimal identifying within the IC, the<br />

card application provider and the business<br />

function.<br />

Example<br />

“FF1C2DEE3B9A6D1FD1FC2DF1EE3B9A<br />

6F”<br />

Application Usage Control.<br />

A hexadecimal value that indicates the IC<br />

equivalent of the service code found on<br />

track 2 of the magnetic stripe.<br />

Example “FF1C”<br />

Application Interchange Profile.<br />

A hexadecimal value that specifies the<br />

application functions that are supported by<br />

the application in the IC.<br />

Example “FF1C”<br />

Note: Manda<strong>to</strong>ry when TRXSource = 9.<br />

Note: Not required for down graded ICC<br />

transactions.<br />

Cryp<strong>to</strong>gram Information Data.<br />

Indicates the type of cryp<strong>to</strong>gram.<br />

40 (TC) – <strong>Transaction</strong> Certificate.<br />

80 (ARQC) – Authorization Request<br />

Cryp<strong>to</strong>gram.<br />

Example “40”<br />

Note: Manda<strong>to</strong>ry when TRXSource is 9.<br />

Note: Not required for down graded ICC<br />

transactions.<br />

Note: All other values are treated as an<br />

ARQC request.<br />

Cryp<strong>to</strong>gram <strong>Transaction</strong> Type.<br />

Specifies the types of transactions the IC<br />

shall perform.<br />

Example “40”<br />

Note: Manda<strong>to</strong>ry when TRXSource = 9.<br />

Note: Not required for down graded ICC<br />

transactions.<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O


Field Name Data Type Data Size Description<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

ICCCryp<strong>to</strong>gram Alphanumeric 16<br />

Cryp<strong>to</strong>gram data as a hexadecimal value.<br />

Must either be the TC or ARQC pending<br />

what ICCCryp<strong>to</strong>gramInformation is<br />

submitted.<br />

Example “FF1C2DEE3B9A6D1F”<br />

Note: Manda<strong>to</strong>ry when TRXSource = 9.<br />

Note: Not required for down graded ICC<br />

transactions.<br />

Application <strong>Transaction</strong> Counter.<br />

A hexadecimal value that indicates the<br />

device for moni<strong>to</strong>ring card usage.<br />

O<br />

ICCAppTrxCounter Alphanumeric 4 Example “FF1C”<br />

Note: Manda<strong>to</strong>ry when TRXSource = 9.<br />

Note: Not required for down graded ICC<br />

transactions.<br />

Issuer Action Code.<br />

A hexadecimal value that indicates a series<br />

of values optionally encoded in an IC that<br />

O<br />

ICCIssuerActionCode Alphanumeric 30<br />

indicates the card issuers preferred actions<br />

for this transaction.<br />

Example<br />

“1C2DEE3B9A6D1FD1FC2DF1EE3B9A2A<br />

”<br />

Issuer Application Data.<br />

A hexadecimal value that indicates<br />

additional, undefined, data sent by the card<br />

issuer <strong>to</strong> enable authentication of the card.<br />

Example<br />

O<br />

ICCIssuerAppData Alphanumeric 64 “FF1C2DEE3B9A6D1FD1FC2DF1EE3B9A<br />

6F3BFC2DEE3B9A6D1FD1FC2DF1EEA6<br />

D1”<br />

Note: Manda<strong>to</strong>ry when TRXSource = 9.<br />

Note: Not required for down graded ICC<br />

transactions.<br />

The PAN sequence number as provided by<br />

the IC.<br />

O<br />

ICCPANSequenceNu<br />

mber<br />

Numeric 2<br />

Example “05”<br />

Note: Provide if available.<br />

Note: Not required for down graded ICC<br />

transactions.<br />

<strong>Transaction</strong> Status Information.<br />

EMV tag 9B.<br />

O<br />

ICCTrxStatus Alphanumeric 4<br />

Example “FF1C”<br />

Note: Manda<strong>to</strong>ry when TRXSource is 9.<br />

Note: Not required for down graded ICC<br />

transactions.<br />

O<br />

54


Field Name Data Type Data Size Description<br />

Card Verification Method Type.<br />

1 - Cus<strong>to</strong>mer Present, Signature<br />

2 - Cus<strong>to</strong>mer Present, PIN<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

ICCVerificationType Numeric 1<br />

3 - Cus<strong>to</strong>mer Present, Alternate CVM<br />

4 - Cus<strong>to</strong>mer Present, UPT, No CVM<br />

5 - Cus<strong>to</strong>mer Present, UPT, PIN<br />

6 - Cus<strong>to</strong>mer Present, UPT, Alternate<br />

CVM<br />

7 - Cus<strong>to</strong>mer Not Present<br />

O<br />

ICCVerificationResult Alphanumeric 6<br />

ICCUnpredictableNumber Alphanumeric 8<br />

NarrativeStatement1 Alphanumeric 50<br />

NarrativeStatement2 Alphanumeric 50<br />

Sample Input String:<br />

55<br />

8 - No Verification<br />

Card Verification Method Results.<br />

A hexadecimal value that indicates the<br />

results of the cardholder verification method<br />

performed in this transaction.<br />

Example “1C2A6D”<br />

Note: Manda<strong>to</strong>ry when TRXSource = 9.<br />

Note: Not required for down graded ICC<br />

transactions.<br />

Unpredictable Number.<br />

A hexadecimal value <strong>to</strong> provide variability<br />

and uniqueness <strong>to</strong> the generation of the<br />

application cryp<strong>to</strong>gram.<br />

Example “1C2A6D1F”<br />

Note: Manda<strong>to</strong>ry when TRXSource = 9.<br />

Note: Not required for down graded ICC<br />

transactions.<br />

Short description appearing on shopper’s<br />

credit card statement. (Line 1)<br />

Example “Online clothing s<strong>to</strong>re.”<br />

Note: Size varies depending on financial<br />

institution.<br />

Short description appearing on shopper’s<br />

credit card statement. (Line 2)<br />

Example “Jean pants.”<br />

Note: Size varies depending on financial<br />

institution.<br />

StringIn=VersionUsed^1~MerchantId^100000~UserName^Mariah~UserPassword^Mariah~<strong>Transaction</strong>Type^<br />

PT~IsTest^1~TimeOut^60000~RequestType^A~MOP^CC~AcctNumber^4459510002561039~ExpDate^0920<br />

10~CurrencyId^840~Amount^56.78<br />

O<br />

O<br />

O<br />

O


STLink will return the following items for a PaymentTrust<br />

Authorization Request (PT)(A)<br />

Field Name Data Type Data Size Description<br />

MerchantId Numeric N/A<br />

Permanent Merchant ID assigned by PaymentTrust Ltd.<br />

Example 100000<br />

<strong>Transaction</strong>Type Alpha 2 <strong>Transaction</strong> Type, “PT” for PaymentTrust<br />

Order number submitted by the Merchant or a number<br />

OrderNumber Alphanumeric 35<br />

generated by PaymentTrust Ltd. if order number was not<br />

specified.<br />

Example “10098987”<br />

StrId Numeric N/A Reference Number from STLink<br />

Reference Number from PaymentTrust system generated<br />

with Auth response<br />

PTTID or PTID Numeric N/A Example “10003606”<br />

Note: If the version is less than 2.0, PTTID is returned. If not<br />

PTID is returned.<br />

Account type.<br />

CC - Visa & MasterCard debit & credit cards, Carte<br />

Bancaire, Carte Bleue<br />

DS - Switch/Solo debit cards<br />

CQ - Cheques<br />

MOP Alpha 2<br />

EC - Electronic cheques or credit<br />

DC - Debit Card PIN enabled cards<br />

PC - Purchasing cards<br />

NT - Net Teller<br />

P2 – Pay 2<br />

Example: “CC”<br />

ISO standard numeric ids<br />

CurrencyId Numeric N/A Example 840 = USD, 124 = CAD, 826 = GBP<br />

Note: Please see Appendix B for complete list of values.<br />

<strong>Transaction</strong> amount. Up <strong>to</strong> 4 decimals maximum. Decimal<br />

Amount Numeric N/A varies based on CurrencyId.<br />

Example 840 = “56.78”, 392 = “99”, 048 = “125.333”<br />

Approved sale and authorization transactions receive a<br />

AuthCode Alphanumeric 30<br />

numeric or alphanumeric authorization code referencing the<br />

transaction for processing purposes.<br />

Example “P24586DE”<br />

RequestType Alpha 1 'A' Authorization<br />

Authorization Response Cryp<strong>to</strong>gram.<br />

ICCCryp<strong>to</strong>gramRespo<br />

nse Alphanumeric 32<br />

A cryp<strong>to</strong>gram generated as hexadecimal value by the card<br />

issuer in response <strong>to</strong> an ARQC; used by the card <strong>to</strong><br />

authenticate the card issuer.<br />

Example “FF1C2DEE3B9A6D1F FF1C2DEE3B9A6D1F”<br />

Issuer Script Data.<br />

A hexadecimal value that indicates encrypted commands<br />

returned by the card issuer <strong>to</strong> add/amend/delete data in the<br />

ICCIssuerScript Alphanumeric 256 IC.<br />

Example<br />

“FF1C2DEE3B9A6D1FFF1C2DEE3B9A6D1FFF1C2DEE3<br />

B9A6D1FFF1C2DEE3B9A6D1F”<br />

Authorising Entity for the transaction<br />

AuthEntity Alphanumeric N/A<br />

Possible values: Acquirer, Card accep<strong>to</strong>r<br />

56


Field Name Data Type Data Size Description<br />

MessageCode Numeric N/A<br />

Example “2100”<br />

Note: Please See Appendix C for complete list of Results<br />

Message Alphanumeric 60<br />

Note: Please See Appendix C for complete list of Response<br />

Messages<br />

Returned when the response is a referral.<br />

ReferrerCode Numeric 20 Note: When placing a call <strong>to</strong> the bank this code must be<br />

presented <strong>to</strong> the bank representative.<br />

1 digit code returned when CVN check is requested.<br />

Possible values:<br />

CVNMessageCo<br />

de<br />

Numeric N/A<br />

0 = Security/Address Matched<br />

1 = Data not Verified by Bank<br />

2 = No Data Matched<br />

3 = Address Match only<br />

4 =Security Match only<br />

CVNMessage Alphanumeric 100 Descriptive message of CVNMessageCode<br />

Reference Number from Foreign Exchange system.<br />

FXID Numeric N/A<br />

Example “10003606”<br />

Note: Only returned when transaction is associated with FX<br />

transaction.<br />

The current foreign exchange rate. Decimal length varies.<br />

FXRate Numeric N/A<br />

Example “0.84566”<br />

Note: Only returned when transaction is associated with FX<br />

transaction.<br />

Example “3050”<br />

FXMessageCode Numeric N/A<br />

Note: Only returned when transaction is associated with FX<br />

transaction.<br />

Note: Please See Appendix C for complete list of Results<br />

Note: Only returned when transaction is associated with FX<br />

FXMessage Alphanumeric 60<br />

transaction.<br />

Note: Please See Appendix C for complete list of Response<br />

Messages<br />

Sample Response:<br />

MerchantId^100000~<strong>Transaction</strong>Type^PT~OrderNumber^6202021815~StrId^1692784~PTTID^43153506<br />

~MOP^CC~CurrencyId^840~Amount^56.78~AuthCode^BB71CD~RequestType^A~MessageCode^2100~<br />

Message^<strong>Transaction</strong> Approved<br />

57


PaymentTrust Forced Authorization Request (PT)(A)<br />

Field Name Data Type Data Size Description<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

StringIn= N/A N/A<br />

Must be at beginning of all strings. Capitals<br />

must be used as shown.<br />

Note: Not required for XML batch requests.<br />

Version Used specific <strong>to</strong> <strong>Transaction</strong> Type.<br />

M<br />

VersionUsed Alphanumeric 4<br />

Note: Must evaluate <strong>to</strong> numeric value for<br />

PT.<br />

Example “2” for PT<br />

Permanent Merchant ID assigned by<br />

M<br />

MerchantId Numeric N/A PaymentTrust Ltd.<br />

Example “100000”<br />

M<br />

UserName Alphanumeric 15<br />

UserName assigned by PaymentTrust Ltd.<br />

Example “Mariah”<br />

UserPassword assigned by PaymentTrust<br />

M<br />

UserPassword Alphanumeric 15 Ltd.<br />

Example “rr87uy”<br />

M<br />

<strong>Transaction</strong>Type Alphanumeric 2 <strong>Transaction</strong> Type, “PT” for PaymentTrust M<br />

IsTest<br />

Numeric<br />

1<br />

''1' for "Test", '0' for "Live",<br />

Note: Defaults <strong>to</strong> 0 if left blank<br />

Indicates the maximum time the merchant<br />

O<br />

TimeOut Numeric N/A allows for the transaction, in milliseconds<br />

Recommendation “60000”<br />

M<br />

RequestType Alphanumeric 1 ‘A’ Authorization<br />

For use <strong>to</strong> differentiate between S<strong>to</strong>res.<br />

M<br />

S<strong>to</strong>reID Alphanumeric 10<br />

Permanent S<strong>to</strong>re ID assigned by<br />

PaymentTrust Ltd. or Merchant if left blank<br />

Example “100000”<br />

Account type.<br />

CC - Visa & MasterCard debit & credit<br />

cards, Carte Bancaire, Carte Bleue<br />

DS - Switch/Solo debit cards<br />

CQ - Cheques<br />

O<br />

MOP Alpha 2<br />

EC - Electronic cheques or credit<br />

DC - Debit Card PIN enabled cards<br />

PC - Purchasing cards<br />

NT - Net Teller<br />

P2 – Pay 2<br />

Example: “CC”<br />

Indicates the method used <strong>to</strong> receive the<br />

CreditCard information.<br />

M<br />

TRXSource Numeric N/A<br />

58<br />

1 - Swiped with a Card Present<br />

2 - Keyed by merchant with a Card present<br />

3 - Mail Order Telephone Order MOTO<br />

(Card Not Present)<br />

4 - Web orders (Card not present)<br />

5 – Web orders (Card not present, e-mail<br />

not present)<br />

9 – Integrated Circuit Card<br />

Note: Defaults <strong>to</strong> the Merchant default value<br />

during set-up.<br />

Note: Manda<strong>to</strong>ry for ICC transactions.<br />

O


Field Name Data Type Data Size Description<br />

Indicates swipe information from the<br />

Track2data of the Card when the<br />

TRXSource is 1 (Swiped with a Card<br />

Present)<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

Track2Data Alphanumeric 100<br />

Example:<br />

“;4459510002561039=09100000000000000000<br />

?”<br />

Note: This becomes a manda<strong>to</strong>ry field when<br />

TRXSource =1 or TRXSource = 9 for a<br />

O<br />

OrderNumber Alphanumeric<br />

59<br />

35<br />

AcctName Alphanumeric 60<br />

AcctNumber Numeric N/A<br />

ExpDate Numeric N/A<br />

IssueNumber Numeric N/A<br />

StartDate Numeric N/A<br />

CurrencyId Numeric N/A<br />

FXID Numeric N/A<br />

Amount Numeric N/A<br />

Title Alphanumeric 20<br />

Company Alphanumeric 60<br />

down graded ICC transaction.<br />

Specific Order number submitted by the<br />

Merchant for tracking purposes.<br />

Example “10098987”<br />

Note: For Carte Bancaire and Carte Bleue cards<br />

OrderNumber must reference a previously<br />

submitted authorization/sale that returned a<br />

referral response.<br />

Note: If no order number is submitted the system<br />

will generate one for the merchant at the time of<br />

the transaction.<br />

Account holder name on card or account<br />

Example “John Smith 3 rd ”<br />

Note: Manda<strong>to</strong>ry for Carte Bancaire and<br />

Carte Bleue cards.<br />

Credit card number, Debit Card number,<br />

Purchase Card number, Bank account<br />

number, or any other applicable Bank<br />

Identifier.<br />

Example “4459510002561039”<br />

Note: This field is not required when<br />

TRXSource is 1<br />

Expiry date for credit card in MMYYYY<br />

format<br />

Example “092010”<br />

Note: Manda<strong>to</strong>ry for CC, PC and DS MOP<br />

types.<br />

Submit for Switch/Solo cards if available.<br />

Example “5”<br />

Submit for Switch/Solo cards if available.<br />

Example “092010”<br />

ISO standard numeric ids<br />

Example 840 = USD, 124 = CAD, 826 =<br />

GBP<br />

Note: Please see Appendix B for complete list of<br />

values.<br />

ID of precalculated Foreign Exchange rate.<br />

Note: Manda<strong>to</strong>ry for FX transactions<br />

<strong>Transaction</strong> amount. Up <strong>to</strong> 4 decimals<br />

maximum. Decimal varies based on<br />

CurrencyId.<br />

Example 840 = “56.78”, 392 = “99”, 048 =<br />

“125.333”<br />

Billing contact Title<br />

Example “Sir”<br />

Billing contact company<br />

Example “PaymentTrust Ltd.”<br />

O<br />

O<br />

M<br />

O<br />

O<br />

O<br />

M<br />

O<br />

M<br />

O<br />

O


Field Name Data Type Data Size Description<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

FirstName Alphanumeric 60<br />

Billing contact First Name<br />

Example “John”<br />

O<br />

MiddleName Alphanumeric 60 Billing contact Middle Name O<br />

LastName Alphanumeric 60<br />

Billing contact Last Name<br />

Example “Smith”<br />

O<br />

Suffix Alphanumeric 20<br />

Billing contact suffix<br />

Example “ 3 rd ”<br />

Billing contact Address line 1<br />

O<br />

Address1 Alphanumeric 60 Example “2130 Gold”<br />

Note: Required for AVS<br />

O<br />

Address2 Alphanumeric 60<br />

Billing contact Address line 2<br />

Example “Suite101”<br />

O<br />

Address3 Alphanumeric 60 Billing contact Address line 3<br />

Billing contact City<br />

O<br />

City Alphanumeric 60 Example “New York”<br />

Note: Required for AVS<br />

O<br />

The billing information state based on the<br />

two-character long ISO codes. This is a<br />

manda<strong>to</strong>ry field for North America only. The<br />

remaining world regions /Provinces may use<br />

StateCode Alphanumeric 60 this as an Optional field.<br />

Example “NY”<br />

Note: Required for AVS<br />

Note: Please See Appendix E for complete list of<br />

values<br />

Billing contact ZIP / Postal Code<br />

O<br />

ZipCode Alphanumeric 30 Example “90210”<br />

Note: Required for AVS<br />

Billing contact ISO Country Code<br />

O<br />

Example “US”<br />

CountryCode Alpha 2 Note: Required for AVS<br />

Note: Please See Appendix D for complete list of<br />

values<br />

Billing contact Phone Number, only digits,<br />

O<br />

PhoneNumber Alphanumeric 30 no parentheses<br />

Example “6188565656”<br />

O<br />

PhoneExtension Alphanumeric 10<br />

Billing contact Phone Extension<br />

Example “5654”<br />

O<br />

Email Alphanumeric 50<br />

Billing contact Email address<br />

Example “johns@aol.com”<br />

O<br />

ShipToTitle Alphanumeric 20<br />

Ship <strong>to</strong> contact Title<br />

Example “Sir”<br />

O<br />

ShipToCompany Alphanumeric 60<br />

Ship <strong>to</strong> contact company<br />

Example “PaymentTrust Ltd.”<br />

O<br />

ShipToFirstName Alphanumeric 60<br />

Ship <strong>to</strong> contact First Name<br />

Example “John”<br />

O<br />

ShipToMiddleName Alphanumeric 60 Ship <strong>to</strong> contact Middle Name O<br />

ShipToLastName Alphanumeric 60<br />

Ship <strong>to</strong> contact Last Name<br />

Example “Smith”<br />

O<br />

ShipToSuffix Alphanumeric 20<br />

Ship <strong>to</strong> contact suffix<br />

Example “ 3 rd ”<br />

O<br />

ShipToAddress1 Alphanumeric 60<br />

Ship <strong>to</strong> contact Address line 1<br />

Example “2130 Gold”<br />

O<br />

ShipToAddress2 Alphanumeric 60<br />

Ship <strong>to</strong> contact Address line 2<br />

Example “Suite101”<br />

O<br />

60


Field Name Data Type Data Size Description<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

ShipToAddress3 Alphanumeric 60 Ship <strong>to</strong> contact Address line 3 O<br />

ShipToCity Alphanumeric 60<br />

Ship <strong>to</strong> contact City<br />

Example “New York”<br />

O<br />

ShipToStateCode Alphanumeric 30<br />

Ship <strong>to</strong> contact state code, two-character<br />

long ISO code required for North America.<br />

Remaining Region and Provinces may use<br />

free form field or leave it blank.<br />

Example “NY”<br />

Note: Please See Appendix E for complete list of<br />

values<br />

O<br />

ShipToZipCode Alphanumeric 30<br />

Ship <strong>to</strong> contact ZIP / Postal Code<br />

Example “90210”<br />

Ship <strong>to</strong> contact ISO Country Code, list will<br />

be provided by PaymentTrust Ltd.<br />

O<br />

ShipToCountryCode Alpha 2 Example “US”<br />

Note: Please See Appendix D for complete list of<br />

values<br />

Ship <strong>to</strong> contact Phone Number, only digits,<br />

O<br />

ShipToPhoneNumber Alphanumeric 30 no parentheses<br />

Example “6188565656”<br />

O<br />

ShipToPhoneExtension Alphanumeric 10<br />

Ship <strong>to</strong> contact Phone Extension<br />

Example “5654”<br />

Approved sale and authorization<br />

transactions receive a numeric or<br />

alphanumeric authorization code<br />

referencing the transaction for processing<br />

O<br />

AuthCode Alphanumeric 30<br />

purposes. Generated by financial institution<br />

and given <strong>to</strong> merchant by phone or other<br />

method.<br />

Example “P24586DE”<br />

Note: Optional when TRXSource = 9 and<br />

ICCCryp<strong>to</strong>gramType = 40.<br />

Reference Number from 3D <strong>Secure</strong> system<br />

generated with Verify Enrollment response.<br />

M<br />

SVID Numeric N/A<br />

Example “10003606”<br />

Note: If submitted PaymentTrust will<br />

reference the 3D <strong>Secure</strong> system <strong>to</strong><br />

determine liability shift.<br />

Electronic Commerce Indica<strong>to</strong>r as returned<br />

O<br />

ECI Numeric 2<br />

from the 3D <strong>Secure</strong> MPI response.<br />

Note: For 3D <strong>Secure</strong> enabled transactions<br />

submit when available.<br />

The specific transaction identifier that was<br />

submitted <strong>to</strong> the MPI during 3D <strong>Secure</strong><br />

O<br />

<strong>Secure</strong>Id Alphanumeric 20 authentication.<br />

Note: For 3D <strong>Secure</strong> enabled transactions<br />

submit when available.<br />

Cardholder Authentication Value as<br />

O<br />

CAV Alphanumeric 50<br />

returned from the 3D <strong>Secure</strong> MPI response.<br />

Note: For 3D <strong>Secure</strong> enabled transactions<br />

submit when available.<br />

O<br />

61


Field Name Data Type Data Size Description<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

CHEnrolled Alpha 1<br />

Enrollment status used <strong>to</strong> determine liability<br />

shift as returned from the 3D <strong>Secure</strong> MPI<br />

response.<br />

Note: For 3D <strong>Secure</strong> enabled transactions<br />

submit when available.<br />

Authentication status used <strong>to</strong> determine<br />

liability shift as returned from the 3D <strong>Secure</strong><br />

O<br />

TXStatus Alpha 1 MPI response.<br />

Note: For 3D <strong>Secure</strong> enabled transactions<br />

submit when available.<br />

Terminal Application Versions Number<br />

Example “FF1C”<br />

O<br />

ICCAppVersionNumber Alphanumeric 4 Note: Manda<strong>to</strong>ry when TRXSource = 9.<br />

Note: Not required for down graded ICC<br />

transactions.<br />

EMV tag 9F 33.<br />

O<br />

ICCTerminalCapabilit<br />

ies<br />

Alphanumeric 6<br />

Example “1C2A6D”<br />

Note: Manda<strong>to</strong>ry when TRXSource is 9.<br />

Note: Not required for down graded ICC<br />

transactions.<br />

O<br />

ICCTerminalCountryCode Alpha 2<br />

Terminal ISO Country Code<br />

Example “US”<br />

Terminal Verification Result.<br />

A hexadecimal value that indicates the code<br />

values recording the results of the tests the<br />

terminal carried out during the EMV<br />

O<br />

ICCTerminalResult Alphanumeric 10 process.<br />

Example “1C2E9A6D1F”<br />

Note: Manda<strong>to</strong>ry when TRXSource is 9.<br />

Note: Not required for down graded ICC<br />

transactions.<br />

O<br />

ICCTerminalDatetime AlphaNumeri<br />

Date and Time the rate expires<br />

(YYYYMMDDHHMMSS).<br />

c<br />

20<br />

Example “20050223164000”<br />

Note: Time is in military format.<br />

Note: Manda<strong>to</strong>ry when TRXSource is 9.<br />

Note: Not required for down graded ICC<br />

transactions.<br />

Application Identifier.<br />

A hexadecimal identifying within the IC, the<br />

card application provider and the business<br />

O<br />

ICCAppId Alphanumeric 32 function.<br />

Example<br />

“FF1C2DEE3B9A6D1FD1FC2DF1EE3B9A<br />

6F”<br />

Application Usage Control.<br />

A hexadecimal value that indicates the IC<br />

O<br />

ICCAppUsageControl Alphanumeric 4 equivalent of the service code found on<br />

track 2 of the magnetic stripe.<br />

Example “FF1C”<br />

O<br />

62


Field Name Data Type Data Size Description<br />

Application Interchange Profile.<br />

A hexadecimal value that specifies the<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

ICCAppProfile Alphanumeric 4<br />

application functions that are supported by<br />

the application in the IC.<br />

Example “FF1C”<br />

Note: Manda<strong>to</strong>ry when TRXSource = 9.<br />

Note: Not required for down graded ICC<br />

O<br />

ICCCryp<strong>to</strong>gramInformation Alphanumeric 2<br />

ICCCryp<strong>to</strong>gramType Numeric 2<br />

ICCCryp<strong>to</strong>gram Alphanumeric 16<br />

ICCAppTrxCounter Alphanumeric 4<br />

ICCIssuerActionCode Alphanumeric 30<br />

63<br />

transactions.<br />

Cryp<strong>to</strong>gram Information Data.<br />

Indicates the type of cryp<strong>to</strong>gram.<br />

40 (TC) – <strong>Transaction</strong> Certificate.<br />

80 (ARQC) – Authorization Request<br />

Cryp<strong>to</strong>gram.<br />

Example “40”<br />

Note: Manda<strong>to</strong>ry when TRXSource is 9.<br />

Note: Not required for down graded ICC<br />

transactions.<br />

Note: All other values are treated as an<br />

ARQC request.<br />

Cryp<strong>to</strong>gram <strong>Transaction</strong> Type.<br />

Specifies the types of transactions the IC<br />

shall perform.<br />

Example “40”<br />

Note: Manda<strong>to</strong>ry when TRXSource = 9.<br />

Note: Not required for down graded ICC<br />

transactions.<br />

Cryp<strong>to</strong>gram data as a hexadecimal value.<br />

Must either be the TC or ARQC pending<br />

what ICCCryp<strong>to</strong>gramInformation is<br />

submitted.<br />

Example “FF1C2DEE3B9A6D1F”<br />

Note: Manda<strong>to</strong>ry when TRXSource = 9.<br />

Note: Not required for down graded ICC<br />

transactions.<br />

Application <strong>Transaction</strong> Counter.<br />

A hexadecimal value that indicates the<br />

device for moni<strong>to</strong>ring card usage.<br />

Example “FF1C”<br />

Note: Manda<strong>to</strong>ry when TRXSource = 9.<br />

Note: Not required for down graded ICC<br />

transactions.<br />

Issuer Action Code.<br />

A hexadecimal value that indicates a series<br />

of values optionally encoded in an IC that<br />

indicates the card issuers preferred actions<br />

for this transaction.<br />

Example<br />

“1C2DEE3B9A6D1FD1FC2DF1EE3B9A2A<br />

”<br />

O<br />

O<br />

O<br />

O<br />

O


Field Name Data Type Data Size Description<br />

Issuer Application Data.<br />

A hexadecimal value that indicates<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

ICCIssuerAppData Alphanumeric 64<br />

additional, undefined, data sent by the card<br />

issuer <strong>to</strong> enable authentication of the card.<br />

Example<br />

“FF1C2DEE3B9A6D1FD1FC2DF1EE3B9A<br />

6F3BFC2DEE3B9A6D1FD1FC2DF1EEA6<br />

D1”<br />

Note: Manda<strong>to</strong>ry when TRXSource = 9.<br />

Note: Not required for down graded ICC<br />

O<br />

ICCPANSequenceNu<br />

mber<br />

64<br />

Numeric 2<br />

ICCTrxStatus Alphanumeric 4<br />

ICCVerificationType Numeric 1<br />

ICCVerificationResult Alphanumeric 6<br />

ICCUnpredictableNumber Alphanumeric 8<br />

NarrativeStatement1 Alphanumeric 50<br />

transactions.<br />

The PAN sequence number as provided by<br />

the IC.<br />

Example “05”<br />

Note: Provide if available.<br />

Note: Not required for down graded ICC<br />

transactions.<br />

<strong>Transaction</strong> Status Information.<br />

EMV tag 9B.<br />

Example “FF1C”<br />

Note: Manda<strong>to</strong>ry when TRXSource is 9.<br />

Note: Not required for down graded ICC<br />

transactions.<br />

Card Verification Method Type.<br />

1 - Cus<strong>to</strong>mer Present, Signature<br />

2 - Cus<strong>to</strong>mer Present, PIN<br />

3 - Cus<strong>to</strong>mer Present, Alternate CVM<br />

4 - Cus<strong>to</strong>mer Present, UPT, No CVM<br />

5 - Cus<strong>to</strong>mer Present, UPT, PIN<br />

6 - Cus<strong>to</strong>mer Present, UPT, Alternate<br />

CVM<br />

7 - Cus<strong>to</strong>mer Not Present<br />

8 - No Verification<br />

Card Verification Method Results.<br />

A hexadecimal value that indicates the<br />

results of the cardholder verification method<br />

performed in this transaction.<br />

Example “1C2A6D”<br />

Note: Manda<strong>to</strong>ry when TRXSource = 9.<br />

Note: Not required for down graded ICC<br />

transactions.<br />

Unpredictable Number.<br />

A hexadecimal value <strong>to</strong> provide variability<br />

and uniqueness <strong>to</strong> the generation of the<br />

application cryp<strong>to</strong>gram.<br />

Example “1C2A6D1F”<br />

Note: Manda<strong>to</strong>ry when TRXSource = 9.<br />

Note: Not required for down graded ICC<br />

transactions.<br />

Short description appearing on shopper’s<br />

credit card statement. (Line 1)<br />

Example “Online clothing s<strong>to</strong>re.”<br />

Note: Size varies depending on financial<br />

institution.<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O


Field Name Data Type Data Size Description<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

NarrativeStatement2 Alphanumeric 50<br />

Short description appearing on shopper’s<br />

credit card statement. (Line 2)<br />

Example “Jean pants.”<br />

Note: Size varies depending on financial<br />

institution.<br />

O<br />

Sample Input String:<br />

StringIn=VersionUsed^1~MerchantId^100000~UserName^Mariah~UserPassword^Mariah~<strong>Transaction</strong>Type^<br />

PT~IsTest^1~TimeOut^60000~RequestType^A~MOP^CC~AcctNumber^4459510002561039~ExpDate^0920<br />

10~CurrencyId^840~Amount^56.78~AuthCode^P24586DE<br />

65


STLink will return the following items for a PaymentTrust Forced<br />

Authorization Request (PT)(A)<br />

Field Name Data Type Data Size Description<br />

MerchantId Numeric N/A<br />

Permanent Merchant ID assigned by PaymentTrust Ltd.<br />

Example 100000<br />

<strong>Transaction</strong>Type Alpha 2 <strong>Transaction</strong> Type, “PT” for PaymentTrust<br />

Order number submitted by the Merchant or a number<br />

OrderNumber Alphanumeric 35<br />

generated by PaymentTrust Ltd. if order number was not<br />

specified.<br />

Example “10098987”<br />

StrId Numeric N/A Reference Number from STLink<br />

Reference Number from PaymentTrust system generated<br />

with Auth response<br />

PTTID or PTID Numeric N/A Example “10003606”<br />

Note: If the version is less than 2.0, PTTID is returned. If not<br />

PTID is returned.<br />

Account type.<br />

CC - Visa & MasterCard debit & credit cards, Carte<br />

Bancaire, Carte Bleue<br />

DS - Switch/Solo debit cards<br />

CQ - Cheques<br />

MOP Alpha 2<br />

EC - Electronic cheques or credit<br />

DC - Debit Card PIN enabled cards<br />

PC - Purchasing cards<br />

NT - Net Teller<br />

P2 – Pay 2<br />

Example: “CC”<br />

ISO standard numeric ids<br />

CurrencyId Numeric N/A Example 840 = USD, 124 = CAD, 826 = GBP<br />

Note: Please see Appendix B for complete list of values.<br />

<strong>Transaction</strong> amount. Up <strong>to</strong> 4 decimals maximum. Decimal<br />

Amount Numeric N/A varies based on CurrencyId.<br />

Example 840 = “56.78”, 392 = “99”, 048 = “125.333”<br />

RequestType Alpha 1 'A' Authorization<br />

MessageCode Numeric N/A<br />

Example “2100”<br />

Note: Please See Appendix C for complete list of Results<br />

Message Alphanumeric 60<br />

Note: Please See Appendix C for complete list of Response<br />

Messages<br />

Reference Number from Foreign Exchange system.<br />

FXID Numeric N/A<br />

Example “10003606”<br />

Note: Only returned when transaction is associated with FX<br />

transaction.<br />

The current foreign exchange rate. Decimal length varies.<br />

FXRate Numeric N/A<br />

Example “0.84566”<br />

Note: Only returned when transaction is associated with FX<br />

transaction.<br />

Example “3050”<br />

FXMessageCode Numeric N/A<br />

Note: Only returned when transaction is associated with FX<br />

transaction.<br />

Note: Please See Appendix C for complete list of Results<br />

Note: Only returned when transaction is associated with FX<br />

FXMessage Alphanumeric 60<br />

transaction.<br />

Note: Please See Appendix C for complete list of Response<br />

Messages<br />

66


Sample Response:<br />

MerchantId^100000~<strong>Transaction</strong>Type^PT~OrderNumber^7603534872~StrId^1692785~PTTID^43153507<br />

~MOP^CC~CurrencyId^840~Amount^56.78~RequestType^A~MessageCode^2100~Message^Transactio<br />

n Approved<br />

PaymentTrust Deposit (Settlement) Request (PT)(D)<br />

A Deposit request marks a previously authorized transaction for funds collection during the next deposit<br />

cycle with the financial institution. Merchants who do not ship goods immediately should only perform this<br />

transaction request at the order fulfillment stage (shipment).<br />

Important Note: A merchant can only submit one deposit request per authorization and this must be for a<br />

value lesser or equal <strong>to</strong> the authorized amount.<br />

Please also note that this Request Type can also be submitted via Batch. For more on Batch submissions<br />

please refer <strong>to</strong> the XML definitions in section 6.3 of this document.<br />

Field Name Data Type Data Size Description<br />

Must be at beginning of all strings.<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

StringIn= N/A N/A<br />

Capitals must be used as shown.<br />

Note: Not required for XML batch<br />

requests.<br />

M<br />

VersionUsed Alphanumeric 4<br />

Version Used specific <strong>to</strong> <strong>Transaction</strong><br />

Type. Note: Must evaluate <strong>to</strong> numeric<br />

value for PT.<br />

Example “2” for PT<br />

Permanent Merchant ID assigned by<br />

M<br />

MerchantId Numeric N/A PaymentTrust Ltd.<br />

Example “100000”<br />

UserName assigned by PaymentTrust<br />

M<br />

UserName Alphanumeric 15 Ltd.<br />

Example “Mariah”<br />

UserPassword assigned by<br />

M<br />

UserPassword Alphanumeric 15 PaymentTrust Ltd.<br />

Example “rr87uy”<br />

M<br />

<strong>Transaction</strong>Type Alphanumeric 2<br />

<strong>Transaction</strong> Type, “PT” for<br />

PaymentTrust<br />

M<br />

IsTest Numeric 1<br />

''1' for "Test", '0' for "Live",<br />

Note: Defaults <strong>to</strong> 0 if left blank<br />

Indicates the maximum time the<br />

O<br />

TimeOut Numeric N/A<br />

merchant allows for the transaction, in<br />

milliseconds<br />

Recommendation “60000”<br />

M<br />

RequestType Alphanumeric 1 ‘D’ Deposit (Settlement).<br />

Specific Order number submitted by the<br />

Merchant for tracking purposes.<br />

M<br />

OrderNumber Alphanumeric 35 Example “10098987”<br />

Note: If no order number is submitted the<br />

system will generate one for the merchant at<br />

the time of the transaction.<br />

O<br />

67


Field Name Data Type Data Size Description<br />

ISO standard numeric ids<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

CurrencyId Numeric N/A<br />

Example 840 = USD, 124 = CAD, 826<br />

= GBP<br />

Note: Please see Appendix B for complete<br />

M<br />

Amount Numeric N/A<br />

PTTID or PTID Numeric N/A<br />

ICCCryp<strong>to</strong>gram Alphanumeric 16<br />

ICCTerminalResult Alphanumeric 10<br />

ICCTrxStatus Alphanumeric 4<br />

NarrativeStateme<br />

nt1<br />

NarrativeStateme<br />

nt2<br />

Sample Input String:<br />

68<br />

Alphanumeric 50<br />

Alphanumeric 50<br />

list of values.<br />

<strong>Transaction</strong> amount. Up <strong>to</strong> 4 decimals<br />

maximum. Decimal varies based on<br />

CurrencyId.<br />

Example 840 = “56.78”, 392 = “99”,<br />

048 = “125.333”<br />

Reference Number from PaymentTrust<br />

system generated with Auth response<br />

Example “10003606”<br />

Note: If the version is less than 2.0, PTTID<br />

is required. If not PTID is required.<br />

Cryp<strong>to</strong>gram data as a hexadecimal<br />

value.<br />

Example “FF1C2DEE3B9A6D1F”<br />

Note: Manda<strong>to</strong>ry when TRXSource = 9.<br />

Note: Not required for down graded<br />

ICC transactions.<br />

Note: Not required if submitted during<br />

Authorisation request.<br />

Terminal Verification Result.<br />

A hexadecimal value that indicates the<br />

code values recording the results of the<br />

tests the terminal carried out during the<br />

EMV process.<br />

Example “1C2E9A6D1F”<br />

Note: Manda<strong>to</strong>ry when TRXSource is 9.<br />

Note: Not required for down graded<br />

ICC transactions.<br />

<strong>Transaction</strong> Status Information.<br />

EMV tag 9B.<br />

Example “FF1C”<br />

Note: Manda<strong>to</strong>ry when TRXSource is 9.<br />

Note: Not required for down graded<br />

ICC transactions.<br />

Short description appearing on<br />

shopper’s credit card statement. (Line<br />

1)<br />

Example “Online clothing s<strong>to</strong>re.”<br />

Note: Size varies depending on<br />

financial institution.<br />

Short description appearing on<br />

shopper’s credit card statement. (Line<br />

2)<br />

Example “Jean pants.”<br />

Note: Size varies depending on<br />

financial institution.<br />

StringIn=VersionUsed^1~MerchantId^100000~UserName^Mariah~UserPassword^Mariah~<strong>Transaction</strong>Ty<br />

pe^PT~IsTest^1~TimeOut^60000~RequestType^D~CurrencyId^840~Amount^56.78~PTTID^43153507<br />

M<br />

M<br />

O<br />

O<br />

O<br />

O<br />

O


STLink will return the following items for a PaymentTrust Deposit<br />

(Settlement) Request (PT)(D)<br />

Field Name Data Type Data Size Description<br />

MerchantId Numeric N/A<br />

Permanent Merchant ID assigned by PaymentTrust Ltd.<br />

Example “100000”<br />

<strong>Transaction</strong>Type Alpha 2 <strong>Transaction</strong> Type, “PT” for PaymentTrust<br />

Order number submitted by the Merchant or a number<br />

OrderNumber Alphanumeric 35<br />

generated by PaymentTrust Ltd. if order number was not<br />

specified.<br />

Example “10098987”<br />

StrId Numeric N/A Reference Number from STLink<br />

Reference Number from PaymentTrust system generated<br />

with Auth response<br />

PTTID or PTID Numeric N/A Example “10003606”<br />

Note: If the version is less than 2.0, PTTID is returned. If not<br />

PTID is returned.<br />

Account type.<br />

CC - Visa & MasterCard debit & credit cards, Carte<br />

Bancaire, Carte Bleue<br />

DS - Switch/Solo debit cards<br />

CQ - Cheques<br />

MOP Alpha 2<br />

EC - Electronic cheques or credit<br />

DC - Debit Card PIN enabled cards<br />

PC - Purchasing cards<br />

NT - Net Teller<br />

P2 – Pay 2<br />

Example: “CC”<br />

ISO standard numeric ids<br />

CurrencyId Numeric N/A Example 840 = USD, 124 = CAD, 826 = GBP<br />

Note: Please see Appendix B for complete list of values.<br />

<strong>Transaction</strong> amount. Up <strong>to</strong> 4 decimals maximum. Decimal<br />

Amount Numeric N/A varies based on CurrencyId.<br />

Example 840 = “56.78”, 392 = “99”, 048 = “125.333”<br />

RequestType Alpha 1 ‘D’ Deposit (Settlement)<br />

MessageCode Numeric N/A<br />

Example “2050”<br />

Note: Please see Appendix C for complete list of Results<br />

Message Alphanumeric 60<br />

Note: Please see Appendix C for complete list of Response<br />

Messages<br />

Reference Number from Foreign Exchange system.<br />

FXID Numeric N/A<br />

Example “10003606”<br />

Note: Only returned when transaction is associated with FX<br />

transaction.<br />

The current foreign exchange rate. Decimal length varies.<br />

FXRate Numeric N/A<br />

Example “0. 84566”<br />

Note: Only returned when transaction is associated with FX<br />

transaction.<br />

Example “3050”<br />

FXMessageCode Numeric N/A<br />

Note: Only returned when transaction is associated with FX<br />

transaction.<br />

Note: Please See Appendix C for complete list of Results<br />

Note: Only returned when transaction is associated with FX<br />

FXMessage Alphanumeric 60<br />

transaction.<br />

Note: Please See Appendix C for complete list of Response<br />

Messages<br />

69


Sample Response:<br />

MerchantId^100000~<strong>Transaction</strong>Type^PT~OrderNumber^9381795632~StrId^1692786~PTTID^43153508~M<br />

OP^CC~CurrencyId^840~Amount^56.78~RequestType^D~MessageCode^2050~Message^Request pending<br />

PaymentTrust Refund Request (PT)(R)<br />

A Refund request returns a specified amount <strong>to</strong> the cardholder’s account. The following refund is<br />

submitted where a previous deposit transaction has been processed by the system.<br />

Important Note: Merchants setup for 2-stage refund can only send this type of refund. Merchants<br />

processing PC cards cannot use the 2-stage refund.<br />

Important Note: This Request Type can also be submitted via Batch. For more on Batch submissions<br />

please refer <strong>to</strong> the XML definitions in section 6.3 of this document.<br />

Field Name Data Type Data Size Description<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

StringIn= N/A N/A<br />

Must be at beginning of all strings. Capitals<br />

must be used as shown.<br />

Note: Not required for XML batch requests.<br />

M<br />

VersionUsed Alphanumeric<br />

4<br />

Version Used specific <strong>to</strong> <strong>Transaction</strong> Type.<br />

Note: Must evaluate <strong>to</strong> numeric value for PT.<br />

Example “2” for PT<br />

Permanent Merchant ID assigned by<br />

M<br />

MerchantId Numeric N/A PaymentTrust Ltd.<br />

Example “100000”<br />

M<br />

UserName Alphanumeric 15<br />

UserName assigned by PaymentTrust Ltd.<br />

Example “Mariah”<br />

UserPassword assigned by PaymentTrust<br />

M<br />

UserPassword Alphanumeric 15 Ltd.<br />

Example “rr87uy”<br />

M<br />

<strong>Transaction</strong>Type Alphanumeric 2 <strong>Transaction</strong> Type, “PT” for PaymentTrust M<br />

IsTest Numeric N/A<br />

''1' for "Test", '0' for "Live",<br />

Note: Defaults <strong>to</strong> 0 if left blank<br />

I Indicates the maximum time the merchant<br />

O<br />

TimeOut Numeric N/A allows for the transaction, in milliseconds<br />

Recommendation “60000”<br />

M<br />

RequestType Alphanumeric 1 ‘R’ Refund on a Deposit (Settlement).<br />

Indicates the method used <strong>to</strong> receive the<br />

CreditCard information.<br />

M<br />

TRXSource Numeric N/A<br />

70<br />

1 - Swiped with a Card Present<br />

2 - Keyed by merchant with a Card present<br />

3 - Mail Order Telephone Order MOTO (Card<br />

Not Present)<br />

4 - Web orders (Card not present)<br />

5 – Web orders (Card not present, e-mail not<br />

present)<br />

9 – Integrated Circuit Card<br />

Note: Defaults <strong>to</strong> the Merchant default value during<br />

set-up.<br />

Note: Manda<strong>to</strong>ry for ICC transactions.<br />

O


Field Name Data Type Data Size Description<br />

Indicates swipe information from the<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

Track2Data Alphanumeric 100<br />

Track2data of the Card when the TRXSource<br />

is 1 (Swiped with a Card Present)<br />

Example:<br />

“;4459510002561039=09100000000000000000?”<br />

Note: This becomes a manda<strong>to</strong>ry field when<br />

TRXSource =1 or TRXSource = 9 for a down<br />

O<br />

OrderNumber Alphanumeric 35<br />

CurrencyId Numeric N/A<br />

Amount Numeric N/A<br />

PTTID or PTID Numeric N/A<br />

NarrativeStateme<br />

nt1<br />

NarrativeStateme<br />

nt2<br />

Sample Input String:<br />

71<br />

Alphanumeric 50<br />

Alphanumeric 50<br />

graded ICC transaction.<br />

Specific Order number submitted by the<br />

Merchant for tracking purposes.<br />

Example “10098987”<br />

Note: If no order number is submitted the<br />

system will generate one for the merchant at<br />

the time of the transaction.<br />

ISO standard numeric ids<br />

Example 840 = USD, 124 = CAD, 826 = GBP<br />

Note: Please see Appendix B for complete list of<br />

values.<br />

<strong>Transaction</strong> amount. Up <strong>to</strong> 4 decimals<br />

maximum. Decimal varies based on<br />

CurrencyId.<br />

Example 840 = “56.78”, 392 = “99”, 048 =<br />

“125.333”<br />

Reference Number from PaymentTrust<br />

system generated with<br />

Example “10003606”<br />

Note: If the version is less than 2.0, PTTID is<br />

required. If not PTID is required.<br />

Short description appearing on shopper’s<br />

credit card statement. (Line 1)<br />

Example “Online clothing s<strong>to</strong>re.”<br />

Note: Size varies depending on financial<br />

institution.<br />

Short description appearing on shopper’s<br />

credit card statement. (Line 2)<br />

Example “Jean pants.”<br />

Note: Size varies depending on financial<br />

institution.<br />

StringIn=VersionUsed^1~MerchantId^100000~UserName^Mariah~UserPassword^Mariah~<strong>Transaction</strong>Ty<br />

pe^PT~IsTest^1~TimeOut^60000~RequestType^R~CurrencyId^840~Amount^56.78~PTTID^43153507<br />

STLink will return the following items for a PaymentTrust Refund<br />

Request (PT)(R)<br />

Field Name Data Type Data Size Description<br />

MerchantId Numeric N/A<br />

Permanent Merchant ID assigned by PaymentTrust Ltd.<br />

Example “100000”<br />

<strong>Transaction</strong>Type Alpha 2 <strong>Transaction</strong> Type, “PT” for PaymentTrust<br />

O<br />

M<br />

M<br />

M<br />

O<br />

O


Field Name Data Type Data Size Description<br />

Order number submitted by the Merchant or a number<br />

OrderNumber Alphanumeric 35<br />

generated by PaymentTrust Ltd. if order number was not<br />

specified.<br />

Example “10098987”<br />

StrId Numeric N/A Reference Number from STLink<br />

PTTID Numeric N/A<br />

Reference Number from PT system<br />

Example “10003606”<br />

Account type.<br />

CC - Visa & MasterCard debit & credit cards, Carte<br />

Bancaire, Carte Bleue<br />

DS - Switch/Solo debit cards<br />

CQ - Cheques<br />

MOP Alpha 2<br />

EC - Electronic cheques or credit<br />

DC - Debit Card PIN enabled cards<br />

PC - Purchasing cards<br />

NT - Net Teller<br />

P2 – Pay 2<br />

Example: “CC”<br />

ISO standard numeric ids<br />

CurrencyId Numeric N/A Example 840 = USD, 124 = CAD, 826 = GBP<br />

Note: Please see Appendix B for complete list of values.<br />

<strong>Transaction</strong> amount. Up <strong>to</strong> 4 decimals maximum. Decimal<br />

Amount Numeric N/A varies based on CurrencyId.<br />

Example 840 = “56.78”, 392 = “99”, 048 = “125.333”<br />

RequestType Alpha 1 ‘R’ Refund on a Deposit (Settlement).<br />

MessageCode Numeric N/A<br />

Example “2050”<br />

Note: Please See Appendix C for complete list of Results<br />

Message Alphanumeric 60<br />

Note: Please see Appendix C for complete list of Response<br />

Messages<br />

Reference Number from Foreign Exchange system.<br />

FXID Numeric N/A<br />

Example “10003606”<br />

Note: Only returned when transaction is associated with FX<br />

transaction.<br />

The current foreign exchange rate. Decimal length varies.<br />

FXRate Numeric N/A<br />

Example “0.84566”<br />

Note: Only returned when transaction is associated with FX<br />

transaction.<br />

Example “3050”<br />

FXMessageCode Numeric N/A<br />

Note: Only returned when transaction is associated with FX<br />

transaction.<br />

Note: Please See Appendix C for complete list of Results<br />

Note: Only returned when transaction is associated with FX<br />

FXMessage Alphanumeric 60<br />

transaction.<br />

Note: Please See Appendix C for complete list of Response<br />

Messages<br />

Sample Response:<br />

MerchantId^100000~<strong>Transaction</strong>Type^PT~OrderNumber^9083095328~StrId^1692788~PTTID^43153510<br />

~MOP^CC~CurrencyId^840~Amount^56.78~RequestType^R~MessageCode^2050~Message^Request<br />

pending<br />

72


PaymentTrust Forced Refund Request (PT)(R)<br />

Field Name Data Type Data Size Description<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

StringIn= N/A N/A<br />

Must be at beginning of all strings. Capitals<br />

must be used as shown.<br />

Note: Not required for XML batch requests.<br />

M<br />

VersionUsed Alphanumeric<br />

4<br />

Version Used specific <strong>to</strong> <strong>Transaction</strong> Type.<br />

Note: Must evaluate <strong>to</strong> numeric value for PT.<br />

Example “2” for PT<br />

Permanent Merchant ID assigned by<br />

M<br />

MerchantId Numeric N/A PaymentTrust Ltd.<br />

Example “100000”<br />

M<br />

UserName Alphanumeric 15<br />

UserName assigned by PaymentTrust Ltd.<br />

Example “Mariah”<br />

UserPassword assigned by PaymentTrust<br />

M<br />

UserPassword Alphanumeric 15 Ltd.<br />

Example “rr87uy”<br />

M<br />

<strong>Transaction</strong>Type Alphanumeric 2 <strong>Transaction</strong> Type, “PT” for PaymentTrust M<br />

IsTest Numeric N/A<br />

''1' for "Test", '0' for "Live",<br />

Note: Defaults <strong>to</strong> 0 if left blank<br />

I Indicates the maximum time the merchant<br />

O<br />

TimeOut Numeric N/A allows for the transaction, in milliseconds<br />

Recommendation “60000”<br />

M<br />

RequestType Alphanumeric 1 ‘R’ Refund on a Deposit (Settlement).<br />

For use <strong>to</strong> differentiate between S<strong>to</strong>res.<br />

M<br />

S<strong>to</strong>reID Alphanumeric 10<br />

Permanent S<strong>to</strong>re ID assigned by<br />

PaymentTrust Ltd. or Merchant if left blank<br />

Example “100000”<br />

Account type.<br />

CC - Visa & MasterCard debit & credit<br />

cards, Carte Bancaire, Carte Bleue<br />

DS - Switch/Solo debit cards<br />

CQ - Cheques<br />

O<br />

MOP Alpha 2<br />

EC - Electronic cheques or credit<br />

DC - Debit Card PIN enabled cards<br />

PC - Purchasing cards<br />

NT - Net Teller<br />

P2 – Pay 2<br />

Example: “CC”<br />

Indicates the method used <strong>to</strong> receive the<br />

CreditCard information.<br />

M<br />

TRXSource Numeric N/A<br />

73<br />

1 - Swiped with a Card Present<br />

2 - Keyed by merchant with a Card present<br />

3 - Mail Order Telephone Order MOTO (Card<br />

Not Present)<br />

4 - Web orders (Card not present)<br />

5 – Web orders (Card not present, e-mail not<br />

present)<br />

9 – Integrated Circuit Card<br />

Note: Defaults <strong>to</strong> the Merchant default value during<br />

set-up.<br />

Note: Manda<strong>to</strong>ry for ICC transactions.<br />

O


Field Name Data Type Data Size Description<br />

Indicates swipe information from the<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

Track2Data Alphanumeric 100<br />

Track2data of the Card when the TRXSource<br />

is 1 (Swiped with a Card Present)<br />

Example:<br />

“;4459510002561039=09100000000000000000?”<br />

Note: This becomes a manda<strong>to</strong>ry field when<br />

TRXSource =1 or TRXSource = 9 for a down<br />

O<br />

OrderNumber Alphanumeric 35<br />

AcctName Alphanumeric 60<br />

AcctNumber Numeric N/A<br />

ExpDate Numeric N/A<br />

IssueNumber Numeric N/A<br />

StartDate Numeric N/A<br />

CurrencyId Numeric N/A<br />

FXID Numeric N/A<br />

Amount Numeric N/A<br />

NarrativeStateme<br />

nt1<br />

NarrativeStateme<br />

nt2<br />

74<br />

Alphanumeric 50<br />

Alphanumeric 50<br />

graded ICC transaction.<br />

Specific Order number submitted by the<br />

Merchant for tracking purposes.<br />

Example “10098987”<br />

Note: If no order number is submitted the<br />

system will generate one for the merchant at<br />

the time of the transaction.<br />

Account holder name on card or account<br />

Example “John Smith 3 rd ”<br />

Note: Manda<strong>to</strong>ry for Carte Bancaire and<br />

Carte Bleue cards.<br />

Credit card number, Debit Card number,<br />

Purchase Card number, Bank account<br />

number, or any other applicable Bank<br />

Identifier.<br />

Example “4459510002561039”<br />

Note: This field is not required when<br />

TRXSource is 1<br />

Expiry date for credit card in MMYYYY format<br />

Example “092010”<br />

Note: Manda<strong>to</strong>ry for CC, PC and DS MOP<br />

types.<br />

Submit for Switch/Solo cards if available.<br />

Example “5”<br />

Submit for Switch/Solo cards if available.<br />

Example “092010”<br />

ISO standard numeric ids<br />

Example 840 = USD, 124 = CAD, 826 = GBP<br />

Note: Please see Appendix B for complete list of<br />

values.<br />

ID of precalculated Foreign Exchange rate.<br />

Note: Manda<strong>to</strong>ry for FX transactions<br />

<strong>Transaction</strong> amount. Up <strong>to</strong> 4 decimals<br />

maximum. Decimal varies based on<br />

CurrencyId.<br />

Example 840 = “56.78”, 392 = “99”, 048 =<br />

“125.333”<br />

Short description appearing on shopper’s<br />

credit card statement. (Line 1)<br />

Example “Online clothing s<strong>to</strong>re.”<br />

Note: Size varies depending on financial<br />

institution.<br />

Short description appearing on shopper’s<br />

credit card statement. (Line 2)<br />

Example “Jean pants.”<br />

Note: Size varies depending on financial<br />

institution.<br />

O<br />

O<br />

M<br />

O<br />

O<br />

O<br />

M<br />

O<br />

M<br />

O<br />

O


Sample Input String:<br />

StringIn=VersionUsed^1~MerchantId^100000~UserName^Mariah~UserPassword^Mariah~<strong>Transaction</strong>Ty<br />

pe^PT~IsTest^1~TimeOut^60000~RequestType^R~MOP^CC~AcctNumber^4459510002561039~ExpDat<br />

e^092010~CurrencyId^840~Amount^56.78<br />

STLink will return the following items for a PaymentTrust Forced<br />

Refund Request (PT)(R)<br />

Field Name Data Type Data Size Description<br />

MerchantId Numeric N/A<br />

Permanent Merchant ID assigned by PaymentTrust Ltd.<br />

Example “100000”<br />

<strong>Transaction</strong>Type Alpha 2 <strong>Transaction</strong> Type, “PT” for PaymentTrust<br />

Order number submitted by the Merchant or a number<br />

OrderNumber Alphanumeric 35<br />

generated by PaymentTrust Ltd. if order number was not<br />

specified.<br />

Example “10098987”<br />

StrId Numeric N/A Reference Number from STLink<br />

Reference Number from PaymentTrust system generated<br />

with Auth response<br />

PTTID or PTID Numeric N/A Example “10003606”<br />

Note: If the version is less than 2.0, PTTID is returned. If not<br />

PTID is returned.<br />

Account type.<br />

CC - Visa & MasterCard debit & credit cards, Carte<br />

Bancaire, Carte Bleue<br />

DS - Switch/Solo debit cards<br />

CQ - Cheques<br />

MOP Alpha 2<br />

EC - Electronic cheques or credit<br />

DC - Debit Card PIN enabled cards<br />

PC - Purchasing cards<br />

NT - Net Teller<br />

P2 – Pay 2<br />

Example: “CC”<br />

ISO standard numeric ids<br />

CurrencyId Numeric N/A Example 840 = USD, 124 = CAD, 826 = GBP<br />

Note: Please see Appendix B for complete list of values.<br />

<strong>Transaction</strong> amount. Up <strong>to</strong> 4 decimals maximum. Decimal<br />

Amount Numeric N/A varies based on CurrencyId.<br />

Example 840 = “56.78”, 392 = “99”, 048 = “125.333”<br />

RequestType Alpha 1 ‘R’ Refund on a Deposit (Settlement).<br />

MessageCode Numeric N/A<br />

Example “2050”<br />

Note: Please See Appendix C for complete list of Results<br />

Message Alphanumeric 60<br />

Note: Please see Appendix C for complete list of Response<br />

Messages<br />

Reference Number from Foreign Exchange system.<br />

FXID Numeric N/A<br />

Example “10003606”<br />

Note: Only returned when transaction is associated with FX<br />

transaction.<br />

The current foreign exchange rate. Decimal length varies.<br />

FXRate Numeric N/A<br />

Example “0.84566”<br />

Note: Only returned when transaction is associated with FX<br />

transaction.<br />

75


Field Name Data Type Data Size Description<br />

Example “3050”<br />

FXMessageCode Numeric N/A<br />

Note: Only returned when transaction is associated with FX<br />

transaction.<br />

Note: Please See Appendix C for complete list of Results<br />

Note: Only returned when transaction is associated with FX<br />

FXMessage Alphanumeric 60<br />

transaction.<br />

Note: Please See Appendix C for complete list of Response<br />

Messages<br />

Sample Response:<br />

MerchantId^100000~<strong>Transaction</strong>Type^PT~OrderNumber^9385436772~StrId^1692791~PTTID^43153513<br />

~MOP^CC~CurrencyId^840~Amount^56.78~RequestType^R~MessageCode^2050~Message^Request<br />

pending<br />

PaymentTrust Finalize Request (PT)(F)<br />

Used <strong>to</strong> finalize a two-step refund.<br />

Field Name Data Type Data Size Description<br />

Must be at beginning of all strings.<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

StringIn= N/A N/A<br />

Capitals must be used as shown.<br />

Note: Not required for XML batch<br />

requests.<br />

M<br />

VersionUsed Alphanumeric 4<br />

Version Used specific <strong>to</strong> <strong>Transaction</strong><br />

Type. Note: Must evaluate <strong>to</strong> numeric<br />

value for PT.<br />

Example “2” for PT<br />

Permanent Merchant ID assigned by<br />

M<br />

MerchantId Numeric N/A PaymentTrust Ltd.<br />

Example “100000”<br />

UserName assigned by PaymentTrust<br />

M<br />

UserName Alphanumeric 15 Ltd.<br />

Example “Mariah”<br />

UserPassword assigned by<br />

M<br />

UserPassword Alphanumeric 15 PaymentTrust Ltd.<br />

Example “rr87uy”<br />

M<br />

<strong>Transaction</strong>Type Alphanumeric 2<br />

<strong>Transaction</strong> Type, “PT” for<br />

PaymentTrust<br />

M<br />

IsTest Numeric 1<br />

''1' for "Test", '0' for "Live",<br />

Note: Defaults <strong>to</strong> 0 if left blank<br />

Indicates the maximum time the<br />

O<br />

TimeOut Numeric N/A<br />

merchant allows for the transaction, in<br />

milliseconds<br />

Recommendation “60000”<br />

M<br />

RequestType Alphanumeric 1 ‘F’ Finalize.<br />

Specific Order number submitted by the<br />

Merchant for tracking purposes.<br />

M<br />

OrderNumber Alphanumeric 35 Example “10098987”<br />

Note: If no order number is submitted the<br />

system will generate one for the merchant at<br />

the time of the transaction.<br />

O<br />

76


Field Name Data Type Data Size Description<br />

Reference Number from PaymentTrust<br />

system generated with Auth response<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

PTTID or PTID Numeric N/A Example “10003606”<br />

M<br />

Note: If the version is less than 2.0, PTTID<br />

is required. If not PTID is required.<br />

Sample Input String:<br />

StringIn=VersionUsed^1~MerchantId^100000~UserName^Mariah~UserPassword^Mariah~<strong>Transaction</strong>Ty<br />

pe^PT~IsTest^1~TimeOut^60000~RequestType^F~PTTID^43153542<br />

STLink will return the following items for a PaymentTrust Finalize<br />

Request (PT)(F)<br />

Field Name Data Type Data Size Description<br />

MerchantId Numeric N/A<br />

Permanent Merchant ID assigned by PaymentTrust Ltd.<br />

Example “100000”<br />

<strong>Transaction</strong>Type Alpha 2 <strong>Transaction</strong> Type, “PT” for PaymentTrust<br />

Order number submitted by the Merchant or a number<br />

OrderNumber Alphanumeric 35<br />

generated by PaymentTrust Ltd. if order number was not<br />

specified.<br />

Example “10098987”<br />

StrId Numeric N/A Reference Number from STLink<br />

Reference Number from PaymentTrust system generated<br />

with Auth response<br />

PTTID or PTID Numeric N/A Example “10003606”<br />

Note: If the version is less than 2.0, PTTID is returned. If not<br />

PTID is returned.<br />

Account type.<br />

CC - Visa & MasterCard debit & credit cards, Carte<br />

Bancaire, Carte Bleue<br />

DS - Switch/Solo debit cards<br />

CQ - Cheques<br />

MOP Alpha 2<br />

EC - Electronic cheques or credit<br />

DC - Debit Card PIN enabled cards<br />

PC - Purchasing cards<br />

NT - Net Teller<br />

P2 – Pay 2<br />

Example: “CC”<br />

ISO standard numeric ids<br />

CurrencyId Numeric N/A Example 840 = USD, 124 = CAD, 826 = GBP<br />

Note: Please see Appendix B for complete list of values.<br />

<strong>Transaction</strong> amount. Up <strong>to</strong> 4 decimals maximum. Decimal<br />

Amount Numeric N/A varies based on CurrencyId.<br />

Example 840 = “56.78”, 392 = “99”, 048 = “125.333”<br />

RequestType Alpha 1 ‘F’ Finalize<br />

MessageCode Numeric N/A<br />

Example “2100”<br />

Note: Please see Appendix C for complete list of Results<br />

Message Alphanumeric 60<br />

Note: Please see Appendix C for complete list of Response<br />

Messages<br />

77


Field Name Data Type Data Size Description<br />

Reference Number from Foreign Exchange system.<br />

FXID Numeric N/A<br />

Example “10003606”<br />

Note: Only returned when transaction is associated with FX<br />

transaction.<br />

The current foreign exchange rate. Decimal length varies.<br />

FXRate Numeric N/A<br />

Example “0.84566”<br />

Note: Only returned when transaction is associated with FX<br />

transaction.<br />

Example “3050”<br />

FXMessageCode Numeric N/A<br />

Note: Only returned when transaction is associated with FX<br />

transaction.<br />

Note: Please See Appendix C for complete list of Results<br />

Note: Only returned when transaction is associated with FX<br />

FXMessage Alphanumeric 60<br />

transaction.<br />

Note: Please See Appendix C for complete list of Response<br />

Messages<br />

Sample Response:<br />

MerchantId^100000~<strong>Transaction</strong>Type^PT~OrderNumber^1405774640~StrId^1692821~PTTID^43153543~M<br />

OP^CC~CurrencyId^840~Amount^56.78~RequestType^F~MessageCode^2100~Message^<strong>Transaction</strong><br />

Approved<br />

PaymentTrust Simultaneous Authorization and Settlement (Sale)<br />

Request (PT)(S)<br />

A Simultaneous Authorization and Deposit (Sale) charges the specified amount against the cardholder’s<br />

account and marks the transaction for funds collection during the next deposit cycle with the financial<br />

institution. This single request initiates both an authorization and a deposit request in the PT system. It<br />

should only be used in situations where merchants fulfill their orders immediately. The deposit portion of<br />

the ‘S’ request will only proceed once a successful authorization has been obtained.<br />

Important Note: Once a merchant submits a ‘D’ or an ‘S’ request, funds will be transferred provided an<br />

authorization code is obtained and still valid.<br />

Field Name Data Type Data Size Description<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

StringIn= N/A N/A<br />

Must be at beginning of all strings. Capitals<br />

must be used as shown.<br />

Note: Not required for XML batch requests.<br />

Version Used specific <strong>to</strong> <strong>Transaction</strong> Type.<br />

M<br />

VersionUsed Alphanumeric 4<br />

Note: Must evaluate <strong>to</strong> numeric value for<br />

PT.<br />

Example “2” for PT<br />

Permanent Merchant ID assigned by<br />

M<br />

MerchantId Numeric N/A PaymentTrust Ltd.<br />

Example “100000”<br />

M<br />

UserName Alphanumeric 15<br />

UserName assigned by PaymentTrust Ltd.<br />

Example “Mariah”<br />

UserPassword assigned by PaymentTrust<br />

M<br />

UserPassword Alphanumeric 15 Ltd.<br />

Example “rr87uy”<br />

M<br />

<strong>Transaction</strong>Type Alphanumeric 2 <strong>Transaction</strong> Type, “PT” for PaymentTrust M<br />

78


Field Name Data Type Data Size Description<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

IsTest<br />

Numeric<br />

1<br />

''1' for "Test", '0' for "Live",<br />

Note: Defaults <strong>to</strong> 0 if left blank<br />

O<br />

TimeOut Numeric N/A<br />

Indicates the maximum time the merchant<br />

allows for the transaction, in milliseconds<br />

Recommendation “60000”<br />

M<br />

RequestType Alphanumeric 1<br />

‘S’ Sale or Simultaneous Authorization and<br />

Deposit.<br />

For use <strong>to</strong> differentiate between S<strong>to</strong>res.<br />

M<br />

S<strong>to</strong>reID Alphanumeric 10<br />

Permanent S<strong>to</strong>re ID assigned by<br />

PaymentTrust Ltd. or Merchant if left blank<br />

Example “100000”<br />

Account type.<br />

CC - Visa & MasterCard debit & credit<br />

cards, Carte Bancaire, Carte Bleue<br />

DS - Switch/Solo debit cards<br />

CQ - Cheques<br />

O<br />

MOP Alpha 2<br />

EC - Electronic cheques or credit<br />

DC - Debit Card PIN enabled cards<br />

PC - Purchasing cards<br />

NT - Net Teller<br />

P2 – Pay 2<br />

Example: “CC”<br />

Indicates the method used <strong>to</strong> receive the<br />

CreditCard information.<br />

M<br />

TRXSource Numeric N/A<br />

Track2Data Alphanumeric 100<br />

OrderNumber Alphanumeric 35<br />

79<br />

1 - Swiped with a Card Present<br />

2 - Keyed by merchant with a Card present<br />

3 - Mail Order Telephone Order MOTO<br />

(Card Not Present)<br />

4 - Web orders (Card not present)<br />

5 – Web orders (Card not present, e-mail<br />

not present)<br />

9 – Integrated Circuit Card<br />

Note: Defaults <strong>to</strong> the Merchant default value<br />

during set-up.<br />

Note: Manda<strong>to</strong>ry for ICC transactions.<br />

Indicates swipe information from the<br />

Track2data of the Card when the<br />

TRXSource is 1 (Swiped with a Card<br />

Present)<br />

Example:<br />

“;4459510002561039=09100000000000000000<br />

?”<br />

Note: This becomes a manda<strong>to</strong>ry field when<br />

TRXSource =1 or TRXSource = 9 for a<br />

down graded ICC transaction.<br />

Specific Order number submitted by the<br />

Merchant for tracking purposes.<br />

Example “10098987”<br />

Note: If no order number is submitted the system<br />

will generate one for the merchant at the time of<br />

the transaction.<br />

O<br />

O<br />

O


Field Name Data Type Data Size Description<br />

AcctName Alphanumeric 60<br />

AcctNumber Numeric N/A<br />

AcctPIN Alphanumeric 10<br />

DirectAcceptNumber Numeric N/A<br />

ExpDate Numeric N/A<br />

IssueNumber Numeric N/A<br />

StartDate Numeric N/A<br />

CurrencyId Numeric N/A<br />

FXID Numeric N/A<br />

80<br />

Account holder name on card or account<br />

Example “John Smith 3 rd ”<br />

Note: Manda<strong>to</strong>ry for Carte Bancaire and<br />

Carte Bleue cards.<br />

Credit card number, Debit Card number,<br />

Purchase Card number, Bank account<br />

number, or any other applicable Bank<br />

Identifier.<br />

Example “4459510002561039”<br />

Note: This field is not required when<br />

TRXSource is 1<br />

If the AcctNumber requires a PIN this field is<br />

used for Submission. In the Case of Pay2<br />

and Neteller these are the pass codes or<br />

pass ids of the Consumer.<br />

Example “Xd393”<br />

Note: This field is manda<strong>to</strong>ry when MOP is<br />

P2 or NT.<br />

Last 4 digits of cus<strong>to</strong>mer’s account number.<br />

Used for Neteller Direct Accept<br />

transactions.<br />

Expiry date for credit card in MMYYYY<br />

format<br />

Example “092010”<br />

Note: Manda<strong>to</strong>ry for CC, PC and DS MOP<br />

types.<br />

Submit for Switch/Solo cards if available.<br />

Example “5”<br />

Submit for Switch/Solo cards if available.<br />

Example “092010”<br />

ISO standard numeric ids<br />

Example 840 = USD, 124 = CAD, 826 =<br />

GBP<br />

Note: Please see Appendix B for complete list of<br />

values.<br />

ID of precalculated Foreign Exchange rate.<br />

Note: Manda<strong>to</strong>ry for FX transactions<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

Amount Numeric N/A<br />

<strong>Transaction</strong> amount. Up <strong>to</strong> 4 decimals<br />

maximum. Decimal varies based on<br />

CurrencyId.<br />

Example 840 = “56.78”, 392 = “99”, 048 =<br />

“125.333”<br />

M<br />

Title Alphanumeric 20<br />

Billing contact Title<br />

Example “Sir”<br />

O<br />

Company Alphanumeric 60<br />

Billing contact company<br />

Example “PaymentTrust Ltd.”<br />

O<br />

FirstName Alphanumeric 60<br />

Billing contact First Name<br />

Example “John”<br />

O<br />

MiddleName Alphanumeric 60 Billing contact Middle Name O<br />

LastName Alphanumeric 60<br />

Billing contact Last Name<br />

O<br />

Suffix Alphanumeric 20<br />

Example “Smith”<br />

Billing contact suffix<br />

Example “ 3 rd ”<br />

O<br />

M<br />

O<br />

O<br />

O<br />

O<br />

O<br />

M<br />

O<br />

O


Field Name Data Type Data Size Description<br />

Billing contact Address line 1<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

Address1 Alphanumeric 60 Example “2130 Gold”<br />

Note: Required for AVS<br />

O<br />

Address2 Alphanumeric 60<br />

Billing contact Address line 2<br />

Example “Suite101”<br />

O<br />

Address3 Alphanumeric 60 Billing contact Address line 3<br />

Billing contact City<br />

O<br />

City Alphanumeric 60 Example “New York”<br />

Note: Required for AVS<br />

O<br />

The billing information state based on the<br />

two-character long ISO codes. This is a<br />

manda<strong>to</strong>ry field for North America only. The<br />

remaining world regions /Provinces may use<br />

StateCode Alphanumeric 60 this as an Optional field.<br />

Example “NY”<br />

Note: Required for AVS<br />

Note: Please See Appendix E for complete list of<br />

values<br />

Billing contact ZIP / Postal Code<br />

O<br />

ZipCode Alphanumeric 30 Example “90210”<br />

Note: Required for AVS<br />

Billing contact ISO Country Code<br />

O<br />

Example “US”<br />

CountryCode Alpha 2 Note: Required for AVS<br />

Note: Please See Appendix D for complete list of<br />

values<br />

Billing contact Phone Number, only digits,<br />

O<br />

PhoneNumber Alphanumeric 30 no parentheses<br />

Example “6188565656”<br />

O<br />

PhoneExtension Alphanumeric 10<br />

Billing contact Phone Extension<br />

Example “5654”<br />

O<br />

Email Alphanumeric 50<br />

Billing contact Email address<br />

Example “johns@aol.com”<br />

O<br />

ShipToTitle Alphanumeric 20<br />

Ship <strong>to</strong> contact Title<br />

Example “Sir”<br />

O<br />

ShipToCompany Alphanumeric 60<br />

Ship <strong>to</strong> contact company<br />

Example “PaymentTrust Ltd.”<br />

O<br />

ShipToFirstName Alphanumeric 60<br />

Ship <strong>to</strong> contact First Name<br />

Example “John”<br />

O<br />

ShipToMiddleName Alphanumeric 60 Ship <strong>to</strong> contact Middle Name O<br />

ShipToLastName Alphanumeric 60<br />

Ship <strong>to</strong> contact Last Name<br />

Example “Smith”<br />

O<br />

ShipToSuffix Alphanumeric 20<br />

Ship <strong>to</strong> contact suffix<br />

Example “ 3 rd ”<br />

O<br />

ShipToAddress1 Alphanumeric 60<br />

Ship <strong>to</strong> contact Address line 1<br />

Example “2130 Gold”<br />

O<br />

ShipToAddress2 Alphanumeric 60<br />

Ship <strong>to</strong> contact Address line 2<br />

Example “Suite101”<br />

O<br />

ShipToAddress3 Alphanumeric 60 Ship <strong>to</strong> contact Address line 3 O<br />

ShipToCity Alphanumeric 60<br />

Ship <strong>to</strong> contact City<br />

Example “New York”<br />

O<br />

81


Field Name Data Type Data Size Description<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

ShipToStateCode Alphanumeric 30<br />

Ship <strong>to</strong> contact state code, two-character<br />

long ISO code required for North America.<br />

Remaining Region and Provinces may use<br />

free form field or leave it blank.<br />

Example “NY”<br />

Note: Please See Appendix E for complete list of<br />

values<br />

O<br />

ShipToZipCode Alphanumeric 30<br />

Ship <strong>to</strong> contact ZIP / Postal Code<br />

Example “90210”<br />

Ship <strong>to</strong> contact ISO Country Code, list will<br />

be provided by PaymentTrust Ltd.<br />

O<br />

ShipToCountryCode Alpha 2 Example “US”<br />

Note: Please See Appendix D for complete list of<br />

values<br />

Ship <strong>to</strong> contact Phone Number, only digits,<br />

O<br />

ShipToPhoneNumber Alphanumeric 30 no parentheses<br />

Example “6188565656”<br />

O<br />

ShipToPhoneExtension Alphanumeric 10<br />

Ship <strong>to</strong> contact Phone Extension<br />

Example “5654”<br />

Security code implemented by card<br />

schemes. CVV2 for Visa, CVC for<br />

O<br />

CVN Numeric N/A<br />

MasterCard and CID for AMEX are all<br />

supported. 3 <strong>to</strong> 4 digit code found on back<br />

of credit card.<br />

Note: Initiates AVS and security verification.<br />

Reference Number from 3D <strong>Secure</strong> system<br />

generated with Verify Enrollment response.<br />

O<br />

SVID Numeric N/A<br />

Example “10003606”<br />

Note: If submitted PaymentTrust will<br />

reference the 3D <strong>Secure</strong> system <strong>to</strong><br />

determine liability shift.<br />

Electronic Commerce Indica<strong>to</strong>r as returned<br />

O<br />

ECI Numeric 2<br />

from the 3D <strong>Secure</strong> MPI response.<br />

Note: For 3D <strong>Secure</strong> enabled transactions<br />

submit when available.<br />

The specific transaction identifier that was<br />

submitted <strong>to</strong> the MPI during 3D <strong>Secure</strong><br />

O<br />

<strong>Secure</strong>Id Alphanumeric 20 authentication.<br />

Note: For 3D <strong>Secure</strong> enabled transactions<br />

submit when available.<br />

Cardholder Authentication Value as<br />

O<br />

CAV Alphanumeric 50<br />

returned from the 3D <strong>Secure</strong> MPI response.<br />

Note: For 3D <strong>Secure</strong> enabled transactions<br />

submit when available.<br />

Enrollment status used <strong>to</strong> determine liability<br />

shift as returned from the 3D <strong>Secure</strong> MPI<br />

O<br />

CHEnrolled Alpha 1 response.<br />

Note: For 3D <strong>Secure</strong> enabled transactions<br />

submit when available.<br />

Authentication status used <strong>to</strong> determine<br />

liability shift as returned from the 3D <strong>Secure</strong><br />

O<br />

TXStatus Alpha 1 MPI response.<br />

Note: For 3D <strong>Secure</strong> enabled transactions<br />

submit when available.<br />

O<br />

82


Field Name Data Type Data Size Description<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

NarrativeStatement1 Alphanumeric 50<br />

Short description appearing on shopper’s<br />

credit card statement. (Line 1)<br />

Example “Online clothing s<strong>to</strong>re.”<br />

Note: Size varies depending on financial<br />

institution.<br />

Short description appearing on shopper’s<br />

credit card statement. (Line 2)<br />

O<br />

NarrativeStatement2 Alphanumeric 50 Example “Jean pants.”<br />

Note: Size varies depending on financial<br />

institution.<br />

O<br />

83


Sample Input String:<br />

StringIn=VersionUsed^1~MerchantId^100000~UserName^Mariah~UserPassword^Mariah~<strong>Transaction</strong>Ty<br />

pe^PT~IsTest^1~TimeOut^60000~RequestType^S~MOP^CC~AcctNumber^4459510002561039~ExpDat<br />

e^092010~CurrencyId^840~Amount^56.78<br />

STLink will return the following items for a PaymentTrust<br />

Simultaneous<br />

Authorization and Settlement (Sale) Request (PT)(S)<br />

Field Name Data Type Data Size Description<br />

MerchantId Numeric N/A<br />

Permanent Merchant ID assigned by PaymentTrust Ltd.<br />

Example 100000<br />

<strong>Transaction</strong>Type Alpha 2 <strong>Transaction</strong> Type, “PT” for PaymentTrust<br />

Order number submitted by the Merchant or a number<br />

OrderNumber Alphanumeric 35<br />

generated by PaymentTrust Ltd. if order number was not<br />

specified.<br />

Example “10098987”<br />

StrId Numeric N/A Reference Number from STLink<br />

Reference Number from PaymentTrust system generated<br />

with Auth response<br />

PTTID or PTID Numeric N/A Example “10003606”<br />

Note: If the version is less than 2.0, PTTID is returned. If not<br />

PTID is returned.<br />

Account type.<br />

CC - Visa & MasterCard debit & credit cards, Carte<br />

Bancaire, Carte Bleue<br />

DS - Switch/Solo debit cards<br />

CQ - Cheques<br />

MOP Alpha 2<br />

EC - Electronic cheques or credit<br />

DC - Debit Card PIN enabled cards<br />

PC - Purchasing cards<br />

NT - Net Teller<br />

P2 – Pay 2<br />

Example: “CC”<br />

ISO standard numeric ids<br />

CurrencyId Numeric N/A Example 840 = USD, 124 = CAD, 826 = GBP<br />

Note: Please see Appendix B for complete list of values.<br />

<strong>Transaction</strong> amount. Up <strong>to</strong> 4 decimals maximum. Decimal<br />

Amount Numeric N/A varies based on CurrencyId.<br />

Example 840 = “56.78”, 392 = “99”, 048 = “125.333”<br />

Approved sale and authorization transactions receive a<br />

AuthCode Alphanumeric 30<br />

numeric or alphanumeric authorization code referencing the<br />

transaction for processing purposes.<br />

Example “P24586DE”<br />

RequestType Alpha 1 ‘S’ Sale or Simultaneous Authorization and Deposit.<br />

MessageCode Numeric N/A<br />

Example “2100”<br />

Note: Please See Appendix C for complete list of Results<br />

Message Alphanumeric 60<br />

Note: Please See Appendix C for complete list of Response<br />

Messages<br />

Returned when the response is a referral.<br />

ReferrerCode Numeric 20 Note: When placing a call <strong>to</strong> the bank this code must be<br />

presented <strong>to</strong> the bank representative.<br />

84


Field Name Data Type Data Size Description<br />

CVNMessageCo<br />

de<br />

85<br />

Numeric N/A<br />

1 digit code returned when CVN check is requested.<br />

Possible values:<br />

0 = Security/Address Matched<br />

1 = Data not Verified by Bank<br />

2 = No Data Matched<br />

3 = Address Match only<br />

4 =Security Match only<br />

CVNMessage Alphanumeric 100 Descriptive message of CVNMessageCode<br />

FXID Numeric N/A<br />

FXRate Numeric N/A<br />

FXMessageCode Numeric N/A<br />

FXMessage Alphanumeric 60<br />

Sample Response:<br />

Reference Number from Foreign Exchange system.<br />

Example “10003606”<br />

Note: Only returned when transaction is associated with FX<br />

transaction.<br />

The current foreign exchange rate. Decimal length varies.<br />

Example “0.84566”<br />

Note: Only returned when transaction is associated with FX<br />

transaction.<br />

Example “3050”<br />

Note: Only returned when transaction is associated with FX<br />

transaction.<br />

Note: Please See Appendix C for complete list of Results<br />

Note: Only returned when transaction is associated with FX<br />

transaction.<br />

Note: Please See Appendix C for complete list of Response<br />

Messages<br />

MerchantId^100000~<strong>Transaction</strong>Type^PT~OrderNumber^7820620233~StrId^1692822~PTTID^43153544<br />

~MOP^CC~CurrencyId^840~Amount^56.78~AuthCode^B78F61~RequestType^S~MessageCode^2100~<br />

Message^<strong>Transaction</strong> Approved<br />

PaymentTrust Simultaneous Forced Authorization and Settlement<br />

(Sale) Request (PT)(S)<br />

Field Name Data Type Data Size Description<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

StringIn= N/A N/A<br />

Must be at beginning of all strings. Capitals<br />

must be used as shown.<br />

Note: Not required for XML batch requests.<br />

Version Used specific <strong>to</strong> <strong>Transaction</strong> Type.<br />

M<br />

VersionUsed Alphanumeric 4<br />

Note: Must evaluate <strong>to</strong> numeric value for<br />

PT.<br />

Example “2” for PT<br />

Permanent Merchant ID assigned by<br />

M<br />

MerchantId Numeric N/A PaymentTrust Ltd.<br />

Example “100000”<br />

M<br />

UserName Alphanumeric 15<br />

UserName assigned by PaymentTrust Ltd.<br />

Example “Mariah”<br />

UserPassword assigned by PaymentTrust<br />

M<br />

UserPassword Alphanumeric 15 Ltd.<br />

Example “rr87uy”<br />

M<br />

<strong>Transaction</strong>Type Alphanumeric 2 <strong>Transaction</strong> Type, “PT” for PaymentTrust M


Field Name Data Type Data Size Description<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

IsTest<br />

Numeric<br />

1<br />

''1' for "Test", '0' for "Live",<br />

Note: Defaults <strong>to</strong> 0 if left blank<br />

O<br />

TimeOut Numeric N/A<br />

Indicates the maximum time the merchant<br />

allows for the transaction, in milliseconds<br />

Recommendation “60000”<br />

M<br />

RequestType Alphanumeric 1<br />

‘S’ Sale or Simultaneous Authorization and<br />

Deposit.<br />

For use <strong>to</strong> differentiate between S<strong>to</strong>res.<br />

M<br />

S<strong>to</strong>reID Alphanumeric 10<br />

Permanent S<strong>to</strong>re ID assigned by<br />

PaymentTrust Ltd. or Merchant if left blank<br />

Example “100000”<br />

Account type.<br />

CC - Visa & MasterCard debit & credit<br />

cards, Carte Bancaire, Carte Bleue<br />

DS - Switch/Solo debit cards<br />

CQ - Cheques<br />

O<br />

MOP Alpha 2<br />

EC - Electronic cheques or credit<br />

DC - Debit Card PIN enabled cards<br />

PC - Purchasing cards<br />

NT - Net Teller<br />

P2 – Pay 2<br />

Example: “CC”<br />

Indicates the method used <strong>to</strong> receive the<br />

CreditCard information.<br />

M<br />

TRXSource Numeric N/A<br />

Track2Data Alphanumeric 100<br />

86<br />

1 - Swiped with a Card Present<br />

2 - Keyed by merchant with a Card present<br />

3 - Mail Order Telephone Order MOTO<br />

(Card Not Present)<br />

4 - Web orders (Card not present)<br />

5 – Web orders (Card not present, e-mail<br />

not present)<br />

9 – Integrated Circuit Card<br />

Note: Defaults <strong>to</strong> the Merchant default value<br />

during set-up.<br />

Note: Manda<strong>to</strong>ry for ICC transactions.<br />

Indicates swipe information from the<br />

Track2data of the Card when the<br />

TRXSource is 1 (Swiped with a Card<br />

Present)<br />

Example:<br />

“;4459510002561039=09100000000000000000<br />

?”<br />

Note: This becomes a manda<strong>to</strong>ry field when<br />

TRXSource =1 or TRXSource = 9 for a<br />

down graded ICC transaction.<br />

O<br />

O


Field Name Data Type Data Size Description<br />

Specific Order number submitted by the<br />

Merchant for tracking purposes.<br />

Example “10098987”<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

OrderNumber Alphanumeric<br />

35<br />

Note: For Carte Bancaire and Carte Bleue cards<br />

OrderNumber must reference a previously<br />

submitted authorization/sale that returned a<br />

referral response.<br />

Note: If no order number is submitted the system<br />

will generate one for the merchant at the time of<br />

O<br />

AcctName Alphanumeric 60<br />

AcctNumber Numeric N/A<br />

ExpDate Numeric N/A<br />

IssueNumber Numeric N/A<br />

StartDate Numeric N/A<br />

CurrencyId Numeric N/A<br />

FXID Numeric N/A<br />

87<br />

the transaction.<br />

Account holder name on card or account<br />

Example “John Smith 3 rd ”<br />

Note: Manda<strong>to</strong>ry for Carte Bancaire and<br />

Carte Bleue cards.<br />

Credit card number, Debit Card number,<br />

Purchase Card number, Bank account<br />

number, or any other applicable Bank<br />

Identifier.<br />

Example “4459510002561039”<br />

Note: This field is not required when<br />

TRXSource is 1<br />

Expiry date for credit card in MMYYYY<br />

format<br />

Example “092010”<br />

Note: Manda<strong>to</strong>ry for CC, PC and DS MOP<br />

types.<br />

Submit for Switch/Solo cards if available.<br />

Example “5”<br />

Submit for Switch/Solo cards if available.<br />

Example “092010”<br />

ISO standard numeric ids<br />

Example 840 = USD, 124 = CAD, 826 =<br />

GBP<br />

Note: Please see Appendix B for complete list of<br />

values.<br />

ID of precalculated Foreign Exchange rate.<br />

Note: Manda<strong>to</strong>ry for FX transactions<br />

Amount Numeric N/A<br />

<strong>Transaction</strong> amount. Up <strong>to</strong> 4 decimals<br />

maximum. Decimal varies based on<br />

CurrencyId.<br />

Example 840 = “56.78”, 392 = “99”, 048 =<br />

“125.333”<br />

M<br />

Title Alphanumeric 20<br />

Billing contact Title<br />

Example “Sir”<br />

O<br />

Company Alphanumeric 60<br />

Billing contact company<br />

Example “PaymentTrust Ltd.”<br />

O<br />

FirstName Alphanumeric 60<br />

Billing contact First Name<br />

Example “John”<br />

O<br />

MiddleName Alphanumeric 60 Billing contact Middle Name O<br />

LastName Alphanumeric 60<br />

Billing contact Last Name<br />

O<br />

Suffix Alphanumeric 20<br />

Example “Smith”<br />

Billing contact suffix<br />

Example “ 3 rd ”<br />

O<br />

M<br />

O<br />

O<br />

O<br />

M<br />

O<br />

O


Field Name Data Type Data Size Description<br />

Billing contact Address line 1<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

Address1 Alphanumeric 60 Example “2130 Gold”<br />

Note: Required for AVS<br />

O<br />

Address2 Alphanumeric 60<br />

Billing contact Address line 2<br />

Example “Suite101”<br />

O<br />

Address3 Alphanumeric 60 Billing contact Address line 3<br />

Billing contact City<br />

O<br />

City Alphanumeric 60 Example “New York”<br />

Note: Required for AVS<br />

O<br />

The billing information state based on the<br />

two-character long ISO codes. This is a<br />

manda<strong>to</strong>ry field for North America only. The<br />

remaining world regions /Provinces may use<br />

StateCode Alphanumeric 60 this as an Optional field.<br />

Example “NY”<br />

Note: Required for AVS<br />

Note: Please See Appendix E for complete list of<br />

values<br />

Billing contact ZIP / Postal Code<br />

O<br />

ZipCode Alphanumeric 30 Example “90210”<br />

Note: Required for AVS<br />

Billing contact ISO Country Code<br />

O<br />

Example “US”<br />

CountryCode Alpha 2 Note: Required for AVS<br />

Note: Please See Appendix D for complete list of<br />

values<br />

Billing contact Phone Number, only digits,<br />

O<br />

PhoneNumber Alphanumeric 30 no parentheses<br />

Example “6188565656”<br />

O<br />

PhoneExtension Alphanumeric 10<br />

Billing contact Phone Extension<br />

Example “5654”<br />

O<br />

Email Alphanumeric 50<br />

Billing contact Email address<br />

Example “johns@aol.com”<br />

O<br />

ShipToTitle Alphanumeric 20<br />

Ship <strong>to</strong> contact Title<br />

Example “Sir”<br />

O<br />

ShipToCompany Alphanumeric 60<br />

Ship <strong>to</strong> contact company<br />

Example “PaymentTrust Ltd.”<br />

O<br />

ShipToFirstName Alphanumeric 60<br />

Ship <strong>to</strong> contact First Name<br />

Example “John”<br />

O<br />

ShipToMiddleName Alphanumeric 60 Ship <strong>to</strong> contact Middle Name O<br />

ShipToLastName Alphanumeric 60<br />

Ship <strong>to</strong> contact Last Name<br />

Example “Smith”<br />

O<br />

ShipToSuffix Alphanumeric 20<br />

Ship <strong>to</strong> contact suffix<br />

Example “ 3 rd ”<br />

O<br />

ShipToAddress1 Alphanumeric 60<br />

Ship <strong>to</strong> contact Address line 1<br />

Example “2130 Gold”<br />

O<br />

ShipToAddress2 Alphanumeric 60<br />

Ship <strong>to</strong> contact Address line 2<br />

Example “Suite101”<br />

O<br />

ShipToAddress3 Alphanumeric 60 Ship <strong>to</strong> contact Address line 3 O<br />

ShipToCity Alphanumeric 60<br />

Ship <strong>to</strong> contact City<br />

Example “New York”<br />

O<br />

88


Field Name Data Type Data Size Description<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

ShipToStateCode Alphanumeric 30<br />

Ship <strong>to</strong> contact state code, two-character<br />

long ISO code required for North America.<br />

Remaining Region and Provinces may use<br />

free form field or leave it blank.<br />

Example “NY”<br />

Note: Please See Appendix E for complete list of<br />

values<br />

O<br />

ShipToZipCode Alphanumeric 30<br />

Ship <strong>to</strong> contact ZIP / Postal Code<br />

Example “90210”<br />

Ship <strong>to</strong> contact ISO Country Code, list will<br />

be provided by PaymentTrust Ltd.<br />

O<br />

ShipToCountryCode Alpha 2 Example “US”<br />

Note: Please See Appendix D for complete list of<br />

values<br />

Ship <strong>to</strong> contact Phone Number, only digits,<br />

O<br />

ShipToPhoneNumber Alphanumeric 30 no parentheses<br />

Example “6188565656”<br />

O<br />

ShipToPhoneExtension Alphanumeric 10<br />

Ship <strong>to</strong> contact Phone Extension<br />

Example “5654”<br />

Approved sale and authorization<br />

transactions receive a numeric or<br />

alphanumeric authorization code<br />

referencing the transaction for processing<br />

O<br />

AuthCode Alphanumeric 30<br />

purposes. Generated by financial institution<br />

and given <strong>to</strong> merchant by phone or other<br />

method.<br />

Example “P24586DE”<br />

Note: Not required when TRXSource = 9<br />

and ICCCryp<strong>to</strong>gramType = 40.<br />

Reference Number from 3D <strong>Secure</strong> system<br />

generated with Verify Enrollment response.<br />

M<br />

SVID Numeric N/A<br />

Example “10003606”<br />

Note: If submitted PaymentTrust will<br />

reference the 3D <strong>Secure</strong> system <strong>to</strong><br />

determine liability shift.<br />

Electronic Commerce Indica<strong>to</strong>r as returned<br />

O<br />

ECI Numeric 2<br />

from the 3D <strong>Secure</strong> MPI response.<br />

Note: For 3D <strong>Secure</strong> enabled transactions<br />

submit when available.<br />

The specific transaction identifier that was<br />

submitted <strong>to</strong> the MPI during 3D <strong>Secure</strong><br />

O<br />

<strong>Secure</strong>Id Alphanumeric 20 authentication.<br />

Note: For 3D <strong>Secure</strong> enabled transactions<br />

submit when available.<br />

Cardholder Authentication Value as<br />

O<br />

CAV Alphanumeric 50<br />

returned from the 3D <strong>Secure</strong> MPI response.<br />

Note: For 3D <strong>Secure</strong> enabled transactions<br />

submit when available.<br />

Enrollment status used <strong>to</strong> determine liability<br />

shift as returned from the 3D <strong>Secure</strong> MPI<br />

O<br />

CHEnrolled Alpha 1 response.<br />

Note: For 3D <strong>Secure</strong> enabled transactions<br />

submit when available.<br />

O<br />

89


Field Name Data Type Data Size Description<br />

Authentication status used <strong>to</strong> determine<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

TXStatus Alpha 1<br />

liability shift as returned from the 3D <strong>Secure</strong><br />

MPI response.<br />

Note: For 3D <strong>Secure</strong> enabled transactions<br />

O<br />

ICCAppVersionNumber Alphanumeric 4<br />

ICCTerminalCapabilit<br />

ies<br />

90<br />

Alphanumeric 6<br />

ICCTerminalCountryCode Alpha 2<br />

ICCTerminalResult Alphanumeric 10<br />

ICCTerminalDatetime AlphaNumeri<br />

c<br />

20<br />

ICCAppId Alphanumeric 32<br />

ICCAppUsageControl Alphanumeric 4<br />

ICCAppProfile Alphanumeric 4<br />

submit when available.<br />

Terminal Application Versions Number<br />

Example “FF1C”<br />

Note: Manda<strong>to</strong>ry when TRXSource = 9.<br />

Note: Not required for down graded ICC<br />

transactions.<br />

EMV tag 9F 33.<br />

Example “1C2A6D”<br />

Note: Manda<strong>to</strong>ry when TRXSource is 9.<br />

Note: Not required for down graded ICC<br />

transactions.<br />

Terminal ISO Country Code<br />

Example “US”<br />

Terminal Verification Result.<br />

A hexadecimal value that indicates the code<br />

values recording the results of the tests the<br />

terminal carried out during the EMV<br />

process.<br />

Example “1C2E9A6D1F”<br />

Note: Manda<strong>to</strong>ry when TRXSource is 9.<br />

Note: Not required for down graded ICC<br />

transactions.<br />

Date and Time the rate expires<br />

(YYYYMMDDHHMMSS).<br />

Example “20050223164000”<br />

Note: Time is in military format.<br />

Note: Manda<strong>to</strong>ry when TRXSource is 9.<br />

Note: Not required for down graded ICC<br />

transactions.<br />

Application Identifier.<br />

A hexadecimal identifying within the IC, the<br />

card application provider and the business<br />

function.<br />

Example<br />

“FF1C2DEE3B9A6D1FD1FC2DF1EE3B9A<br />

6F”<br />

Application Usage Control.<br />

A hexadecimal value that indicates the IC<br />

equivalent of the service code found on<br />

track 2 of the magnetic stripe.<br />

Example “FF1C”<br />

Application Interchange Profile.<br />

A hexadecimal value that specifies the<br />

application functions that are supported by<br />

the application in the IC.<br />

Example “FF1C”<br />

Note: Manda<strong>to</strong>ry when TRXSource = 9.<br />

Note: Not required for down graded ICC<br />

transactions.<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O


Field Name Data Type Data Size Description<br />

ICCCryp<strong>to</strong>gramInformation Alphanumeric 2<br />

ICCCryp<strong>to</strong>gramType Numeric 2<br />

ICCCryp<strong>to</strong>gram Alphanumeric 16<br />

ICCAppTrxCounter Alphanumeric 4<br />

ICCIssuerActionCode Alphanumeric 30<br />

ICCIssuerAppData Alphanumeric 64<br />

91<br />

Cryp<strong>to</strong>gram Information Data.<br />

Indicates the type of cryp<strong>to</strong>gram.<br />

40 (TC) – <strong>Transaction</strong> Certificate.<br />

80 (ARQC) – Authorization Request<br />

Cryp<strong>to</strong>gram.<br />

Example “40”<br />

Note: Manda<strong>to</strong>ry when TRXSource is 9.<br />

Note: Not required for down graded ICC<br />

transactions.<br />

Note: All other values are treated as an<br />

ARQC request.<br />

Cryp<strong>to</strong>gram <strong>Transaction</strong> Type.<br />

Specifies the types of transactions the IC<br />

shall perform.<br />

Example “40”<br />

Note: Manda<strong>to</strong>ry when TRXSource = 9.<br />

Note: Not required for down graded ICC<br />

transactions.<br />

Cryp<strong>to</strong>gram data as a hexadecimal value.<br />

Must either be the TC or ARQC pending<br />

what ICCCryp<strong>to</strong>gramInformation is<br />

submitted.<br />

Example “FF1C2DEE3B9A6D1F”<br />

Note: Manda<strong>to</strong>ry when TRXSource = 9.<br />

Note: Not required for down graded ICC<br />

transactions.<br />

Application <strong>Transaction</strong> Counter.<br />

A hexadecimal value that indicates the<br />

device for moni<strong>to</strong>ring card usage.<br />

Example “FF1C”<br />

Note: Manda<strong>to</strong>ry when TRXSource = 9.<br />

Note: Not required for down graded ICC<br />

transactions.<br />

Issuer Action Code.<br />

A hexadecimal value that indicates a series<br />

of values optionally encoded in an IC that<br />

indicates the card issuers preferred actions<br />

for this transaction.<br />

Example<br />

“1C2DEE3B9A6D1FD1FC2DF1EE3B9A2A<br />

”<br />

Issuer Application Data.<br />

A hexadecimal value that indicates<br />

additional, undefined, data sent by the card<br />

issuer <strong>to</strong> enable authentication of the card.<br />

Example<br />

“FF1C2DEE3B9A6D1FD1FC2DF1EE3B9A<br />

6F3BFC2DEE3B9A6D1FD1FC2DF1EEA6<br />

D1”<br />

Note: Manda<strong>to</strong>ry when TRXSource = 9.<br />

Note: Not required for down graded ICC<br />

transactions.<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O


Field Name Data Type Data Size Description<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

ICCPANSequenceNu<br />

mber<br />

Numeric 2<br />

The PAN sequence number as provided by<br />

the IC.<br />

Example “05”<br />

Note: Provide if available.<br />

Note: Not required for down graded ICC<br />

transactions.<br />

<strong>Transaction</strong> Status Information.<br />

EMV tag 9B.<br />

O<br />

ICCTrxStatus Alphanumeric 4<br />

Example “FF1C”<br />

Note: Manda<strong>to</strong>ry when TRXSource is 9.<br />

Note: Not required for down graded ICC<br />

transactions.<br />

Card Verification Method Type.<br />

1 - Cus<strong>to</strong>mer Present, Signature<br />

2 - Cus<strong>to</strong>mer Present, PIN<br />

3 - Cus<strong>to</strong>mer Present, Alternate CVM<br />

O<br />

ICCVerificationType Numeric 1<br />

4 - Cus<strong>to</strong>mer Present, UPT, No CVM<br />

5 - Cus<strong>to</strong>mer Present, UPT, PIN<br />

6 - Cus<strong>to</strong>mer Present, UPT, Alternate<br />

CVM<br />

7 - Cus<strong>to</strong>mer Not Present<br />

8 - No Verification<br />

Card Verification Method Results.<br />

A hexadecimal value that indicates the<br />

results of the cardholder verification method<br />

O<br />

ICCVerificationResult Alphanumeric 6<br />

performed in this transaction.<br />

Example “1C2A6D”<br />

Note: Manda<strong>to</strong>ry when TRXSource = 9.<br />

Note: Not required for down graded ICC<br />

transactions.<br />

Unpredictable Number.<br />

A hexadecimal value <strong>to</strong> provide variability<br />

and uniqueness <strong>to</strong> the generation of the<br />

O<br />

ICCUnpredictableNumber Alphanumeric 8<br />

application cryp<strong>to</strong>gram.<br />

Example “1C2A6D1F”<br />

Note: Manda<strong>to</strong>ry when TRXSource = 9.<br />

Note: Not required for down graded ICC<br />

transactions.<br />

Short description appearing on shopper’s<br />

credit card statement. (Line 1)<br />

O<br />

NarrativeStatement1 Alphanumeric 50 Example “Online clothing s<strong>to</strong>re.”<br />

Note: Size varies depending on financial<br />

institution.<br />

Short description appearing on shopper’s<br />

credit card statement. (Line 2)<br />

O<br />

NarrativeStatement2 Alphanumeric 50 Example “Jean pants.”<br />

Note: Size varies depending on financial<br />

institution.<br />

O<br />

92


Sample Input String:<br />

StringIn=VersionUsed^1~MerchantId^100000~UserName^Mariah~UserPassword^Mariah~<strong>Transaction</strong>Ty<br />

pe^PT~IsTest^1~TimeOut^60000~RequestType^S~MOP^CC~AcctNumber^4459510002561039~ExpDat<br />

e^092010~CurrencyId^840~Amount^56.78~AuthCode^P24586DE<br />

STLink will return the following items for a PaymentTrust<br />

Simultaneous<br />

Forced Authorization and Settlement (Sale) Request (PT)(S)<br />

Field Name Data Type Data Size Description<br />

MerchantId Numeric N/A<br />

Permanent Merchant ID assigned by PaymentTrust Ltd.<br />

Example 100000<br />

<strong>Transaction</strong>Type Alpha 2 <strong>Transaction</strong> Type, “PT” for PaymentTrust<br />

Order number submitted by the Merchant or a number<br />

OrderNumber Alphanumeric 35<br />

generated by PaymentTrust Ltd. if order number was not<br />

specified.<br />

Example “10098987”<br />

StrId Numeric N/A Reference Number from STLink<br />

Reference Number from PaymentTrust system generated<br />

with Auth response<br />

PTTID or PTID Numeric N/A Example “10003606”<br />

Note: If the version is less than 2.0, PTTID is returned. If<br />

not PTID is returned.<br />

Account type.<br />

CC - Visa & MasterCard debit & credit cards, Carte<br />

Bancaire, Carte Bleue<br />

DS - Switch/Solo debit cards<br />

CQ - Cheques<br />

MOP Alpha 2<br />

EC - Electronic cheques or credit<br />

DC - Debit Card PIN enabled cards<br />

PC - Purchasing cards<br />

NT - Net Teller<br />

P2 – Pay 2<br />

Example: “CC”<br />

ISO standard numeric ids<br />

CurrencyId Numeric N/A Example 840 = USD, 124 = CAD, 826 = GBP<br />

Note: Please see Appendix B for complete list of values.<br />

<strong>Transaction</strong> amount. Up <strong>to</strong> 4 decimals maximum. Decimal<br />

Amount Numeric N/A varies based on CurrencyId.<br />

Example 840 = “56.78”, 392 = “99”, 048 = “125.333”<br />

RequestType Alpha 1 ‘S’ Sale or Simultaneous Authorization and Deposit.<br />

MessageCode Numeric N/A<br />

Example “2100”<br />

Note: Please See Appendix C for complete list of Results<br />

Message Alphanumeric 60<br />

Note: Please See Appendix C for complete list of Response<br />

Messages<br />

Reference Number from Foreign Exchange system.<br />

FXID Numeric N/A<br />

Example “10003606”<br />

Note: Only returned when transaction is associated with<br />

FX transaction.<br />

93


Field Name Data Type Data Size Description<br />

The current foreign exchange rate. Decimal length varies.<br />

FXRate Numeric N/A<br />

Example “0.84566”<br />

Note: Only returned when transaction is associated with<br />

FX transaction.<br />

Example “3050”<br />

FXMessageCode Numeric N/A<br />

Note: Only returned when transaction is associated with<br />

FX transaction.<br />

Note: Please See Appendix C for complete list of Results<br />

Note: Only returned when transaction is associated with<br />

FXMessage Alphanumeric 60<br />

FX transaction.<br />

Note: Please See Appendix C for complete list of Response<br />

Messages<br />

Sample Response:<br />

MerchantId^100000~<strong>Transaction</strong>Type^PT~OrderNumber^5008246825~StrId^1692823~PTTID^43153546<br />

~MOP^CC~CurrencyId^840~Amount^56.78~RequestType^S~MessageCode^2100~Message^Transactio<br />

n Approved<br />

PaymentTrust Cancellation Request (PT)(C)<br />

A Cancellation request prevents a previously authorized transaction from being deposited. A merchant<br />

can cancel all or part of an authorized amount within the PT system.<br />

Field Name Data Type Data Size Description<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

StringIn= N/A N/A<br />

Must be at beginning of all strings. Capitals<br />

must be used as shown.<br />

Note: Not required for XML batch requests.<br />

Version Used specific <strong>to</strong> <strong>Transaction</strong> Type.<br />

M<br />

VersionUsed Alphanumeric 4 Note: Must evaluate <strong>to</strong> numeric value for PT.<br />

Example “2” for PT<br />

Permanent Merchant ID assigned by<br />

M<br />

MerchantId Numeric N/A PaymentTrust Ltd.<br />

Example “100000”<br />

M<br />

UserName Alphanumeric 15<br />

UserName assigned by PaymentTrust Ltd.<br />

Example “Mariah”<br />

UserPassword assigned by PaymentTrust<br />

M<br />

UserPassword Alphanumeric 15 Ltd.<br />

Example “rr87uy”<br />

M<br />

<strong>Transaction</strong>Type Alphanumeric 2 <strong>Transaction</strong> Type, “PT” for PaymentTrust M<br />

IsTest Numeric N/A<br />

''1' for "Test", '0' for "Live",<br />

Note: Defaults <strong>to</strong> 0 if left blank<br />

I Indicates the maximum time the merchant<br />

O<br />

TimeOut Numeric N/A allows for the transaction, in milliseconds<br />

Recommendation “60000”<br />

M<br />

RequestType Alphanumeric 1<br />

‘C’ Cancellation (Reversal) of part or whole of<br />

an Authorization.<br />

M<br />

94


Field Name Data Type Data Size Description<br />

Specific Order number submitted by the<br />

Merchant for tracking purposes.<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

OrderNumber Alphanumeric 35<br />

Example “10098987”<br />

Note: If no order number is submitted the<br />

O<br />

system will generate one for the merchant at<br />

PTTID or PTID Numeric N/A<br />

Sample Input String:<br />

95<br />

the time of the transaction.<br />

Reference Number from PaymentTrust<br />

system generated with Auth response<br />

Example “10003606”<br />

Note: If the version is less than 2.0, PTTID is<br />

required. If not PTID is required.<br />

StringIn=VersionUsed^1~MerchantId^100000~UserName^Mariah~UserPassword^Mariah~<strong>Transaction</strong>Ty<br />

pe^PT~IsTest^1~TimeOut^60000~RequestType^C~PTTID^43153548<br />

STLink will return the following items for a PaymentTrust<br />

Cancellation Request (PT)(C)<br />

Field Name Data Type Data Size Description<br />

MerchantId Numeric N/A<br />

Permanent Merchant ID assigned by PaymentTrust Ltd.<br />

Example “100000”<br />

<strong>Transaction</strong>Type Alpha 2 <strong>Transaction</strong> Type, “PT” for PaymentTrust<br />

Order number submitted by the Merchant or a number<br />

OrderNumber Alphanumeric 35<br />

generated by PaymentTrust Ltd. if order number was not<br />

specified.<br />

Example “10098987”<br />

StrId Numeric N/A Reference Number from STLink<br />

Reference Number from PaymentTrust system generated<br />

with Auth response<br />

PTTID or PTID Numeric N/A Example “10003606”<br />

Note: If the version is less than 2.0, PTTID is returned. If not<br />

PTID is returned.<br />

Account type.<br />

CC - Visa & MasterCard debit & credit cards, Carte<br />

Bancaire, Carte Bleue<br />

DS - Switch/Solo debit cards<br />

CQ - Cheques<br />

MOP Alpha 2<br />

EC - Electronic cheques or credit<br />

DC - Debit Card PIN enabled cards<br />

PC - Purchasing cards<br />

NT - Net Teller<br />

P2 – Pay 2<br />

Example: “CC”<br />

ISO standard numeric ids<br />

CurrencyId Numeric N/A Example 840 = USD, 124 = CAD, 826 = GBP<br />

Note: Please see Appendix B for complete list of values.<br />

<strong>Transaction</strong> amount. Up <strong>to</strong> 4 decimals maximum. Decimal<br />

Amount Numeric N/A varies based on CurrencyId.<br />

Example 840 = “56.78”, 392 = “99”, 048 = “125.333”<br />

M


Field Name Data Type Data Size Description<br />

Approved sale and authorization transactions receive a<br />

numeric or alphanumeric authorization code referencing the<br />

AuthCode Alphanumeric 30<br />

transaction for processing purposes.<br />

Example “P24586DE”<br />

Note : Only returned when cancelling an ICC authorisation<br />

that went online.<br />

RequestType Alpha 1 ‘C’ Void (Reversal) of the whole amount for an Authorization.<br />

MessageCode Numeric N/A<br />

Example “2170”<br />

Note: Please See Appendix C for complete list of Results<br />

Message Alphanumeric 60<br />

Note: Please See Appendix C for complete list of Response<br />

Messages<br />

Reference Number from Foreign Exchange system.<br />

FXID Numeric N/A<br />

Example “10003606”<br />

Note: Only returned when transaction is associated with FX<br />

transaction.<br />

The current foreign exchange rate. Decimal length varies.<br />

FXRate Numeric N/A<br />

Example “0.84566”<br />

Note: Only returned when transaction is associated with FX<br />

transaction.<br />

Example “3170”<br />

FXMessageCode Numeric N/A<br />

Note: Only returned when transaction is associated with FX<br />

transaction.<br />

Note: Please See Appendix C for complete list of Results<br />

Note: Only returned when transaction is associated with FX<br />

FXMessage Alphanumeric 60<br />

transaction.<br />

Note: Please See Appendix C for complete list of Response<br />

Messages<br />

Sample Response:<br />

MerchantId^100000~<strong>Transaction</strong>Type^PT~OrderNumber^3650022853~StrId^1692825~PTTID^43153549~M<br />

OP^CC~CurrencyId^840~Amount^56.78~RequestType^C~MessageCode^2170~Message^<strong>Transaction</strong><br />

cancelled successfully<br />

PaymentTrust PayBack <strong>to</strong> Credit Card Request (PT)(P)<br />

A PayBack request will initiate a payment from the merchant’s account against the cardholders credit<br />

card account. This is similar <strong>to</strong> an Electronic Funds Transfer and varies from country <strong>to</strong> country.<br />

Please also note that this Request Type can also be submitted via Batch. For more on Batch submissions<br />

please refer <strong>to</strong> the XML definitions in section 6.3 of this document.<br />

Field Name Data Type Data Size Description<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

StringIn= N/A N/A<br />

Must be at beginning of all strings. Capitals<br />

must be used as shown.<br />

Note: Not required for XML batch requests.<br />

Version Used specific <strong>to</strong> <strong>Transaction</strong> Type.<br />

M<br />

VersionUsed Alphanumeric 4<br />

Note: Must evaluate <strong>to</strong> numeric value for<br />

PT.<br />

Example “2” for PT<br />

M<br />

96


Field Name Data Type Data Size Description<br />

Permanent Merchant ID assigned by<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

MerchantId Numeric N/A PaymentTrust Ltd.<br />

Example “100000”<br />

M<br />

UserName Alphanumeric 15<br />

UserName assigned by PaymentTrust Ltd.<br />

Example “Mariah”<br />

UserPassword assigned by PaymentTrust<br />

M<br />

UserPassword Alphanumeric 15 Ltd.<br />

Example “rr87uy”<br />

M<br />

<strong>Transaction</strong>Type Alphanumeric 2 <strong>Transaction</strong> Type, “PT” for PaymentTrust M<br />

IsTest<br />

Numeric<br />

1<br />

''1' for "Test", '0' for "Live",<br />

Note: Defaults <strong>to</strong> 0 if left blank<br />

Indicates the maximum time the merchant<br />

O<br />

TimeOut Numeric N/A allows for the transaction, in milliseconds<br />

Recommendation “60000”<br />

‘P’ PayBack request.<br />

M<br />

RequestType Alphanumeric 1 Note: This is dependant from country <strong>to</strong><br />

country. I.e. UK will use the BACS system.<br />

For use <strong>to</strong> differentiate between S<strong>to</strong>res.<br />

M<br />

S<strong>to</strong>reID Alphanumeric 10<br />

Permanent S<strong>to</strong>re ID assigned by<br />

PaymentTrust Ltd. or Merchant if left blank<br />

Example “100000”<br />

Account type.<br />

CC - Visa & MasterCard debit & credit<br />

cards, Carte Bancaire, Carte Bleue<br />

DS - Switch/Solo debit cards<br />

CQ - Cheques<br />

O<br />

MOP Alpha 2<br />

EC - Electronic cheques or credit<br />

DC - Debit Card PIN enabled cards<br />

PC - Purchasing cards<br />

NT - Net Teller<br />

P2 – Pay 2<br />

Example: “CC”<br />

Indicates the method used <strong>to</strong> receive the<br />

CreditCard information.<br />

M<br />

TRXSource Numeric N/A<br />

97<br />

1 - Swiped with a Card Present<br />

2 - Keyed by merchant with a Card present<br />

3 - Mail Order Telephone Order MOTO<br />

(Card Not Present)<br />

4 - Web orders (Card not present)<br />

5 – Web orders (Card not present, e-mail<br />

not present)<br />

9 – Integrated Circuit Card<br />

Note: Defaults <strong>to</strong> the Merchant default value<br />

during set-up.<br />

Note: Manda<strong>to</strong>ry for ICC transactions.<br />

O


Field Name Data Type Data Size Description<br />

Indicates swipe information from the<br />

Track2data of the Card when the<br />

TRXSource is 1 (Swiped with a Card<br />

Present)<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

Track2Data Alphanumeric 100<br />

Example:<br />

“;4459510002561039=09100000000000000000<br />

?”<br />

Note: This becomes a manda<strong>to</strong>ry field when<br />

TRXSource =1 or TRXSource = 9 for a<br />

O<br />

OrderNumber Alphanumeric<br />

98<br />

35<br />

AcctName Alphanumeric 60<br />

AcctNumber Numeric N/A<br />

ExpDate Numeric N/A<br />

CurrencyId Numeric N/A<br />

down graded ICC transaction.<br />

Specific Order number submitted by the<br />

Merchant for tracking purposes.<br />

Example “10098987”<br />

Note: If no order number is submitted the system<br />

will generate one for the merchant at the time of<br />

the transaction.<br />

Account holder name on card or account<br />

Example “John Smith 3 rd ”<br />

Note: Manda<strong>to</strong>ry for Carte Bancaire and<br />

Carte Bleue cards.<br />

Credit card number, Debit Card number,<br />

Purchase Card number, Bank account<br />

number, or any other applicable Bank<br />

Identifier.<br />

Example “4459510002561039”<br />

Note: This field is not required when<br />

TRXSource is 1<br />

Expiry date for credit card in MMYYYY<br />

format<br />

Example “092010”<br />

Note: Manda<strong>to</strong>ry for CC, PC and DS MOP<br />

types.<br />

ISO standard numeric ids<br />

Example 840 = USD, 124 = CAD, 826 =<br />

GBP<br />

Note: Please see Appendix B for complete list of<br />

values.<br />

Amount Numeric N/A<br />

<strong>Transaction</strong> amount. Up <strong>to</strong> 4 decimals<br />

maximum. Decimal varies based on<br />

CurrencyId.<br />

Example 840 = “56.78”, 392 = “99”, 048 =<br />

“125.333”<br />

M<br />

Title Alphanumeric 20<br />

Billing contact Title<br />

Example “Sir”<br />

O<br />

Company Alphanumeric 60<br />

Billing contact company<br />

Example “PaymentTrust Ltd.”<br />

O<br />

FirstName Alphanumeric 60<br />

Billing contact First Name<br />

Example “John”<br />

O<br />

MiddleName Alphanumeric 60 Billing contact Middle Name O<br />

LastName Alphanumeric 60<br />

Billing contact Last Name<br />

O<br />

Suffix Alphanumeric 20<br />

Example “Smith”<br />

Billing contact suffix<br />

Example “ 3 rd ”<br />

O<br />

O<br />

M<br />

O<br />

M<br />

O


Field Name Data Type Data Size Description<br />

Billing contact Address line 1<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

Address1 Alphanumeric 60 Example “2130 Gold”<br />

Note: Required for AVS<br />

O<br />

Address2 Alphanumeric 60<br />

Billing contact Address line 2<br />

Example “Suite101”<br />

O<br />

Address3 Alphanumeric 60 Billing contact Address line 3<br />

Billing contact City<br />

O<br />

City Alphanumeric 60 Example “New York”<br />

Note: Required for AVS<br />

O<br />

The billing information state based on the<br />

two-character long ISO codes. This is a<br />

manda<strong>to</strong>ry field for North America only. The<br />

remaining world regions /Provinces may use<br />

StateCode Alphanumeric 60 this as an Optional field.<br />

Example “NY”<br />

Note: Required for AVS<br />

Note: Please See Appendix E for complete list of<br />

values<br />

Billing contact ZIP / Postal Code<br />

O<br />

ZipCode Alphanumeric 30 Example “90210”<br />

Note: Required for AVS<br />

Billing contact ISO Country Code<br />

O<br />

Example “US”<br />

CountryCode Alpha 2 Note: Required for AVS<br />

Note: Please See Appendix D for complete list of<br />

values<br />

Billing contact Phone Number, only digits,<br />

O<br />

PhoneNumber Alphanumeric 30 no parentheses<br />

Example “6188565656”<br />

O<br />

PhoneExtension Alphanumeric 10<br />

Billing contact Phone Extension<br />

Example “5654”<br />

O<br />

Email Alphanumeric 50<br />

Billing contact Email address<br />

Example “johns@aol.com”<br />

O<br />

Sample Input String:<br />

StringIn=VersionUsed^1~MerchantId^100000~UserName^Mariah~UserPassword^Mariah~<strong>Transaction</strong>Type^<br />

PT~IsTest^1~TimeOut^60000~RequestType^P~MOP^CC~AcctNumber^4459510002561039~ExpDate^0920<br />

10~CurrencyId^840~Amount^56.78<br />

99


STLink will return the following items for a PaymentTrust PayBack <strong>to</strong><br />

Credit Card Request (PT)(P)<br />

Field Name Data Type Data Size Description<br />

MerchantId Numeric N/A<br />

Permanent Merchant ID assigned by PaymentTrust Ltd.<br />

Example “100000”<br />

<strong>Transaction</strong>Type Alpha 2 <strong>Transaction</strong> Type, “PT” for PaymentTrust<br />

Order number submitted by the Merchant or a number<br />

OrderNumber Alphanumeric 35<br />

generated by PaymentTrust Ltd. if order number was not<br />

specified.<br />

Example “10098987”<br />

StrId Numeric N/A Reference Number from STLink<br />

Reference Number from PaymentTrust system generated<br />

with Auth response<br />

PTTID or PTID Numeric N/A Example “10003606”<br />

Note: If the version is less than 2.0, PTTID is returned. If not<br />

PTID is returned.<br />

Account type.<br />

CC - Visa & MasterCard debit & credit cards, Carte<br />

Bancaire, Carte Bleue<br />

DS - Switch/Solo debit cards<br />

CQ - Cheques<br />

MOP Alpha 2<br />

EC - Electronic cheques or credit<br />

DC - Debit Card PIN enabled cards<br />

PC - Purchasing cards<br />

NT - Net Teller<br />

P2 – Pay 2<br />

Example: “CC”<br />

ISO standard numeric ids<br />

CurrencyId Numeric N/A Example 840 = USD, 124 = CAD, 826 = GBP<br />

Note: Please see Appendix B for complete list of values.<br />

<strong>Transaction</strong> amount. Up <strong>to</strong> 4 decimals maximum. Decimal<br />

Amount Numeric N/A varies based on CurrencyId.<br />

Example 840 = “56.78”, 392 = “99”, 048 = “125.333”<br />

‘P’ PayBack request.<br />

RequestType Alpha 1 Note: This is dependant from country <strong>to</strong> country. I.e. UK will<br />

use the BACS system.<br />

MessageCode Numeric N/A<br />

Example “2050”<br />

Note: Please See Appendix C for complete list of Results<br />

Message Alphanumeric 60<br />

Note: Please See Appendix C for complete list of Response<br />

Messages<br />

Sample Response:<br />

MerchantId^100000~<strong>Transaction</strong>Type^PT~OrderNumber^4444951494~StrId^1692829~PTTID^43153552~M<br />

OP^CC~CurrencyId^840~Amount^56.78~RequestType^P~MessageCode^2050~Message^Request Pending<br />

100


PaymentTrust PayBack with Cheque Request (PT)(P)<br />

Field Name Data Type Data Size Description<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

StringIn= N/A N/A<br />

Must be at beginning of all strings. Capitals<br />

must be used as shown.<br />

Note: Not required for XML batch requests.<br />

Version Used specific <strong>to</strong> <strong>Transaction</strong> Type.<br />

M<br />

VersionUsed Alphanumeric 4<br />

Note: Must evaluate <strong>to</strong> numeric value for<br />

PT.<br />

Example “2” for PT<br />

Permanent Merchant ID assigned by<br />

M<br />

MerchantId Numeric N/A PaymentTrust Ltd.<br />

Example “100000”<br />

M<br />

UserName Alphanumeric 15<br />

UserName assigned by PaymentTrust Ltd.<br />

Example “Mariah”<br />

UserPassword assigned by PaymentTrust<br />

M<br />

UserPassword Alphanumeric 15 Ltd.<br />

Example “rr87uy”<br />

M<br />

<strong>Transaction</strong>Type Alphanumeric 2 <strong>Transaction</strong> Type, “PT” for PaymentTrust M<br />

IsTest<br />

Numeric<br />

1<br />

''1' for "Test", '0' for "Live",<br />

Note: Defaults <strong>to</strong> 0 if left blank<br />

Indicates the maximum time the merchant<br />

O<br />

TimeOut Numeric N/A allows for the transaction, in milliseconds<br />

Recommendation “60000”<br />

M<br />

RequestType Alphanumeric 1 ‘P’ PayBack request.<br />

For use <strong>to</strong> differentiate between S<strong>to</strong>res.<br />

M<br />

S<strong>to</strong>reID Alphanumeric 10<br />

Permanent S<strong>to</strong>re ID assigned by<br />

PaymentTrust Ltd. or Merchant if left blank<br />

Example “100000”<br />

Account type.<br />

CC - Visa & MasterCard debit & credit<br />

cards, Carte Bancaire, Carte Bleue<br />

DS - Switch/Solo debit cards<br />

CQ - Cheques<br />

O<br />

MOP Alpha 2<br />

EC - Electronic cheques or credit<br />

DC - Debit Card PIN enabled cards<br />

PC - Purchasing cards<br />

NT - Net Teller<br />

P2 – Pay 2<br />

Example: “CQ”<br />

Specific Order number submitted by the<br />

M<br />

Merchant for tracking purposes.<br />

OrderNumber Alphanumeric<br />

35 Example “10098987”<br />

Note: If no order number is submitted the system<br />

will generate one for the merchant at the time of<br />

the transaction.<br />

ISO standard numeric ids<br />

Example 840 = USD, 124 = CAD, 826 =<br />

O<br />

CurrencyId Numeric N/A GBP<br />

Note: Please see Appendix B for complete list of<br />

values.<br />

M<br />

101


Field Name Data Type Data Size Description<br />

<strong>Transaction</strong> amount. Up <strong>to</strong> 4 decimals<br />

maximum. Decimal varies based on<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

Amount Numeric N/A CurrencyId.<br />

M<br />

FirstName Alphanumeric 60<br />

Example 840 = “56.78”, 392 = “99”, 048 =<br />

“125.333”<br />

Billing contact First Name<br />

Example “John”<br />

M<br />

LastName Alphanumeric 60<br />

Billing contact Last Name<br />

M<br />

Address1 Alphanumeric 60<br />

Address2 Alphanumeric 60<br />

City Alphanumeric 60<br />

StateCode Alphanumeric 60<br />

ZipCode Alphanumeric 30<br />

CountryCode Alpha 2<br />

PaymentReference Alphanumeric 60<br />

ShippingMethod Alphanumeric 20<br />

PhoneNumber Alphanumeric 30<br />

PhoneExtension Alphanumeric 10<br />

Email Alphanumeric 50<br />

102<br />

Example “Smith”<br />

Billing contact Address line 1<br />

Example “2130 Gold”<br />

Note: Required for AVS<br />

Billing contact Address line 2<br />

Example “Suite101”<br />

Billing contact City<br />

Example “New York”<br />

Note: Required for AVS<br />

The billing information state based on the<br />

two-character long ISO codes. This is a<br />

manda<strong>to</strong>ry field for North America only. The<br />

remaining world regions /Provinces may use<br />

this as an Optional field.<br />

Example “NY”<br />

Note: 25 characters long, when MOP is CQ.<br />

Note: Required for AVS<br />

Note: Please See Appendix E for complete list of<br />

values<br />

Billing contact ZIP / Postal Code<br />

Example “90210”<br />

Note: Required for AVS<br />

Billing contact ISO Country Code<br />

Example “US”<br />

Note: Required for AVS<br />

Note: Please See Appendix D for complete list of<br />

values<br />

The contents of this parameter appear in<br />

the memo field of the issued cheque or<br />

electronic credit. If omitted, defaults <strong>to</strong><br />

empty string.<br />

Note: For EC TRXs only the first 10<br />

characters will be used based on the<br />

requirements of the international banking<br />

system<br />

The type of service <strong>to</strong> be used when<br />

delivering the physical cheques.<br />

Example “Mail”<br />

Note: If not submitted the default value in<br />

the merchant setup is used.<br />

Billing contact Phone Number, only digits,<br />

no parentheses<br />

Example “6188565656”<br />

Billing contact Phone Extension<br />

Example “5654”<br />

Billing contact Email address<br />

Example “johns@aol.com”<br />

M<br />

O<br />

M<br />

M<br />

O<br />

M<br />

O<br />

O<br />

O<br />

O<br />

O


Sample Input String:<br />

StringIn=VersionUsed^1~MerchantId^100000~UserName^Mariah~UserPassword^Mariah~<strong>Transaction</strong>Ty<br />

pe^PT~IsTest^1~TimeOut^60000~RequestType^P~MOP^CQ~CurrencyId^840~Amount^56.78~FirstNam<br />

e^John~LastName^Smith~Address1^2130 Gold~City^New<br />

York~StateCode^NY~ZipCode^90210~CountryCode^US<br />

STLink will return the following items for a PaymentTrust PayBack<br />

with Cheque Request (PT)(P)<br />

Field Name Data Type Data Size Description<br />

MerchantId Numeric N/A<br />

Permanent Merchant ID assigned by PaymentTrust Ltd.<br />

Example “100000”<br />

<strong>Transaction</strong>Type Alpha 2 <strong>Transaction</strong> Type, “PT” for PaymentTrust<br />

Order number submitted by the Merchant or a number<br />

OrderNumber Alphanumeric 35<br />

generated by PaymentTrust Ltd. if order number was not<br />

specified.<br />

Example “10098987”<br />

StrId Numeric N/A Reference Number from STLink<br />

Reference Number from PaymentTrust system generated<br />

with Auth response<br />

PTTID or PTID Numeric N/A Example “10003606”<br />

Note: If the version is less than 2.0, PTTID is returned. If not<br />

PTID is returned.<br />

Account type.<br />

CC - Visa & MasterCard debit & credit cards, Carte<br />

Bancaire, Carte Bleue<br />

DS - Switch/Solo debit cards<br />

CQ - Cheques<br />

MOP Alpha 2<br />

EC - Electronic cheques or credit<br />

DC - Debit Card PIN enabled cards<br />

PC - Purchasing cards<br />

NT - Net Teller<br />

P2 – Pay 2<br />

Example: “CQ”<br />

ISO standard numeric ids<br />

CurrencyId Numeric N/A Example 840 = USD, 124 = CAD, 826 = GBP<br />

Note: Please see Appendix B for complete list of values.<br />

<strong>Transaction</strong> amount. Up <strong>to</strong> 4 decimals maximum. Decimal<br />

Amount Numeric N/A varies based on CurrencyId.<br />

Example 840 = “56.78”, 392 = “99”, 048 = “125.333”<br />

RequestType Alpha 1 ‘P’ PayBack request.<br />

MessageCode Numeric N/A<br />

Example “2050”<br />

Note: Please See Appendix C for complete list of Results<br />

Message Alphanumeric 60<br />

Note: Please See Appendix C for complete list of Response<br />

Messages<br />

Sample Response:<br />

MerchantId^100000~<strong>Transaction</strong>Type^PT~OrderNumber^9641616504~StrId^1692835~PTTID^43153557<br />

~MOP^CQ~CurrencyId^840~Amount^56.78~RequestType^P~MessageCode^2050~Message^Request<br />

Pending<br />

103


PaymentTrust PayBack with Electronic Credit Request (PT)(P)<br />

Field Name Data Type Data Size Description<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

StringIn= N/A N/A<br />

Must be at beginning of all strings. Capitals<br />

must be used as shown.<br />

Note: Not required for XML batch requests.<br />

Version Used specific <strong>to</strong> <strong>Transaction</strong> Type.<br />

M<br />

VersionUsed Alphanumeric 4<br />

Note: Must evaluate <strong>to</strong> numeric value for<br />

PT.<br />

Example “2” for PT<br />

Permanent Merchant ID assigned by<br />

M<br />

MerchantId Numeric N/A PaymentTrust Ltd.<br />

Example “100000”<br />

M<br />

UserName Alphanumeric 15<br />

UserName assigned by PaymentTrust Ltd.<br />

Example “Mariah”<br />

UserPassword assigned by PaymentTrust<br />

M<br />

UserPassword Alphanumeric 15 Ltd.<br />

Example “rr87uy”<br />

M<br />

<strong>Transaction</strong>Type Alphanumeric 2 <strong>Transaction</strong> Type, “PT” for PaymentTrust M<br />

IsTest Numeric 1<br />

''1' for "Test", '0' for "Live",<br />

Note: Defaults <strong>to</strong> 0 if left blank<br />

Indicates the maximum time the merchant<br />

O<br />

TimeOut Numeric N/A allows for the transaction, in milliseconds<br />

Recommendation “60000”<br />

M<br />

RequestType Alphanumeric 1 ‘P’ PayBack request.<br />

For use <strong>to</strong> differentiate between S<strong>to</strong>res.<br />

M<br />

S<strong>to</strong>reID Alphanumeric 10<br />

Permanent S<strong>to</strong>re ID assigned by<br />

PaymentTrust Ltd. or Merchant if left blank<br />

Example “100000”<br />

Account type.<br />

CC - Visa & MasterCard debit & credit<br />

cards, Carte Bancaire, Carte Bleue<br />

DS - Switch/Solo debit cards<br />

CQ - Cheques<br />

O<br />

MOP Alpha 2<br />

EC - Electronic cheques or credit<br />

DC - Debit Card PIN enabled cards<br />

PC - Purchasing cards<br />

NT - Net Teller<br />

P2 – Pay 2<br />

Example: “EC”<br />

Specific Order number submitted by the<br />

M<br />

Merchant for tracking purposes.<br />

OrderNumber Alphanumeric<br />

35 Example “10098987”<br />

Note: If no order number is submitted the system<br />

will generate one for the merchant at the time of<br />

the transaction.<br />

ISO standard numeric ids<br />

Example 840 = USD, 124 = CAD, 826 =<br />

O<br />

CurrencyId Numeric N/A GBP<br />

Note: Please see Appendix B for complete list of<br />

values.<br />

M<br />

104


Field Name Data Type Data Size Description<br />

<strong>Transaction</strong> amount. Up <strong>to</strong> 4 decimals<br />

maximum. Decimal varies based on<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

Amount Numeric N/A CurrencyId.<br />

M<br />

Example 840 = “56.78”, 392 = “99”, 048 =<br />

FirstName Alphanumeric<br />

LastName Alphanumeric<br />

PayeeBankNumber Numeric<br />

105<br />

See<br />

Description<br />

See<br />

Description<br />

See<br />

Description<br />

IBAN Alphanumeric 35<br />

“125.333”<br />

Billing contact First Name<br />

Example “John”<br />

Note: Size is calculated by adding<br />

FirstName and LastName including one<br />

space character. CountryCode maximum<br />

length:<br />

AU – 26<br />

CA – 22<br />

DE – 26<br />

GB – 17<br />

HK – 26<br />

NL – 34<br />

SG – 26<br />

US – 21<br />

Billing contact Last Name<br />

Example “Smith”<br />

Note: See FirstName.<br />

Payee’s bank number where funds are<br />

transferred.<br />

Note: Number of digits allowed per<br />

CountryCode:<br />

AU – 6<br />

CA – 6<br />

DE – 8<br />

GB – 6<br />

HK – 7<br />

NL – N/A<br />

SG – 7<br />

US – 9<br />

Note: If IBAN is not present;<br />

PayeeBankNumber is not required for<br />

CountryCode “NL” (Netherlands)<br />

Note: Data Type changes <strong>to</strong> alphanumeric<br />

and Data Size changes <strong>to</strong> 12 when<br />

CurrencyId is 978 (EUR).<br />

A representation of payee’s Bank Branch<br />

Code and Bank Account Number.<br />

Example: “fr1234567890”<br />

Note: Starts with 2-letter CountryCode.<br />

Note: Manda<strong>to</strong>ry when CurrencyId is 978<br />

(EUR).<br />

M<br />

M<br />

M<br />

O


Field Name Data Type Data Size Description<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

PayeeAccountNumbe<br />

r<br />

Numeric<br />

See<br />

Description<br />

Payee’s account number where funds are<br />

transferred.<br />

Note: Number of digits allowed per<br />

CountryCode:<br />

AU – 9<br />

CA – 8<br />

DE – 10<br />

GB – 8<br />

HK – 9<br />

NL – 10<br />

SG – 9<br />

US – 17<br />

Note: Optional when CurrencyId is 978<br />

(EUR).<br />

The contents of this parameter appear in<br />

the memo field of the issued cheque or<br />

electronic credit. If omitted, defaults <strong>to</strong><br />

M<br />

PaymentREF Alphanumeric 60<br />

empty string.<br />

Note: For EC TRXs only the first 10<br />

characters will be used based on the<br />

requirements of the international banking<br />

system<br />

Billing contact City.<br />

Example “New York”<br />

O<br />

City Alphanumeric 60 Note: For CountryCode “NL” (Netherlands)<br />

If IBAN is not present; City is manda<strong>to</strong>ry<br />

and size of 35.<br />

Billing contact ISO Country Code.<br />

O<br />

CountryCode Alpha 2<br />

Example “US”<br />

Note: Please See Appendix D for complete list of<br />

values<br />

Billing contact Phone Number, only digits,<br />

O<br />

PhoneNumber Alphanumeric 30 no parentheses<br />

Example “6188565656”<br />

O<br />

PhoneExtension Alphanumeric 10<br />

Billing contact Phone Extension<br />

Example “5654”<br />

O<br />

Email Alphanumeric 50<br />

Billing contact Email address<br />

Example “johns@aol.com”<br />

O<br />

Sample Input String:<br />

StringIn=VersionUsed^1~MerchantId^100000~UserName^Mariah~UserPassword^Mariah~<strong>Transaction</strong>Ty<br />

pe^PT~IsTest^1~TimeOut^60000~RequestType^P~MOP^EC~CurrencyId^840~Amount^56.78~FirstNam<br />

e^John~LastName^Smith~PayeeBankNumber^123456789~PayeeAccountNumber^1234567890<br />

106


STLink will return the following items for a PaymentTrust PayBack<br />

with Electronic Credit Request (PT)(P)<br />

Field Name Data Type Data Size Description<br />

MerchantId Numeric N/A<br />

Permanent Merchant ID assigned by PaymentTrust Ltd.<br />

Example “100000”<br />

<strong>Transaction</strong>Type Alpha 2 <strong>Transaction</strong> Type, “PT” for PaymentTrust<br />

Order number submitted by the Merchant or a number<br />

OrderNumber Alphanumeric 35<br />

generated by PaymentTrust Ltd. if order number was not<br />

specified.<br />

Example “10098987”<br />

StrId Numeric N/A Reference Number from STLink<br />

Reference Number from PaymentTrust system generated<br />

with Auth response<br />

PTTID or PTID Numeric N/A Example “10003606”<br />

Note: If the version is less than 2.0, PTTID is returned. If not<br />

PTID is returned.<br />

Account type.<br />

CC - Visa & MasterCard debit & credit cards, Carte<br />

Bancaire, Carte Bleue<br />

DS - Switch/Solo debit cards<br />

CQ - Cheques<br />

MOP Alpha 2<br />

EC - Electronic cheques or credit<br />

DC - Debit Card PIN enabled cards<br />

PC - Purchasing cards<br />

NT - Net Teller<br />

P2 – Pay 2<br />

Example: “EC”<br />

ISO standard numeric ids<br />

CurrencyId Numeric N/A Example 840 = USD, 124 = CAD, 826 = GBP<br />

Note: Please see Appendix B for complete list of values.<br />

<strong>Transaction</strong> amount. Up <strong>to</strong> 4 decimals maximum. Decimal<br />

Amount Numeric N/A varies based on CurrencyId.<br />

Example 840 = “56.78”, 392 = “99”, 048 = “125.333”<br />

RequestType Alpha 1 ‘P’ PayBack request.<br />

MessageCode Numeric N/A<br />

Example “2050”<br />

Note: Please See Appendix C for complete list of Results<br />

Message Alphanumeric 60<br />

Note: Please See Appendix C for complete list of Response<br />

Messages<br />

Sample Response:<br />

MerchantId^100000~<strong>Transaction</strong>Type^PT~OrderNumber^6466685276~StrId^1692837~PTTID^43153559<br />

~MOP^EC~CurrencyId^840~Amount^56.78~RequestType^P~MessageCode^2050~Message^Request<br />

Pending<br />

107


PaymentTrust Bank Transfer ID (BTS) Request (PT)(B)<br />

Field Name Data Type Data Size Description<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

StringIn= N/A N/A<br />

Must be at beginning of all strings. Capitals<br />

must be used as shown.<br />

Note: Not required for XML batch requests.<br />

Version Used specific <strong>to</strong> <strong>Transaction</strong> Type.<br />

M<br />

VersionUsed Alphanumeric 4<br />

Note: Must evaluate <strong>to</strong> numeric value for<br />

PT.<br />

Example “2” for PT<br />

Permanent Merchant ID assigned by<br />

M<br />

MerchantId Numeric N/A PaymentTrust Ltd.<br />

Example “100000”<br />

M<br />

UserName Alphanumeric 15<br />

UserName assigned by PaymentTrust Ltd.<br />

Example “Mariah”<br />

UserPassword assigned by PaymentTrust<br />

M<br />

UserPassword Alphanumeric 15 Ltd.<br />

Example “rr87uy”<br />

M<br />

<strong>Transaction</strong>Type Alphanumeric 2 <strong>Transaction</strong> Type, “PT” for PaymentTrust M<br />

IsTest<br />

Numeric<br />

1<br />

''1' for "Test", '0' for "Live",<br />

Note: Defaults <strong>to</strong> 0 if left blank<br />

Indicates the maximum time the merchant<br />

O<br />

TimeOut Numeric N/A allows for the transaction, in milliseconds<br />

Recommendation “60000”<br />

M<br />

RequestType Alphanumeric 1 ‘B’ Bank Transfer request.<br />

Specific Order number submitted by the<br />

M<br />

Merchant for tracking purposes.<br />

OrderNumber Alphanumeric<br />

35 Example “10098987”<br />

Note: If no order number is submitted the system<br />

will generate one for the merchant at the time of<br />

the transaction.<br />

ISO standard numeric ids<br />

Example 840 = USD, 124 = CAD, 826 =<br />

O<br />

CurrencyId Numeric N/A GBP<br />

Note: Please see Appendix B for complete list of<br />

values.<br />

Standard 2 letter Country Code<br />

Example UK = United Kingdom US =<br />

O<br />

CountryCode Alpha 2 United States, CA = Canada<br />

Note: Please see Appendix D for complete<br />

list of values.<br />

O<br />

Sample Input String:<br />

StringIn=VersionUsed^1~MerchantId^100000~UserName^Mariah~UserPassword^Mariah~<strong>Transaction</strong>Ty<br />

pe^PT~IsTest^1~TimeOut^60000~RequestType^B<br />

108


STLink will return the following items for a PaymentTrust Bank<br />

Transfer ID Request (PT)(B)<br />

Field Name Data Type Data Size Description<br />

MerchantId Numeric N/A<br />

Permanent Merchant ID assigned by PaymentTrust Ltd.<br />

Example “100000”<br />

<strong>Transaction</strong>Type Alpha 2 <strong>Transaction</strong> Type, “PT” for PaymentTrust<br />

Order number submitted by the Merchant or a number<br />

OrderNumber Alphanumeric 35<br />

generated by PaymentTrust Ltd. if order number was not<br />

specified.<br />

Example “10098987”<br />

StrId Numeric N/A Reference Number from STLink<br />

BTID Alphanumeric 12 Unique ID generated by PaymentTrust.<br />

RequestType Alphanumeric 1 ‘B’ Bank Transfer request.<br />

AccountNo Alphanumeric 50<br />

Merchant’s bank account number for specified currency.<br />

Note: Only returned if CurrencyId was submitted.<br />

BankAddress Alphanumeric 200<br />

Address of merchant’s bank.<br />

Note: Only returned if CurrencyId was submitted.<br />

ISO standard numeric ids<br />

Example 840 - USD, 124 – CAD,<br />

CurrencyId Numeric N/A 826 – GBP<br />

Note: Please See Appendix B for complete list of values<br />

Note: Only returned if CurrencyId was submitted.<br />

Example “2050”<br />

MessageCode Numeric N/A<br />

Note: Please See Appendix C for complete list of Results<br />

Note: A MessageCode will be returned only if an error<br />

occurred while processing the BTID request.<br />

Note: Please See Appendix C for complete list of Response<br />

Message Alphanumeric 60<br />

Messages<br />

Note: A Message will be returned only if an error occurred<br />

while processing the BTID request.<br />

Sample Response:<br />

MerchantId^100000~<strong>Transaction</strong>Type^PT~OrderNumber^4034618738~StrId^1692839~BTID^105684139<br />

7<br />

109


PaymentTrust Deposit (Settlement) Request (PT)(D) for PURCHASING<br />

CARDS (VISA, AMEX, MASTER CARD)<br />

As noted before a Deposit request marks a previously authorized transaction for funds collection during<br />

the next deposit cycle with the financial institution. Under the Deposit request for Purchasing Cards<br />

Merchants are also required <strong>to</strong> include certain Tax and line item information on a per <strong>Transaction</strong> basis.<br />

All these <strong>Transaction</strong>s along with the line details can be placed in a single XML request.<br />

Important Note: A merchant can only submit one deposit request per authorization and this must be for a<br />

value lesser or equal <strong>to</strong> the authorized amount.<br />

Please also note that this Request Type when used with Purchasing Cards can only be submitted via<br />

Batch. In the same batch Refund (R) requests may also be placed. For more on Batch submissions<br />

please refer <strong>to</strong> the XML definitions in section 6.3 of this document.<br />

VI = Visa, AX = Amex, MC = Master Card, O = Optional Fields, M = Manda<strong>to</strong>ry Fields<br />

Field Name Data Type Data Size Description<br />

Must be at beginning of all strings.<br />

VI AX MC<br />

StringIn= N/A N/A<br />

Capitals must be used as shown.<br />

Note: Not required for XML batch<br />

requests.<br />

Version Used specific <strong>to</strong><br />

M M M<br />

VersionUsed Alphanumeric 4 <strong>Transaction</strong> Type<br />

Example “1” for PT<br />

Permanent Merchant ID assigned<br />

M M M<br />

MerchantId Numeric N/A by PaymentTrust Ltd.<br />

Example “100000”<br />

UserName assigned by<br />

M M M<br />

UserName Alphanumeric 15 PaymentTrust Ltd.<br />

Example “Mariah”<br />

UserPassword assigned by<br />

M M M<br />

UserPassword Alphanumeric 15 PaymentTrust Ltd.<br />

Example “rr87uy”<br />

M M M<br />

<strong>Transaction</strong>Type Alphanumeric 2<br />

<strong>Transaction</strong> Type, “PT” for<br />

PaymentTrust<br />

M M M<br />

IsTest Numeric 1<br />

''1' for "Test", '0' for "Live",<br />

Note: Defaults <strong>to</strong> 0 if left blank<br />

O O O<br />

RequestType Alphanumeric 1<br />

‘D’ Deposit (Settlement). Specific<br />

for PT Only<br />

Indicates the method used <strong>to</strong><br />

receive the CreditCard information.<br />

M M M<br />

TRXSource Numeric N/A<br />

110<br />

1 - Swiped with a Card Present<br />

2 - Keyed by merchant with a Card<br />

present<br />

3 - Mail Order Telephone Order<br />

MOTO (Card Not Present)<br />

4 - Web orders (Card not<br />

present)<br />

5 – Web orders (Card not present,<br />

e-mail not present)<br />

9 – Integrated Circuit Card<br />

Note: Defaults <strong>to</strong> the Merchant default<br />

value during set-up.<br />

Note: Manda<strong>to</strong>ry for ICC transactions.<br />

O O O


Field Name Data Type Data Size Description<br />

Indicates swipe information from the<br />

Track2data of the Card when the<br />

TRXSource is 1 (Swiped with a<br />

Card Present)<br />

Example:<br />

VI AX MC<br />

Track2Data Alphanumeric 100 “;4459510002561039=0910000000000<br />

0000000?”<br />

Note: This becomes a manda<strong>to</strong>ry<br />

field when TRXSource =1 or<br />

TRXSource = 9 for a down graded<br />

ICC transaction.<br />

Specific Order number submitted by<br />

the Merchant for tracking purposes.<br />

Example “10098987”<br />

O O O<br />

OrderNumber Alphanumeric 35 Note: If no order number is<br />

submitted the system will generate<br />

one for the merchant at the time of<br />

the transaction.<br />

Specific Order Reference number<br />

O O O<br />

OrderReference Alphanumeric 20<br />

submitted by the Merchant for<br />

tracking purposes.<br />

Example “E1009887BTHJ”<br />

The order Date in the format<br />

O O O<br />

OrderDate Numeric 8 DDMMYYYY.<br />

Example “27032001”<br />

ISO standard numeric ids<br />

Example 840 = USD, 124 = CAD,<br />

M M M<br />

CurrencyId Numeric N/A 826 = GBP<br />

Note: Please see Appendix B for<br />

complete list of values.<br />

<strong>Transaction</strong> amount. Up <strong>to</strong> 4<br />

decimals maximum. Decimal varies<br />

M M M<br />

Amount Numeric N/A based on CurrencyId.<br />

Example 840 = “56.78”, 392 =<br />

“99”, 048 = “125.333”<br />

Reference Number from<br />

PaymentTrust system generated<br />

with Auth response<br />

M M M<br />

PTTID or PTID Numeric N/A Example “10003606”<br />

Note: If the version is less than 2.0,<br />

PTTID is required. If not PTID is<br />

required.<br />

Invoice number submitted by the<br />

M M M<br />

InvoiceNumber Alphanumeric 12 Merchant for tracking purposes.<br />

Example “3465456”<br />

The cus<strong>to</strong>mer’s number within the<br />

O O O<br />

Cus<strong>to</strong>merNumber Alphanumeric 12 merchant’s system.<br />

Example “46094586”<br />

This field is used <strong>to</strong> s<strong>to</strong>re additional<br />

O O O<br />

Cus<strong>to</strong>merReference1 Alphanumeric 20 cus<strong>to</strong>mer reference numbers.<br />

Example “3465456”<br />

This field is used <strong>to</strong> s<strong>to</strong>re additional<br />

N/A O N/A<br />

Cus<strong>to</strong>merReference2 Alphanumeric 20 cus<strong>to</strong>mer reference numbers.<br />

Example “3465456”<br />

O O O<br />

111


Field Name Data Type Data Size Description<br />

This field is used <strong>to</strong> s<strong>to</strong>re additional<br />

VI AX MC<br />

Cus<strong>to</strong>merReference3 Alphanumeric 20 cus<strong>to</strong>mer reference numbers.<br />

Example “3465456”<br />

O O O<br />

MerchantVATNumber Alphanumeric 20<br />

This is the Merchant’s VAT number.<br />

Example “XTY99BN3465456”<br />

This is the Cus<strong>to</strong>mer’s VAT<br />

number.<br />

M M M<br />

Cus<strong>to</strong>merVATNumber Alphanumeric 20 Example “XTY99BN3465456”<br />

Note: Manda<strong>to</strong>ry only for crossborder<br />

transactions.<br />

The <strong>to</strong>tal discount amount of all line<br />

items. Up <strong>to</strong> 4 decimals maximum.<br />

Decimal varies based on<br />

O O O<br />

TotalDiscountAmount Numeric N/A CurrencyId.<br />

Example 840 - $USD “56.78”, 392<br />

- $JPY “99”, 048 - $BHD<br />

“125.333”<br />

VAT Rate for freight/shipping<br />

O O O<br />

ShippingVATRate Numeric N/A amount. Up <strong>to</strong> 2 decimals.<br />

Example “3.40”<br />

Total amount for shipping line<br />

items. Up <strong>to</strong> 4 decimals maximum.<br />

Decimal varies based on<br />

O O N/A<br />

TotalShippingAmount Numeric N/A CurrencyId.<br />

Example 840 - $USD “56.78”, 392<br />

- $JPY “99”, 048 - $BHD<br />

“125.333”<br />

The <strong>to</strong>tal tax amount of all line<br />

items. Up <strong>to</strong> 4 decimals maximum.<br />

Decimal varies based on<br />

O O O<br />

TotalTAXAmount Numeric N/A CurrencyId.<br />

Example 840 - $USD “56.78”, 392<br />

- $JPY “99”, 048 - $BHD<br />

“125.333”<br />

M O M<br />

Title Alphanumeric 20<br />

Billing contact Title<br />

Example “Sir”<br />

O O O<br />

Company Alphanumeric 60<br />

Billing contact company<br />

Example “PaymentTrust Ltd.”<br />

O O O<br />

FirstName Alphanumeric 60<br />

Billing contact First Name<br />

Example “John”<br />

O O O<br />

MiddleName Alphanumeric 60 Billing contact Middle Name O O O<br />

LastName Alphanumeric 60<br />

Billing contact Last Name<br />

Example “Smith”<br />

O O O<br />

Suffix Alphanumeric 20<br />

Billing contact suffix<br />

Example “ 3 rd ”<br />

Billing contact Address line 1<br />

O O O<br />

Address1 Alphanumeric 60 Example “2130 Gold”<br />

Note: Required for AVS<br />

O O O<br />

Address2 Alphanumeric 60<br />

Billing contact Address line 2<br />

Example “Suite101”<br />

O O O<br />

Address3 Alphanumeric 60 Billing contact Address line 3<br />

Billing contact City<br />

O O O<br />

City Alphanumeric 60 Example “New York”<br />

Note: Required for AVS<br />

O O O<br />

112


Field Name Data Type Data Size Description<br />

The billing information state based<br />

on the two-character long ISO<br />

codes. This is a manda<strong>to</strong>ry field for<br />

North America only. The remaining<br />

VI AX MC<br />

StateCode Alphanumeric 60<br />

world regions /Provinces may use<br />

this as an Optional field.<br />

Example “NY”<br />

Note: Required for AVS<br />

Note: Please See Appendix E for<br />

complete list of values<br />

Billing contact ZIP / Postal Code<br />

O O O<br />

ZipCode Alphanumeric 30 Example “90210”<br />

Note: Required for AVS<br />

Billing contact ISO Country Code<br />

O O O<br />

Example “US”<br />

CountryCode Alpha 2 Note: Required for AVS<br />

Note: Please See Appendix D for<br />

complete list of values<br />

Billing contact Phone Number, only<br />

O O O<br />

PhoneNumber Alphanumeric 30 digits, no parentheses<br />

Example “6188565656”<br />

O O O<br />

PhoneExtension Alphanumeric 10<br />

Billing contact Phone Extension<br />

Example “5654”<br />

O O O<br />

Email Alphanumeric 50<br />

Billing contact Email address<br />

Example “johns@aol.com”<br />

O O O<br />

ShipToTitle Alphanumeric 20<br />

Ship <strong>to</strong> contact Title<br />

Example “Sir”<br />

O O O<br />

ShipToCompany Alphanumeric 60<br />

Ship <strong>to</strong> contact company<br />

Example “PaymentTrust Ltd.”<br />

O O O<br />

ShipToFirstName Alphanumeric 60<br />

Ship <strong>to</strong> contact First Name<br />

Example “John”<br />

O O O<br />

ShipToMiddleName Alphanumeric 60 Ship <strong>to</strong> contact Middle Name O O O<br />

ShipToLastName Alphanumeric 60<br />

Ship <strong>to</strong> contact Last Name<br />

Example “Smith”<br />

O O O<br />

ShipToSuffix Alphanumeric 20<br />

Ship <strong>to</strong> contact suffix<br />

Example “ 3 rd ”<br />

O O O<br />

ShipToAddress1 Alphanumeric 60<br />

Ship <strong>to</strong> contact Address line 1<br />

Example “2130 Gold”<br />

O O O<br />

ShipToAddress2 Alphanumeric 60<br />

Ship <strong>to</strong> contact Address line 2<br />

Example “Suite101”<br />

O O O<br />

ShipToAddress3 Alphanumeric 60 Ship <strong>to</strong> contact Address line 3 O O O<br />

ShipToCity Alphanumeric 60<br />

Ship <strong>to</strong> contact City<br />

Example “New York”<br />

Ship <strong>to</strong> contact state code, twocharacter<br />

long ISO code required<br />

for North America. Remaining<br />

O O O<br />

ShipToStateCode Alphanumeric 30<br />

Region and Provinces may use free<br />

form field or leave it blank.<br />

Example “NY”<br />

Note: Please See Appendix E for<br />

complete list of values<br />

O O O<br />

ShipToZipCode Alphanumeric 30<br />

Ship <strong>to</strong> contact ZIP / Postal Code<br />

Example “90210”<br />

O O O<br />

113


Field Name Data Type Data Size Description VI AX MC<br />

ShipToCountryCod<br />

e<br />

ShipToPhoneNumb<br />

er<br />

ShipToPhoneExtensi<br />

on<br />

114<br />

Alpha 2<br />

Alphanumeric 30<br />

Alphanumeric 10<br />

ShipFromAddress1 Alphanumeric 60<br />

ShipFromAddress2 Alphanumeric 60<br />

ShipFromAddress3 Alphanumeric 60<br />

ShipFromCity Alphanumeric 60<br />

ShipFromStateCode Alphanumeric 30<br />

ShipFromZipCode Alphanumeric 30<br />

ShipFromCountryCode Alpha 2<br />

ShipFromPhoneNumber Numeric 30<br />

CommodityCode Alphanumeric 10<br />

ProductCode Alphanumeric 30<br />

ProductDescription Alphanumeric 50<br />

UnitOfMeasure Alphanumeric 12<br />

UnitCost Numeric N/A<br />

Ship <strong>to</strong> contact ISO Country Code,<br />

list will be provided by<br />

PaymentTrust Ltd.<br />

Example “US”<br />

Note: Please See Appendix D for<br />

complete list of values<br />

Ship <strong>to</strong> contact Phone Number, only<br />

digits, no parentheses<br />

Example “6188565656”<br />

Ship <strong>to</strong> contact Phone Extension<br />

Example “5654”<br />

Ship from contact Address line 1.<br />

Example “2130 Gold”<br />

Ship from contact Address line 2<br />

Example “Suite101”<br />

Ship from contact Address line 2<br />

Example “ BLK 56”<br />

Ship from contact City<br />

Example “New York”<br />

Ship from contact state code, twocharacter<br />

long ISO code required<br />

for North America. Remaining<br />

Regions and Provinces may use<br />

free form field<br />

Example “NY”<br />

Note: Please See Appendix E for<br />

complete list of values<br />

Ship from contact ZIP / Postal Code<br />

Example “90210”<br />

Ship from contact ISO Country<br />

Code.<br />

Example “US”<br />

Note: Please See Appendix D for<br />

complete list of values<br />

Ship from contact Phone Number,<br />

only digits, no parentheses or<br />

dashes.<br />

Example “6188565656”<br />

The commodity code that the<br />

product is associated with.<br />

Example “6400”<br />

Note: Please See Appendix F for<br />

complete list of values<br />

The code of the product.<br />

Example “ZZZ90210”<br />

The Description of the product.<br />

Example “ACME Super Glue”<br />

The unit of measure used <strong>to</strong> price<br />

this specific product.<br />

Example “Kgs”<br />

Amount of individual unit. Up <strong>to</strong> 4<br />

decimals maximum. Decimal varies<br />

based on CurrencyId.<br />

Example 840 - $USD “56.78”, 392<br />

- $JPY “99”, 048 - $BHD<br />

“125.333”<br />

O O O<br />

O O O<br />

O O O<br />

O M O<br />

O O O<br />

O O O<br />

O M O<br />

O O O<br />

O M O<br />

O M O<br />

O O O<br />

M O M<br />

O O N/A<br />

M M M<br />

M M M<br />

M M M


Field Name Data Type Data Size Description<br />

The Quantity sold. Up <strong>to</strong> 4 decimals<br />

VI AX MC<br />

Quantity Numeric N/A maximum.<br />

Example “4.52”<br />

The TAX rate charged. Must be<br />

recognized/valid value for target<br />

M M M<br />

VATRate Numeric N/A financial institution. Up <strong>to</strong> 2<br />

decimals maximum.<br />

Example “17.5”<br />

Discount amount of individual line<br />

item. Up <strong>to</strong> 4 decimals maximum.<br />

M O M<br />

LineItemDiscountA<br />

mount<br />

Numeric N/A<br />

Decimal varies based on<br />

CurrencyId.<br />

Example 840 - $USD “56.78”, 392<br />

- $JPY “99”, 048 - $BHD<br />

“125.333”<br />

Amount of line item. Up <strong>to</strong> 4<br />

decimals maximum. Decimal varies<br />

O O O<br />

LineItemNetAmoun<br />

t<br />

Numeric N/A<br />

based on CurrencyId.<br />

Example 840 - $USD “56.78”, 392<br />

- $JPY “99”, 048 - $BHD<br />

“125.333”<br />

Tax amount of line item. Up <strong>to</strong> 4<br />

decimals maximum. Decimal varies<br />

M M M<br />

LineItemTAXAmount Numeric N/A<br />

based on CurrencyId.<br />

Example 840 - $USD “56.78”, 392<br />

- $JPY “99”, 048 - $BHD<br />

“125.333”<br />

Cryp<strong>to</strong>gram data as a hexadecimal<br />

value.<br />

Example “FF1C2DEE3B9A6D1F”<br />

Note: Manda<strong>to</strong>ry when TRXSource<br />

M M M<br />

ICCCryp<strong>to</strong>gram Alphanumeric 16 = 9.<br />

Note: Not required for down graded<br />

ICC transactions.<br />

Note: Not required if submitted<br />

during Authorisation request.<br />

Short description appearing on<br />

shopper’s credit card statement.<br />

O O O<br />

NarrativeStatement<br />

1<br />

Alphanumeric 50<br />

(Line 1)<br />

Example “Online clothing s<strong>to</strong>re.”<br />

Note: Size varies depending on<br />

financial institution.<br />

Short description appearing on<br />

shopper’s credit card statement.<br />

O O O<br />

NarrativeStatement<br />

2<br />

Alphanumeric 50<br />

(Line 2)<br />

Example “Jean pants.”<br />

Note: Size varies depending on<br />

financial institution.<br />

O O O<br />

115


STLink will return the following items for a PaymentTrust Deposit<br />

(Settlement) Request (PT)(D) for PURCHASING CARDS<br />

Field Name Data Type Data Size Description<br />

MerchantId Numeric N/A<br />

Permanent Merchant ID assigned by PaymentTrust Ltd.<br />

Example “100000”<br />

<strong>Transaction</strong>Type Alpha 2 <strong>Transaction</strong> Type, “PT” for PaymentTrust<br />

Order number submitted by the Merchant or a number<br />

OrderNumber Alphanumeric 35<br />

generated by PaymentTrust Ltd. if order number was not<br />

specified.<br />

Example “10098987”<br />

StrId Numeric N/A Reference Number from STLink<br />

Reference Number from PaymentTrust system generated<br />

with Auth response<br />

PTTID or PTID Numeric N/A Example “10003606”<br />

Note: If the version is less than 2.0, PTTID is returned. If not<br />

PTID is returned.<br />

ISO standard numeric ids<br />

CurrencyId Numeric N/A Example 840 = USD, 124 = CAD, 826 = GBP<br />

Note: Please see Appendix B for complete list of values.<br />

<strong>Transaction</strong> amount. Up <strong>to</strong> 4 decimals maximum. Decimal<br />

Amount Numeric N/A varies based on CurrencyId.<br />

Example 840 = “56.78”, 392 = “99”, 048 = “125.333”<br />

Account type.<br />

CC - Visa & MasterCard debit & credit cards, Carte<br />

Bancaire, Carte Bleue<br />

DS - Switch/Solo debit cards<br />

CQ - Cheques<br />

MOP Alpha 2<br />

EC - Electronic cheques or credit<br />

DC - Debit Card PIN enabled cards<br />

PC - Purchasing cards<br />

NT - Net Teller<br />

P2 – Pay 2<br />

Example: “PC”<br />

RequestType Alpha 1 ‘D’ Deposit (Settlement)<br />

MessageCode Numeric N/A<br />

Example “2050”<br />

Note: Please see Appendix C for complete list of Results<br />

Message Alphanumeric 60<br />

Note: Please see Appendix C for complete list of Response<br />

Messages<br />

116


PaymentTrust Simultaneous Authorization and Settlement (Sale)<br />

Request (PT)(S) for PURCHASING CARDS (VISA, AMEX, MASTER<br />

CARD)<br />

VI = Visa, AX = Amex, MC = Master Card, O = Optional Fields, M = Manda<strong>to</strong>ry Fields<br />

Field Name Data Type Data Size Description<br />

Must be at beginning of all strings.<br />

VI AX MC<br />

StringIn= N/A N/A<br />

Capitals must be used as shown.<br />

Note: Not required for XML batch<br />

requests.<br />

Version Used specific <strong>to</strong><br />

M M M<br />

VersionUsed Alphanumeric 4 <strong>Transaction</strong> Type<br />

Example “1” for PT<br />

Permanent Merchant ID assigned<br />

M M M<br />

MerchantId Numeric N/A by PaymentTrust Ltd.<br />

Example “100000”<br />

UserName assigned by<br />

M M M<br />

UserName Alphanumeric 15 PaymentTrust Ltd.<br />

Example “Mariah”<br />

UserPassword assigned by<br />

M M M<br />

UserPassword Alphanumeric 15 PaymentTrust Ltd.<br />

Example “rr87uy”<br />

M M M<br />

<strong>Transaction</strong>Type Alphanumeric 2<br />

<strong>Transaction</strong> Type, “PT” for<br />

PaymentTrust<br />

M M M<br />

IsTest Numeric 1<br />

''1' for "Test", '0' for "Live",<br />

Note: Defaults <strong>to</strong> 0 if left blank<br />

O O O<br />

RequestType Alphanumeric 1<br />

‘S’ Sale or Simultaneous<br />

Authorization and Deposit.<br />

For use <strong>to</strong> differentiate between<br />

S<strong>to</strong>res. Permanent S<strong>to</strong>re ID<br />

M M M<br />

S<strong>to</strong>reID Alphanumeric 10 assigned by PaymentTrust Ltd. or<br />

Merchant if left blank<br />

Example “100000”<br />

Account type.<br />

CC - Visa & MasterCard debit &<br />

credit cards, Carte Bancaire,<br />

Carte Bleue<br />

DS - Switch/Solo debit cards<br />

CQ - Cheques<br />

O O O<br />

MOP Alpha 2<br />

EC - Electronic cheques or<br />

credit<br />

DC - Debit Card PIN enabled<br />

cards<br />

PC - Purchasing cards<br />

NT - Net Teller<br />

P2 – Pay 2<br />

Example: “PC”<br />

M M M<br />

117


Field Name Data Type Data Size Description<br />

Indicates the method used <strong>to</strong><br />

receive the CreditCard information.<br />

VI AX MC<br />

TRXSource Numeric N/A<br />

Track2Data Alphanumeric 100<br />

OrderNumber Alphanumeric 35<br />

AcctName Alphanumeric 60<br />

AcctNumber Numeric N/A<br />

ExpDate Numeric N/A<br />

CurrencyId Numeric N/A<br />

Amount Numeric N/A<br />

118<br />

1 - Swiped with a Card Present<br />

2 - Keyed by merchant with a Card<br />

present<br />

3 - Mail Order Telephone Order<br />

MOTO (Card Not Present)<br />

4 - Web orders (Card not<br />

present)<br />

5 – Web orders (Card not present,<br />

e-mail not present)<br />

9 – Integrated Circuit Card<br />

Note: Defaults <strong>to</strong> the Merchant default<br />

value during set-up.<br />

Note: Manda<strong>to</strong>ry for ICC transactions.<br />

Indicates swipe information from the<br />

Track2data of the Card when the<br />

TRXSource is 1 (Swiped with a<br />

Card Present)<br />

Example:<br />

“;4459510002561039=0910000000000<br />

0000000?”<br />

Note: This becomes a manda<strong>to</strong>ry<br />

field when TRXSource = 1<br />

Specific Order number submitted by<br />

the Merchant for tracking purposes.<br />

Example “10098987”<br />

Note: If no order number is submitted<br />

the system will generate one for the<br />

merchant at the time of the transaction.<br />

Account holder name on card or<br />

account<br />

Example “John Smith 3 rd ”<br />

Credit card number, Debit Card<br />

number, Purchase Card number,<br />

Bank account number, or any other<br />

applicable Bank Identifier.<br />

Example “4459510002561039”<br />

Note: This field is not required<br />

when TRXSource is 1<br />

Expiry date for credit card in<br />

MMYYYY format<br />

Example “092010”<br />

Note: Manda<strong>to</strong>ry for CC, PC and<br />

DS MOP types.<br />

ISO standard numeric ids<br />

Example 840 = USD, 124 = CAD,<br />

826 = GBP<br />

Note: Please see Appendix B for<br />

complete list of values.<br />

<strong>Transaction</strong> amount. Up <strong>to</strong> 4<br />

decimals maximum. Decimal varies<br />

based on CurrencyId.<br />

Example 840 = “56.78”, 392 =<br />

“99”, 048 = “125.333”<br />

O O O<br />

O M O<br />

O M O<br />

O O O<br />

M O M<br />

O O O<br />

M M M<br />

M M M


Field Name Data Type Data Size Description<br />

This field is used <strong>to</strong> s<strong>to</strong>re additional<br />

VI AX MC<br />

Cus<strong>to</strong>merReference1 Alphanumeric 20 cus<strong>to</strong>mer reference numbers.<br />

Example “3465456”<br />

This field is used <strong>to</strong> s<strong>to</strong>re additional<br />

N/A O N/A<br />

Cus<strong>to</strong>merReference2 Alphanumeric 20 cus<strong>to</strong>mer reference numbers.<br />

Example “3465456”<br />

This field is used <strong>to</strong> s<strong>to</strong>re additional<br />

O O O<br />

Cus<strong>to</strong>merReference3 Alphanumeric 20 cus<strong>to</strong>mer reference numbers.<br />

Example “3465456”<br />

O O O<br />

MerchantVATNumber Alphanumeric 20<br />

This is the Merchant’s VAT number.<br />

Example “XTY99BN3465456”<br />

This is the Cus<strong>to</strong>mer’s VAT<br />

number.<br />

M M M<br />

Cus<strong>to</strong>merVATNumber Alphanumeric 20 Example “XTY99BN3465456”<br />

Note: Manda<strong>to</strong>ry only for crossborder<br />

transactions.<br />

The <strong>to</strong>tal discount amount of all line<br />

items. Up <strong>to</strong> 4 decimals maximum.<br />

Decimal varies based on<br />

O O O<br />

TotalDiscountAmount Numeric N/A CurrencyId.<br />

Example 840 - $USD “56.78”, 392<br />

- $JPY “99”, 048 - $BHD<br />

“125.333”<br />

VAT Rate for freight/shipping<br />

O O O<br />

ShippingVATRate Numeric N/A amount. Up <strong>to</strong> 2 decimals.<br />

Example “3.40”<br />

Total amount for shipping line<br />

items. Up <strong>to</strong> 4 decimals maximum.<br />

Decimal varies based on<br />

O O N/A<br />

TotalShippingAmount Numeric N/A CurrencyId.<br />

Example 840 - $USD “56.78”, 392<br />

- $JPY “99”, 048 - $BHD<br />

“125.333”<br />

The <strong>to</strong>tal tax amount of all line<br />

items. Up <strong>to</strong> 4 decimals maximum.<br />

Decimal varies based on<br />

O O O<br />

TotalTAXAmount Numeric N/A CurrencyId.<br />

Example 840 - $USD “56.78”, 392<br />

- $JPY “99”, 048 - $BHD<br />

“125.333”<br />

M O M<br />

Title Alphanumeric 20<br />

Billing contact Title<br />

Example “Sir”<br />

O O O<br />

Company Alphanumeric 60<br />

Billing contact company<br />

Example “PaymentTrust Ltd.”<br />

O O O<br />

FirstName Alphanumeric 60<br />

Billing contact First Name<br />

Example “John”<br />

O O O<br />

MiddleName Alphanumeric 60 Billing contact Middle Name O O O<br />

LastName Alphanumeric 60<br />

Billing contact Last Name<br />

Example “Smith”<br />

O O O<br />

Suffix Alphanumeric 20<br />

Billing contact suffix<br />

Example “ 3 rd ”<br />

Billing contact Address line 1<br />

O O O<br />

Address1 Alphanumeric 60 Example “2130 Gold”<br />

Note: Required for AVS<br />

O O O<br />

Address2 Alphanumeric 60<br />

Billing contact Address line 2<br />

Example “Suite101”<br />

O O O<br />

119


Field Name Data Type Data Size Description VI AX MC<br />

Address3 Alphanumeric 60 Billing contact Address line 3<br />

Billing contact City<br />

O O O<br />

City Alphanumeric 60 Example “New York”<br />

Note: Required for AVS<br />

The billing information state based<br />

on the two-character long ISO<br />

codes. This is a manda<strong>to</strong>ry field for<br />

North America only. The remaining<br />

O O O<br />

StateCode Alphanumeric 60 world regions /Provinces may use<br />

this as an Optional field.<br />

Example “NY”<br />

Note: Required for AVS<br />

Note: Please See Appendix E for<br />

complete list of values<br />

Billing contact ZIP / Postal Code<br />

O O O<br />

ZipCode Alphanumeric 30 Example “90210”<br />

Note: Required for AVS<br />

Billing contact ISO Country Code<br />

O O O<br />

Example “US”<br />

CountryCode Alpha 2 Note: Required for AVS<br />

Note: Please See Appendix D for<br />

complete list of values<br />

Billing contact Phone Number, only<br />

O O O<br />

PhoneNumber Alphanumeric 30 digits, no parentheses<br />

Example “6188565656”<br />

O O O<br />

PhoneExtension Alphanumeric 10<br />

Billing contact Phone Extension<br />

Example “5654”<br />

O O O<br />

Email Alphanumeric 50<br />

Billing contact Email address<br />

Example “johns@aol.com”<br />

O O O<br />

ShipToTitle Alphanumeric 20<br />

Ship <strong>to</strong> contact Title<br />

Example “Sir”<br />

O O O<br />

ShipToCompany Alphanumeric 60<br />

Ship <strong>to</strong> contact company<br />

Example “PaymentTrust Ltd.”<br />

O O O<br />

ShipToFirstName Alphanumeric 60<br />

Ship <strong>to</strong> contact First Name<br />

Example “John”<br />

O O O<br />

ShipToMiddleName Alphanumeric 60 Ship <strong>to</strong> contact Middle Name O O O<br />

ShipToLastName Alphanumeric 60<br />

Ship <strong>to</strong> contact Last Name<br />

Example “Smith”<br />

O O O<br />

ShipToSuffix Alphanumeric 20<br />

Ship <strong>to</strong> contact suffix<br />

Example “ 3 rd ”<br />

O O O<br />

ShipToAddress1 Alphanumeric 60<br />

Ship <strong>to</strong> contact Address line 1<br />

Example “2130 Gold”<br />

O O O<br />

ShipToAddress2 Alphanumeric 60<br />

Ship <strong>to</strong> contact Address line 2<br />

Example “Suite101”<br />

O O O<br />

ShipToAddress3 Alphanumeric 60 Ship <strong>to</strong> contact Address line 3 O O O<br />

ShipToCity Alphanumeric 60<br />

Ship <strong>to</strong> contact City<br />

Example “New York”<br />

Ship <strong>to</strong> contact state code, twocharacter<br />

long ISO code required<br />

for North America. Remaining<br />

O O O<br />

ShipToStateCode Alphanumeric 30<br />

Region and Provinces may use free<br />

form field or leave it blank.<br />

Example “NY”<br />

Note: Please See Appendix E for<br />

complete list of values<br />

O O O<br />

120


Field Name Data Type Data Size Description VI AX MC<br />

ShipToZipCode Alphanumeric 30<br />

Ship <strong>to</strong> contact ZIP / Postal Code<br />

Example “90210”<br />

Ship <strong>to</strong> contact ISO Country Code,<br />

list will be provided by<br />

O O O<br />

ShipToCountryCod<br />

e<br />

Alpha 2<br />

PaymentTrust Ltd.<br />

Example “US”<br />

Note: Please See Appendix D for<br />

complete list of values<br />

O O O<br />

ShipToPhoneNumb<br />

er<br />

Alphanumeric 30<br />

Ship <strong>to</strong> contact Phone Number, only<br />

digits, no parentheses<br />

EXAMPLE “6188565656”<br />

O O O<br />

ShipToPhoneExtensi<br />

on<br />

Alphanumeric 10<br />

Ship <strong>to</strong> contact Phone Extension<br />

Example “5654”<br />

O O O<br />

ShipFromAddress1 Alphanumeric 60<br />

Ship from contact Address line 1.<br />

Example “2130 Gold”<br />

O M O<br />

ShipFromAddress2 Alphanumeric 60<br />

Ship from contact Address line 2<br />

Example “Suite101”<br />

O O O<br />

ShipFromAddress3 Alphanumeric 60<br />

Ship from contact Address line 2<br />

Example “ BLK 56”<br />

O O O<br />

ShipFromCity Alphanumeric 60<br />

Ship from contact City<br />

Example “New York”<br />

Ship from contact state code, twocharacter<br />

long ISO code required<br />

for North America. Remaining<br />

O M O<br />

ShipFromStateCode Alphanumeric 30<br />

Regions and Provinces may use<br />

free form field<br />

Example “NY”<br />

Note: Please See Appendix E for<br />

complete list of values<br />

O O O<br />

ShipFromZipCode Alphanumeric 30<br />

Ship from contact ZIP / Postal Code<br />

Example “90210”<br />

Ship from contact ISO Country<br />

Code.<br />

O M O<br />

ShipFromCountryCode Alpha 2 Example “US”<br />

Note: Please See Appendix D for<br />

complete list of values<br />

Ship from contact Phone Number,<br />

O M O<br />

ShipFromPhoneNumber Numeric 30<br />

only digits, no parentheses or<br />

dashes.<br />

Example “6188565656”<br />

The commodity code that the<br />

product is associated with.<br />

O O O<br />

CommodityCode Alphanumeric 10 Example “6400”<br />

Note: Please See Appendix F for<br />

complete list of values<br />

M O M<br />

ProductCode Alphanumeric 30<br />

The code of the product.<br />

Example “ZZZ90210”<br />

O O O<br />

ProductDescription Alphanumeric 50<br />

The Description of the product.<br />

Example “ACME Super Glue”<br />

The unit of measure used <strong>to</strong> price<br />

M M M<br />

UnitOfMeasure Alphanumeric 12 this specific product.<br />

Example “Kgs”<br />

M M M<br />

121


Field Name Data Type Data Size Description<br />

Amount of individual unit. Up <strong>to</strong> 4<br />

decimals maximum. Decimal varies<br />

VI AX MC<br />

UnitCost Numeric N/A<br />

based on CurrencyId.<br />

Example 840 - $USD “56.78”, 392<br />

- $JPY “99”, 048 - $BHD<br />

“125.333”<br />

The Quantity sold. Up <strong>to</strong> 4 decimals<br />

M M M<br />

Quantity Numeric N/A maximum.<br />

Example “4.52”<br />

The TAX rate charged. Must be<br />

recognized/valid value for target<br />

M M M<br />

VATRate Numeric N/A financial institution. Up <strong>to</strong> 2<br />

decimals maximum.<br />

Example “17.5”<br />

Discount amount of individual line<br />

item. Up <strong>to</strong> 4 decimals maximum.<br />

M O M<br />

LineItemDiscountA<br />

mount<br />

Numeric N/A<br />

Decimal varies based on<br />

CurrencyId.<br />

Example 840 - $USD “56.78”, 392<br />

- $JPY “99”, 048 - $BHD<br />

“125.333”<br />

Amount of line item. Up <strong>to</strong> 4<br />

decimals maximum. Decimal varies<br />

O O O<br />

LineItemNetAmoun<br />

t<br />

Numeric N/A<br />

based on CurrencyId.<br />

Example 840 - $USD “56.78”, 392<br />

- $JPY “99”, 048 - $BHD<br />

“125.333”<br />

Tax amount of line item. Up <strong>to</strong> 4<br />

decimals maximum. Decimal varies<br />

M M M<br />

LineItemTAXAmount Numeric N/A<br />

based on CurrencyId.<br />

Example 840 - $USD “56.78”, 392<br />

- $JPY “99”, 048 - $BHD<br />

“125.333”<br />

Reference Number from 3D <strong>Secure</strong><br />

system generated with Verify<br />

Enrollment response.<br />

M M M<br />

SVID Numeric N/A Example “10003606”<br />

Note: If submitted PaymentTrust<br />

will reference the 3D <strong>Secure</strong> system<br />

<strong>to</strong> determine liability shift.<br />

Electronic Commerce Indica<strong>to</strong>r as<br />

returned from the 3D <strong>Secure</strong> MPI<br />

O N/A O<br />

ECI Numeric 2 response.<br />

Note: For 3D <strong>Secure</strong> enabled<br />

transactions submit when available.<br />

The specific transaction identifier<br />

that was submitted <strong>to</strong> the MPI<br />

O N/A O<br />

<strong>Secure</strong>Id Alphanumeric 20 during 3D <strong>Secure</strong> authentication.<br />

Note: For 3D <strong>Secure</strong> enabled<br />

transactions submit when available.<br />

Cardholder Authentication Value as<br />

returned from the 3D <strong>Secure</strong> MPI<br />

O N/A O<br />

CAV Alphanumeric 50 response.<br />

Note: For 3D <strong>Secure</strong> enabled<br />

transactions submit when available.<br />

O N/A O<br />

122


Field Name Data Type Data Size Description<br />

Enrollment status used <strong>to</strong> determine<br />

liability shift as returned from the 3D<br />

VI AX MC<br />

CHEnrolled Alpha 1 <strong>Secure</strong> MPI response.<br />

Note: For 3D <strong>Secure</strong> enabled<br />

transactions submit when available.<br />

Authentication status used <strong>to</strong><br />

determine liability shift as returned<br />

O N/A O<br />

TXStatus Alpha 1 from the 3D <strong>Secure</strong> MPI response.<br />

Note: For 3D <strong>Secure</strong> enabled<br />

transactions submit when available.<br />

Short description appearing on<br />

shopper’s credit card statement.<br />

O N/A O<br />

NarrativeStatement<br />

1<br />

Alphanumeric 50<br />

(Line 1)<br />

Example “Online clothing s<strong>to</strong>re.”<br />

Note: Size varies depending on<br />

financial institution.<br />

Short description appearing on<br />

shopper’s credit card statement.<br />

O O O<br />

NarrativeStatement<br />

2<br />

Alphanumeric 50<br />

(Line 2)<br />

Example “Jean pants.”<br />

Note: Size varies depending on<br />

financial institution.<br />

O O O<br />

STLink will return the following items for a PaymentTrust<br />

Simultaneous Authorization and Settlement (Sale) Request (PT)(S) for<br />

PURCHASING CARDS<br />

Field Name Data Type Data Size Description<br />

MerchantId Numeric N/A<br />

Permanent Merchant ID assigned by PaymentTrust Ltd.<br />

Example “100000”<br />

<strong>Transaction</strong>Type Alpha 2 <strong>Transaction</strong> Type, “PT” for PaymentTrust<br />

Order number submitted by the Merchant or a number<br />

OrderNumber Alphanumeric 35<br />

generated by PaymentTrust Ltd. if order number was not<br />

specified.<br />

Example “10098987”<br />

StrId Numeric N/A Reference Number from STLink<br />

Reference Number from PaymentTrust system generated<br />

with Auth response<br />

PTTID or PTID Numeric N/A Example “10003606”<br />

Note: If the version is less than 2.0, PTTID is returned. If not<br />

PTID is returned.<br />

Account type.<br />

CC - Visa & MasterCard debit & credit cards, Carte<br />

Bancaire, Carte Bleue<br />

DS - Switch/Solo debit cards<br />

CQ - Cheques<br />

MOP Alpha 2<br />

EC - Electronic cheques or credit<br />

DC - Debit Card PIN enabled cards<br />

PC - Purchasing cards<br />

NT - Net Teller<br />

P2 – Pay 2<br />

Example: “PC”<br />

123


Field Name Data Type Data Size Description<br />

ISO standard numeric ids<br />

CurrencyId Numeric N/A Example 840 = USD, 124 = CAD, 826 = GBP<br />

Note: Please see Appendix B for complete list of values.<br />

<strong>Transaction</strong> amount. Up <strong>to</strong> 4 decimals maximum. Decimal<br />

Amount Numeric N/A varies based on CurrencyId.<br />

Example 840 = “56.78”, 392 = “99”, 048 = “125.333”<br />

RequestType Alpha 1 ‘S’ Sale or Simultaneous Authorization and Deposit.<br />

MessageCode Numeric N/A<br />

Example “2050”<br />

Note: Please see Appendix C for complete list of Results<br />

Message Alphanumeric 60<br />

Note: Please see Appendix C for complete list of Response<br />

Messages<br />

124


PaymentTrust Refund Request (PT)(R) for PURCHASING CARDS<br />

(VISA, AMEX, MASTER CARD)<br />

As noted before a Refund request marks a previously authorized and settled transaction for return of<br />

funds <strong>to</strong> the purchaser’s account. The amount refunded can be the whole order amount or a less than the<br />

<strong>to</strong>tal.<br />

Important Note: A merchant cannot issue a refund in excess of the <strong>to</strong>tal amount deposited for an order<br />

and must include the line items details as with a deposit (Settlement).<br />

Under the Refund request for Purchasing Cards Merchants are also required <strong>to</strong> include certain Tax and<br />

line item information on a per <strong>Transaction</strong> basis. All these <strong>Transaction</strong>s along with the line details can be<br />

placed in a single XML request.<br />

Please note that this Request Type when used with Purchasing Cards can only be submitted via Batch. In<br />

the same batch, Refund (R) requests may also be placed along side Deposit request. As long as<br />

Deposits of the same day are not refunded in the same batch file. For more on Batch submissions please<br />

refer <strong>to</strong> the XML definitions in section 6.3 of this document.<br />

VI = Visa, AX = Amex, MC = Master Card, O = Optional Fields, M = Manda<strong>to</strong>ry Fields<br />

Field Name Data Type Data Size Description<br />

Must be at beginning of all strings.<br />

VI AX MC<br />

StringIn= N/A N/A<br />

Capitals must be used as shown.<br />

Note: Not required for XML batch<br />

requests.<br />

Version Used specific <strong>to</strong><br />

M M M<br />

VersionUsed Alphanumeric 4 <strong>Transaction</strong> Type<br />

Example “1” for PT<br />

Permanent Merchant ID assigned<br />

M M M<br />

MerchantId Numeric N/A by PaymentTrust Ltd.<br />

Example “100000”<br />

UserName assigned by<br />

M M M<br />

UserName Alphanumeric 15 PaymentTrust Ltd.<br />

Example “Mariah”<br />

UserPassword assigned by<br />

M M M<br />

UserPassword Alphanumeric 15 PaymentTrust Ltd.<br />

Example “rr87uy”<br />

M M M<br />

<strong>Transaction</strong>Type Alphanumeric 2<br />

<strong>Transaction</strong> Type, “PT” for<br />

PaymentTrust<br />

M M M<br />

IsTest Numeric 1<br />

''1' for "Test", '0' for "Live",<br />

Note: Defaults <strong>to</strong> 0 if left blank<br />

O O O<br />

RequestType Alphanumeric 1 ‘R’ Refund. M M M<br />

125


Field Name Data Type Data Size Description<br />

Indicates the method used <strong>to</strong><br />

receive the CreditCard information.<br />

VI AX MC<br />

TRXSource Numeric N/A<br />

Track2Data Alphanumeric 100<br />

OrderNumber Alphanumeric 35<br />

OrderReference Alphanumeric 20<br />

OrderDate Numeric 8<br />

CurrencyId Numeric N/A<br />

Amount Numeric N/A<br />

126<br />

1 - Swiped with a Card Present<br />

2 - Keyed by merchant with a Card<br />

present<br />

3 - Mail Order Telephone Order<br />

MOTO (Card Not Present)<br />

4 - Web orders (Card not<br />

present)<br />

5 – Web orders (Card not present,<br />

e-mail not present)<br />

9 – Integrated Circuit Card<br />

Note: Defaults <strong>to</strong> the Merchant default<br />

value during set-up.<br />

Note: Manda<strong>to</strong>ry for ICC transactions.<br />

Indicates swipe information from the<br />

Track2data of the Card when the<br />

TRXSource is 1 (Swiped with a<br />

Card Present)<br />

Example:<br />

“;4459510002561039=0910000000000<br />

0000000?”<br />

Note: This becomes a manda<strong>to</strong>ry<br />

field when TRXSource =1 or<br />

TRXSource = 9 for a down graded<br />

ICC transaction.<br />

Specific Order number submitted by<br />

the Merchant for tracking purposes.<br />

Example “10098987”<br />

Note: If no order number is<br />

submitted the system will generate<br />

one for the merchant at the time of<br />

the transaction.<br />

Specific Order Reference number<br />

submitted by the Merchant for<br />

tracking purposes.<br />

Example “E1009887BTHJ”<br />

The order Date in the format<br />

DDMMYYYY.<br />

Example “27032001”<br />

ISO standard numeric ids<br />

Example 840 = USD, 124 = CAD,<br />

826 = GBP<br />

Note: Please see Appendix B for<br />

complete list of values.<br />

<strong>Transaction</strong> amount. Up <strong>to</strong> 4<br />

decimals maximum. Decimal varies<br />

based on CurrencyId.<br />

Example 840 = “56.78”, 392 =<br />

“99”, 048 = “125.333”<br />

O O O<br />

O O O<br />

O O O<br />

O O O<br />

M M M<br />

M M M<br />

M M M


Field Name Data Type Data Size Description<br />

Reference Number from<br />

PaymentTrust system generated<br />

VI AX MC<br />

with Auth response<br />

PTTID or PTID Numeric N/A Example “10003606”<br />

Note: If the version is less than 2.0,<br />

PTTID is required. If not PTID is<br />

required.<br />

Invoice number submitted by the<br />

M M M<br />

InvoiceNumber Alphanumeric 12 Merchant for tracking purposes.<br />

Example “3465456”<br />

Invoice number submitted by the<br />

O O O<br />

OriginalInvoiceNumber Alphanumeric 15 Merchant during deposit.<br />

Example “3465456”<br />

The cus<strong>to</strong>mer’s number within the<br />

M M M<br />

Cus<strong>to</strong>merNumber Alphanumeric 12 merchant’s system.<br />

Example “46094586”<br />

This field is used <strong>to</strong> s<strong>to</strong>re additional<br />

O O O<br />

Cus<strong>to</strong>merReference1 Alphanumeric 20 cus<strong>to</strong>mer reference numbers.<br />

Example “3465456”<br />

This field is used <strong>to</strong> s<strong>to</strong>re additional<br />

N/A O N/A<br />

Cus<strong>to</strong>merReference2 Alphanumeric 20 cus<strong>to</strong>mer reference numbers.<br />

Example “3465456”<br />

This field is used <strong>to</strong> s<strong>to</strong>re additional<br />

O O O<br />

Cus<strong>to</strong>merReference3 Alphanumeric 20 cus<strong>to</strong>mer reference numbers.<br />

Example “3465456”<br />

O O O<br />

MerchantVATNumber Alphanumeric 20<br />

This is the Merchant’s VAT number.<br />

Example “XTY99BN3465456”<br />

This is the Cus<strong>to</strong>mer’s VAT<br />

number.<br />

M M O<br />

Cus<strong>to</strong>merVATNumber Alphanumeric 20 Example “XTY99BN3465456”<br />

Note: Manda<strong>to</strong>ry only for crossborder<br />

transactions.<br />

The <strong>to</strong>tal discount amount of all line<br />

items. Up <strong>to</strong> 4 decimals maximum.<br />

Decimal varies based on<br />

O O O<br />

TotalDiscountAmount Numeric N/A CurrencyId.<br />

Example 840 - $USD “56.78”, 392<br />

- $JPY “99”, 048 - $BHD<br />

“125.333”<br />

VAT Rate for freight/shipping<br />

O O O<br />

ShippingVATRate Numeric N/A amount. Up <strong>to</strong> 2 decimals.<br />

Example “3.40”<br />

Total amount for shipping line<br />

items. Up <strong>to</strong> 4 decimals maximum.<br />

Decimal varies based on<br />

O O N/A<br />

TotalShippingAmount Numeric N/A CurrencyId.<br />

Example 840 - $USD “56.78”, 392<br />

- $JPY “99”, 048 - $BHD<br />

“125.333”<br />

The <strong>to</strong>tal tax amount of all line<br />

items. Up <strong>to</strong> 4 decimals maximum.<br />

Decimal varies based on<br />

O O O<br />

TotalTAXAmount Numeric N/A CurrencyId.<br />

Example 840 - $USD “56.78”, 392<br />

- $JPY “99”, 048 - $BHD<br />

“125.333”<br />

M O M<br />

127


Field Name Data Type Data Size Description VI AX MC<br />

Title Alphanumeric 20<br />

Billing contact Title<br />

Example “Sir”<br />

O O O<br />

Company Alphanumeric 60<br />

Billing contact company<br />

Example “PaymentTrust Ltd.”<br />

O O O<br />

FirstName Alphanumeric 60<br />

Billing contact First Name<br />

Example “John”<br />

O O O<br />

MiddleName Alphanumeric 60 Billing contact Middle Name O O O<br />

LastName Alphanumeric 60<br />

Billing contact Last Name<br />

Example “Smith”<br />

O O O<br />

Suffix Alphanumeric 20<br />

Billing contact suffix<br />

Example “ 3 rd ”<br />

Billing contact Address line 1<br />

O O N/A<br />

Address1 Alphanumeric 60 Example “2130 Gold”<br />

Note: Required for AVS<br />

O O O<br />

Address2 Alphanumeric 60<br />

Billing contact Address line 2<br />

Example “Suite101”<br />

O O O<br />

Address3 Alphanumeric 60 Billing contact Address line 3<br />

Billing contact City<br />

O O O<br />

City Alphanumeric 60 Example “New York”<br />

Note: Required for AVS<br />

The billing information state based<br />

on the two-character long ISO<br />

codes. This is a manda<strong>to</strong>ry field for<br />

North America only. The remaining<br />

O O O<br />

StateCode Alphanumeric 60<br />

world regions /Provinces may use<br />

this as an Optional field.<br />

Example “NY”<br />

Note: Required for AVS<br />

Note: Please See Appendix E for<br />

complete list of values<br />

Billing contact ZIP / Postal Code<br />

O O O<br />

ZipCode Alphanumeric 30 Example “90210”<br />

Note: Required for AVS<br />

Billing contact ISO Country Code<br />

O O O<br />

Example “US”<br />

CountryCode Alpha 2 Note: Required for AVS<br />

Note: Please See Appendix D for<br />

complete list of values<br />

Billing contact Phone Number, only<br />

O O O<br />

PhoneNumber Alphanumeric 30 digits, no parentheses<br />

Example “6188565656”<br />

O O O<br />

PhoneExtension Alphanumeric 10<br />

Billing contact Phone Extension<br />

Example “5654”<br />

O O O<br />

Email Alphanumeric 50<br />

Billing contact Email address<br />

Example “johns@aol.com”<br />

O O O<br />

ShipToTitle Alphanumeric 20<br />

Ship <strong>to</strong> contact Title<br />

Example “Sir”<br />

O O O<br />

ShipToCompany Alphanumeric 60<br />

Ship <strong>to</strong> contact company<br />

Example “PaymentTrust Ltd.”<br />

O O O<br />

ShipToFirstName Alphanumeric 60<br />

Ship <strong>to</strong> contact First Name<br />

Example “John”<br />

O O O<br />

ShipToMiddleName Alphanumeric 60 Ship <strong>to</strong> contact Middle Name O O O<br />

ShipToLastName Alphanumeric 60<br />

Ship <strong>to</strong> contact Last Name<br />

Example “Smith”<br />

O O O<br />

ShipToSuffix Alphanumeric 20<br />

Ship <strong>to</strong> contact suffix<br />

Example “ 3 rd ”<br />

O O O<br />

128


Field Name Data Type Data Size Description VI AX MC<br />

ShipToAddress1 Alphanumeric 60<br />

Ship <strong>to</strong> contact Address line 1<br />

Example “2130 Gold”<br />

O O O<br />

ShipToAddress2 Alphanumeric 60<br />

Ship <strong>to</strong> contact Address line 2<br />

Example “Suite101”<br />

O O O<br />

ShipToAddress3 Alphanumeric 60 Ship <strong>to</strong> contact Address line 3 O O O<br />

ShipToCity Alphanumeric 60<br />

Ship <strong>to</strong> contact City<br />

Example “New York”<br />

Ship <strong>to</strong> contact state code, twocharacter<br />

long ISO code required<br />

for North America. Remaining<br />

O O O<br />

ShipToStateCode Alphanumeric 30<br />

Region and Provinces may use free<br />

form field or leave it blank.<br />

Example “NY”<br />

Note: Please See Appendix E for<br />

complete list of values<br />

O O O<br />

ShipToZipCode Alphanumeric 30<br />

Ship <strong>to</strong> contact ZIP / Postal Code<br />

Example “90210”<br />

Ship <strong>to</strong> contact ISO Country Code,<br />

list will be provided by<br />

O O O<br />

ShipToCountryCod<br />

e<br />

Alpha 2<br />

PaymentTrust Ltd.;<br />

Example “US”<br />

Note: Please See Appendix D for<br />

complete list of values<br />

O O O<br />

ShipToPhoneNumb<br />

er<br />

Alphanumeric 30<br />

Ship <strong>to</strong> contact Phone Number, only<br />

digits, no parentheses<br />

EXAMPLE “6188565656”<br />

O O O<br />

ShipToPhoneExtensi<br />

on<br />

Alphanumeric 10<br />

Ship <strong>to</strong> contact Phone Extension<br />

Example “5654”<br />

O O O<br />

ShipFromAddress1 Alphanumeric 60<br />

Ship from contact Address line 1.<br />

Example “2130 Gold”<br />

O M O<br />

ShipFromAddress2 Alphanumeric 60<br />

Ship from contact Address line 2<br />

Example “Suite101”<br />

O O O<br />

ShipFromAddress3 Alphanumeric 60<br />

Ship from contact Address line 2<br />

Example “ BLK 56”<br />

O O O<br />

ShipFromCity Alphanumeric 60<br />

Ship from contact City<br />

Example “New York”<br />

Ship from contact state code, twocharacter<br />

long ISO code required<br />

for North America. Remaining<br />

O M O<br />

ShipFromStateCode Alphanumeric 30<br />

Regions and Provinces may use<br />

free form field<br />

Example “NY”<br />

Note: Please See Appendix E for<br />

complete list of values<br />

O O O<br />

ShipFromZipCode Alphanumeric 30<br />

Ship from contact ZIP / Postal Code<br />

Example “90210”<br />

Ship from contact ISO Country<br />

Code.<br />

O M O<br />

ShipFromCountryCode Alpha 2 Example “US”<br />

Note: Please See Appendix D for<br />

complete list of values<br />

Ship from contact Phone Number,<br />

O M O<br />

ShipFromPhoneNumber Numeric 30<br />

only digits, no parentheses or<br />

dashes.<br />

Example “6188565656”<br />

O O O<br />

129


Field Name Data Type Data Size Description<br />

The commodity code that the<br />

product is associated with.<br />

VI AX MC<br />

CommodityCode Alphanumeric 10 Example “6400”<br />

Note: Please See Appendix F for<br />

complete list of values<br />

M O O<br />

ProductCode Alphanumeric 30<br />

The code of the product.<br />

Example “ZZZ90210”<br />

O O O<br />

ProductDescription Alphanumeric 50<br />

The Description of the product.<br />

Example “ACME Super Glue”<br />

The unit of measure used <strong>to</strong> price<br />

M M M<br />

UnitOfMeasure Alphanumeric 12 this specific product.<br />

Example “Kgs”<br />

Amount of individual unit. Up <strong>to</strong> 4<br />

decimals maximum. Decimal varies<br />

M M M<br />

UnitCost Numeric N/A<br />

based on CurrencyId.<br />

Example 840 - $USD “56.78”, 392<br />

- $JPY “99”, 048 - $BHD<br />

“125.333”<br />

The Quantity sold. Up <strong>to</strong> 4 decimals<br />

M M M<br />

Quantity Numeric N/A maximum.<br />

Example “4.52”<br />

The TAX rate charged. Must be<br />

recognized/valid value for target<br />

M M M<br />

VATRate Numeric N/A financial institution. Up <strong>to</strong> 2<br />

decimals maximum.<br />

Example “17.5”<br />

Discount amount of individual line<br />

item. Up <strong>to</strong> 4 decimals maximum.<br />

M O M<br />

LineItemDiscountA<br />

mount<br />

Numeric N/A<br />

Decimal varies based on<br />

CurrencyId.<br />

Example 840 - $USD “56.78”, 392<br />

- $JPY “99”, 048 - $BHD<br />

“125.333”<br />

Amount of line item. Up <strong>to</strong> 4<br />

decimals maximum. Decimal varies<br />

O O O<br />

LineItemNetAmoun<br />

t<br />

Numeric N/A<br />

based on CurrencyId.<br />

Example 840 - $USD “56.78”, 392<br />

- $JPY “99”, 048 - $BHD<br />

“125.333”<br />

Tax amount of line item. Up <strong>to</strong> 4<br />

decimals maximum. Decimal varies<br />

M M M<br />

LineItemTAXAmount Numeric N/A<br />

based on CurrencyId.<br />

Example 840 - $USD “56.78”, 392<br />

- $JPY “99”, 048 - $BHD<br />

“125.333”<br />

Short description appearing on<br />

shopper’s credit card statement.<br />

M M M<br />

NarrativeStatement<br />

1<br />

Alphanumeric 50<br />

(Line 1)<br />

Example “Online clothing s<strong>to</strong>re.”<br />

Note: Size varies depending on<br />

financial institution.<br />

O O O<br />

130


Field Name Data Type Data Size Description VI AX MC<br />

NarrativeStatement<br />

2<br />

131<br />

Alphanumeric 50<br />

Short description appearing on<br />

shopper’s credit card statement.<br />

(Line 2)<br />

Example “Jean pants.”<br />

Note: Size varies depending on<br />

financial institution.<br />

O O O


STLink will return the following items for a PaymentTrust Refund<br />

Request (PT)(R) for PURCHASING CARDS<br />

Field Name Data Type Data Size Description<br />

MerchantId Numeric N/A<br />

Permanent Merchant ID assigned by PaymentTrust Ltd.<br />

Example “100000”<br />

<strong>Transaction</strong>Type Alpha 2 <strong>Transaction</strong> Type, “PT” for PaymentTrust<br />

Order number submitted by the Merchant or a number<br />

OrderNumber Alphanumeric 35<br />

generated by PaymentTrust Ltd. if order number was not<br />

specified.<br />

Example “10098987”<br />

StrId Numeric N/A Reference Number from STLink<br />

Reference Number from PaymentTrust system generated<br />

with Auth response<br />

PTTID or PTID Numeric N/A Example “10003606”<br />

Note: If the version is less than 2.0, PTTID is returned. If not<br />

PTID is returned.<br />

ISO standard numeric ids<br />

CurrencyId Numeric N/A Example 840 = USD, 124 = CAD, 826 = GBP<br />

Note: Please see Appendix B for complete list of values.<br />

<strong>Transaction</strong> amount. Up <strong>to</strong> 4 decimals maximum. Decimal<br />

Amount Numeric N/A varies based on CurrencyId.<br />

Example 840 = “56.78”, 392 = “99”, 048 = “125.333”<br />

Account type.<br />

CC - Visa & MasterCard debit & credit cards, Carte<br />

Bancaire, Carte Bleue<br />

DS - Switch/Solo debit cards<br />

CQ - Cheques<br />

MOP Alpha 2<br />

EC - Electronic cheques or credit<br />

DC - Debit Card PIN enabled cards<br />

PC - Purchasing cards<br />

NT - Net Teller<br />

P2 – Pay 2<br />

Example: “PC”<br />

RequestType Alpha 1 ‘R’ Refund.<br />

MessageCode Numeric N/A<br />

Example “2050”<br />

Note: Please see Appendix C for complete list of Results<br />

Message Alphanumeric 60<br />

Note: Please see Appendix C for complete list of Response<br />

Messages<br />

132


3D <strong>Secure</strong> Requests<br />

3D <strong>Secure</strong> Verify Enrollment Request (3D)(V)<br />

Field Name Data Type Data Size Description<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

StringIn= N/A N/A<br />

Must be at beginning of all strings. Capitals<br />

must be used as shown.<br />

Note: Not required for XML batch requests.<br />

Version Used specific <strong>to</strong> <strong>Transaction</strong> Type.<br />

M<br />

VersionUsed Alphanumeric 4<br />

Note: Must evaluate <strong>to</strong> numeric value for<br />

3D <strong>Secure</strong>.<br />

Example “1” for 3D<br />

Permanent Merchant ID assigned by<br />

M<br />

MerchantId Numeric N/A PaymentTrust Ltd.<br />

Example “100000”<br />

M<br />

UserName Alphanumeric 15<br />

UserName assigned by PaymentTrust Ltd.<br />

Example “Mariah”<br />

UserPassword assigned by PaymentTrust<br />

M<br />

UserPassword Alphanumeric 15 Ltd.<br />

Example “rr87uy”<br />

M<br />

<strong>Transaction</strong>Type Alphanumeric 2 <strong>Transaction</strong> Type, “3D” for 3D <strong>Secure</strong>. M<br />

IsTest Numeric 1<br />

''1” for "Test", “0” for "Live",<br />

Note: Defaults <strong>to</strong> 0 if left blank.<br />

Indicates the maximum time the merchant<br />

O<br />

TimeOut Numeric N/A allows for the transaction, in milliseconds.<br />

Recommendation “60000”<br />

For use <strong>to</strong> differentiate between Merchants<br />

M<br />

S<strong>to</strong>reID Alphanumeric 10<br />

or S<strong>to</strong>res. Permanent S<strong>to</strong>re ID assigned by<br />

PaymentTrust Ltd. or Merchant if left blank<br />

Example “100000”<br />

O<br />

RequestType Alphanumeric 1 ‘V’ Verify Enrollment<br />

Specific Order number submitted by the<br />

M<br />

Merchant for tracking purposes.<br />

OrderNumber Alphanumeric<br />

35 Example “10098987”<br />

Note: If no order number is submitted the system<br />

will generate one for the merchant at the time of<br />

the transaction.<br />

O<br />

AcctNumber Numeric N/A<br />

Credit card number.<br />

Example “4459510002561039”<br />

Expiry date for credit card in MMYYYY<br />

M<br />

ExpDate Numeric N/A format.<br />

Example “092010”<br />

ISO standard numeric ids<br />

Example 840 = USD, 124 = CAD, 826 =<br />

M<br />

GBP<br />

CurrencyId Numeric N/A Note: Merchant default value is used as setup<br />

within the PaymentTrust Ltd. MPI.<br />

Note: Please see Appendix B for complete list of<br />

values.<br />

<strong>Transaction</strong> amount. Up <strong>to</strong> 4 decimals<br />

maximum. Decimal varies based on<br />

O<br />

Amount Numeric N/A CurrencyId.<br />

Example 840 = “56.78”, 392 = “99”, 048 =<br />

“125.333”<br />

M<br />

133


Field Name Data Type Data Size Description<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

<strong>Secure</strong>Id Alphanumeric 20<br />

A statistically unique transaction identifier. Later<br />

required for payment requests: Auth, Forced<br />

Auth, Sale and Forced Sale.<br />

Example “1AWH234KI56LI789LYGR”<br />

Note: Data size must be exactly 20.<br />

Note: Known as the 3D <strong>Secure</strong> XID.<br />

Note: If no <strong>Secure</strong>Id is submitted the system will<br />

generate one for the merchant at the time of the<br />

transaction.<br />

O<br />

PurchaseDesc Alphanumeric 125<br />

A brief description of items purchased.<br />

Example “A pair of pants”<br />

O<br />

Sample Input String:<br />

StringIn=VersionUsed^1~MerchantId^100000~UserName^Mariah~UserPassword^rr87uy~<strong>Transaction</strong>Type^3<br />

D~IsTest^1~TimeOut^60000~RequestType^V~AcctNumber^4779160330716625~ExpDate^092010~Amount^<br />

56.78<br />

STLink will return the following items for a 3D <strong>Secure</strong> Verify<br />

Enrollment Request (3D)(V)<br />

Field Name Data Type Data Size Description<br />

MerchantId Numeric N/A<br />

Permanent Merchant ID assigned by PaymentTrust Ltd..<br />

Example 100000<br />

<strong>Transaction</strong>Type Alpha 2 <strong>Transaction</strong> Type, “3D” for 3D <strong>Secure</strong>.<br />

Order number submitted by the Merchant or a number<br />

OrderNumber Alphanumeric 35<br />

generated by PaymentTrust Ltd. if order number was not<br />

specified.<br />

Example “10098987”<br />

StrId Numeric N/A Reference Number from STLink.<br />

Reference Number from 3D <strong>Secure</strong> system generated with<br />

SVID Numeric N/A Verify Enrollment response.<br />

Example “10003606”<br />

RequestType Alpha 1 'V' Verify Enrollment.<br />

<strong>Secure</strong>Id submitted by the Merchant or a number generated<br />

<strong>Secure</strong>Id Alphanumeric 20 by PaymentTrust Ltd. if <strong>Secure</strong>Id was not specified.<br />

Example “1AWH234KI56LI789LYGR”<br />

Enrollment status used <strong>to</strong> determine liability shift.<br />

CHEnrolled Alpha 1<br />

PaReq Alphanumeric 800<br />

134<br />

Y = Authentication Available. Cardholder Enrolled. URL of<br />

Issuer ACS is included in response.<br />

N = Cardholder Not Participating. Cardholder Not Enrolled.<br />

U = Unable <strong>to</strong> Authenticate.<br />

Base64 encoded message from the PaymentTrust Ltd. MPI.<br />

Must be sent <strong>to</strong> the cardholder’s issuer Access Control<br />

Server.


Field Name Data Type Data Size Description<br />

Fully qualified URL of cardholder’ s issuer Access Control Server.<br />

Note: This is the location where cardholders must be<br />

ACSURL Alphanumeric 255<br />

redirected <strong>to</strong> authenticate themselves.<br />

Example<br />

“https://acs.someissuer.com/0/xqkxnFYraaGvmWXNebF<br />

DmjUAAAA0”<br />

Indicates whether cardholder is enrolled (4050) or not<br />

MessageCode Numeric N/A<br />

enrolled (4200)<br />

Example “4050”<br />

Note: Please See Appendix C for complete list of Results<br />

Example “Cardholder enrolled”<br />

Message Alphanumeric 60 Note: Please See Appendix C for complete list of Response<br />

Messages<br />

Sample Response:<br />

MerchantId^100000~<strong>Transaction</strong>Type^3D~OrderNumber^10098987~StrId^121092~SVID^10064249~<br />

RequestType^V~<strong>Secure</strong>Id^1AWH234KI56LI789LYGR0~CHEnrolled^Y~PaReq^<br />

eJxVUsuSmzAQ/BWKe9CDxxrXWFvOEic+mDgJriRHBVSYzUpgIdbYXx/Jhmyi03TP1PRMj+BxlC/eq9B906q<br />

VTwLse0KVbdWoeuUfis27hf/IoDhqIbJvohy0YLATfc9r4TXVyt/zr+JESIQJjugiTGhKUhqmOKQEP8QkjKM4jn0<br />

G+7WtYzApMSsUUEAztC11eeTKMODl6f02ZxGhYRQDmiBIobcZu5HJwyLFU/pOg+JSsEL0xpsbAbpxULaD<br />

MvrCcJgAmgEM+oUdjemWCJ3P56Du+EUKZfqgbCUC5NKA3mbaDy7qbbuxqdiu2F7z7EDzax3vsg+X3fULyZ<br />

/L6HOxXgFyFVBxIxjFOMGUJB6Jl+FiiUNANx64dHOwFAcY2w3vCDonsp5TLvMvA9Z6bS8zbzIjEGPXKjs7s3<br />

b+jaESfcmeWtkNRmivbtuqD6y8YwG9rfP0yRleGuvhePo9qs1PzfnHV/n9Ry5+bTL5fFjb54a8Fzm1xrmZ4uQm<br />

5wAg1wZNF0bT77DRf7/mD/8CyVE=~ACSURL^<br />

https://acs.someissuer.com/0/xqkxnFYraaGvmWXNebFDmjUAAAA0~MessageCode^4050~Message~Cardh<br />

older enrolled<br />

3D <strong>Secure</strong> Authenticate Request (3D)(A)<br />

Field Name Data Type Data Size Description<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

StringIn= N/A N/A<br />

Must be at beginning of all strings. Capitals<br />

must be used as shown.<br />

Note: Not required for XML batch requests.<br />

Version Used specific <strong>to</strong> <strong>Transaction</strong> Type.<br />

M<br />

VersionUsed Alphanumeric 4<br />

Note: Must evaluate <strong>to</strong> numeric value for<br />

3D <strong>Secure</strong>.<br />

Example “1” for 3D<br />

Permanent Merchant ID assigned by<br />

M<br />

MerchantId Numeric N/A PaymentTrust Ltd.<br />

Example “100000”<br />

M<br />

UserName Alphanumeric 15<br />

UserName assigned by PaymentTrust Ltd.<br />

Example “Mariah”<br />

UserPassword assigned by PaymentTrust<br />

M<br />

UserPassword Alphanumeric 15 Ltd.<br />

Example “rr87uy”<br />

M<br />

<strong>Transaction</strong>Type Alphanumeric 2 <strong>Transaction</strong> Type, “3D” for 3D <strong>Secure</strong>. M<br />

IsTest Numeric 1<br />

''1” for "Test", “0” for "Live",<br />

Note: Defaults <strong>to</strong> 0 if left blank.<br />

Indicates the maximum time the merchant<br />

O<br />

TimeOut Numeric N/A allows for the transaction, in milliseconds.<br />

Recommendation “60000”<br />

M<br />

135


Field Name Data Type Data Size Description<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

S<strong>to</strong>reID Alphanumeric 10<br />

For use <strong>to</strong> differentiate between Merchants<br />

or S<strong>to</strong>res. Permanent S<strong>to</strong>re ID assigned by<br />

PaymentTrust Ltd. or Merchant if left blank<br />

Example “100000”<br />

O<br />

RequestType Alphanumeric 1 ‘A’ Authenticate<br />

Specific Order number submitted by the<br />

M<br />

Merchant for tracking purposes.<br />

OrderNumber Alphanumeric<br />

35 Example “10098987”<br />

Note: If no order number is submitted the system<br />

will generate one for the merchant at the time of<br />

the transaction.<br />

A digitally signed message received from<br />

the cardholder’s issuer Access Control<br />

O<br />

PaRes Alphanumeric 5000 Server. Must be sent <strong>to</strong> the PaymentTrust<br />

Ltd. MPI <strong>to</strong> verify whether the cardholder<br />

authentication was successful or not.<br />

Reference Number from 3D <strong>Secure</strong> system<br />

M<br />

SVID Numeric N/A generated with Verify Enrollment response.<br />

Example “10003606”<br />

O<br />

Sample Input String:<br />

StringIn=VersionUsed^1~MerchantId^100000~UserName^Mariah~UserPassword^rr87uy~<strong>Transaction</strong>Type^3<br />

D~IsTest^1~TimeOut^60000~RequestType^A~PaRes^<br />

eJytV9m2osgS/RVW9aNdxSCo1OK4VjIIqIkyKr4hIIMMKijg199Ezzll160e7sCLmWHEzsiInZuE<br />

s+JLGIpm6F8v4ZSDYVV5UYglwduXtWeEZ5KkCXLC0tRkTDLMmGZoesxORmNizFJDimG/TLk1MMLq<br />

EeGNg2Llyp1X31ZKsNvETWZGqQ3QQyDHW3ipkrKYkt+IbxSHf0zRohc/9op6ynn+mVe1KU1SQ5rh<br />

8Pcpl4cXVZw+jKPxhCXe/36aOfxH/Prajyq0kTYJptBS75poU9o9YqAodfCuk1rq0ysLvHF478EF<br />

Xh1OKYIYERQ5xkjmOzn+Tkw4/GHnTj0cyMsrwmYJguDwVwuHSnYJC7+bEsMRh3/OuLA9lUWIPNAm<br />

P8cc/iO5k1dMiZdnOCSRa2/lrO2Uq5P8p6RG3+khhz/sXFV79bWauhz+PuJ873abohrzPB2R0swB<br />

jye19eeg3+zDhQv9ZEqgwvW/jyiQReUlqeO8T/WPBg7vU8EfzZ1yZhIVaLFLiLV5VlRvX+K6Pn3H<br />

8aZpvjXDb+UlwlHCBE6wOHIIqiT67cszKgzU4lBOOcEryiLxvSy5ezVqOwzruAywzwV/BWkZPSqJ<br />

G5LwFcF+9Um6+NpbiCHJIHz816Av6f6TVX5O/FJ5X6vYI/sFfgKackZ4CPs2h5htqG9ffvsbyotJ<br />

FFb1f5PFRwavCB94jpddw+nQ0U8zv+DvwXK9Cl2DJXzpsrXz8aZ6+4h7enL4Z9rve/royuf+no6H<br />

604Iuy7HGZJhD4tRtti4CyBAUV7tpQYKQLiUA+aQ5CeYsA1U1lRnHtSyG1ikkQ/oUThAh2ywOjcb<br />

Nl3Od8Y9nix2VixV463hlTktBIzdqbbH7Kk43waN4Y6kiDov4rO3DtIq8kpnuz0l7LxOqfMcB+u5<br />

5tRjeRyvmdNAsp0VeegCcVHtPPvtpTnvu1yE3XNXW4ZgRa/2niPzuk9Dv9Y8dHoE7Y2kxkh/iG/k<br />

79jKflMtzAwvt8QPKzR/k9del6PjiibLN7MLirD7HTOtNy1sMLO81jG28bLeVXgDNof/DP9YTwgv<br />

dXJArEQSAlVVbFJBAFQXgUblQaSqcm2TZH82ZakRdXe+KHdqfPM1oEsSr4PmkEpLCI4yIG2Jj6Gg<br />

O3Yri2CD8ZHmIARLJJgs6HhrP3QIT+C37qbN/Lu0hoB4BrVQ<strong>to</strong>fZcZ87DDTKRgau6Oj6Qmpnii3P<br />

mP3GuWKBAiNbMRhVaomdKNmQVx/BQguXpqNHNuV0QZ6luy1spRToz8WhJdiB7m6zerdhCP8OwllD<br />

NBhMkbqKNmq+zUBr7vVGLZVamB4bzYKkJhoeVNxWuIP5E8i1wHHmQCNqZtEjO1Vq2NVu60eYTbFk<br />

IEeRQ82qfnXxDrRnkG/xmcbsZCYLLcmEPHhmHMO5QfJxuCGzfWHcoaE30hN0iUlNPXcE3tpt55S3<br />

0fo6fQaCFs7RO2K4TMEVCnQLVfnQ11Awz7Kp7oeiLvFAR2eZljUgCjyW6As+0oXBQDpsS2PSZalW<br />

njaLHC8K6dzxxyie+2x7XQ2uztE9r63rVV2MFjOnVWR7wFvDgQnqNbVgoK7amIB47o/wzh81F/cw<br />

uyndhi0Oo2XSggqEO0pMoLA7iKRlNyUgZqu0kXy+zLKUNo/nVbFLPPZ4VZzTMV4m2KptlTmMtle1<br />

y7vDRhTi5KgMcHrZqCLQAV/SKn8UEQ/dpon2D24FamPylSXwlxLYZ5mYn80usoa6gMEsnymnQUuT<br />

MD3chThyV8fI/XNi/hUvsf+UmH/FS+wfE5NWde/uDGnn7uKXFgQ2fjsa+/sl5ZneXzEmEuanfAPF<br />

TQRHoI0TtgwUo1klk5tzzCzdNuZ2woqINoQ9nFNLAlGnMGb7Yn7by83tlW/LXOuwvQiGZQ9Gu+0u<br />

z6qdVd6WZOt/gmXtJ9hWegVr/V+A8RYfRRc+kma87iMSGgqU7EZvXHXRuDyv2woEC1mjYiJQwGjZ<br />

sRvT0XhDysz3TC2/cG86KhUWSM7Vz9lqL/xw2hIvteqY1C/0X0mRqOvCZV0rh7Vz0sxVusDmzvCG<br />

M9LWTRqxnUekYoqXNhkvotuBSHWRnFzvo5ye8Dq13uONvsVDeNz6erZSQVLji3GtiBNAN/JTOl+V<br />

8lfSKazuiLLh5kM6/6SnvTwcz/ExkdmGQMXSZ0DkB1CvGkF/EExGMjDnHUtyIe8+2cTDtZU7Q3Wm<br />

3YKtUaqzIN7Lzh3qk74QfZAiNTsr3BjX3fbYyilwn0QrLUx6ZVrH64FyjCzFOL4Kz9/pzkfPsYdi<br />

8fRWtJDZkjp0OSWRjBLarOxt1E+2vzyE2P/r7dAfQux/fzvw/oecYn/QU6ICUIoExK47Y65ZJzjD<br />

136


42prrAKtOVtKyyJuebEvR6MOzpDExnYxLLMonJyvHVFSPkYV+nFcH5drPldW871Wj7NOXYOsuM3K<br />

5YGdgwiVGsjp+g5YCKqH2omNLiEagTYF66cEIJ8DkgHeAkgiFRzyxNMx0jc8b5Z7PT8tF/w6AGq3<br />

ce2wGCup3Wk4FH/BN2QC/LVA3YwTcrC8N8K1q6x0OJ6Qk8vKWN93OCNqAjMK52EQlgZwzUnOOsxa<br />

oY/pfgOvi7tGOivBsQLZvN/W9mgvYOEd+OfHt8q/HRb8xxUH/7z2/LgQPT6KHl9y/T3+9QvvXz4l iiQ=<br />

STLink will return the following items for a 3D <strong>Secure</strong> Authenticate<br />

Request (3D)(A)<br />

Field Name Data Type Data Size Description<br />

MerchantId Numeric N/A<br />

Permanent Merchant ID assigned by PaymentTrust Ltd..<br />

Example 100000<br />

<strong>Transaction</strong>Type Alpha 2 <strong>Transaction</strong> Type, “3D” for 3D <strong>Secure</strong>.<br />

Order number submitted by the Merchant or a number<br />

OrderNumber Alphanumeric 35<br />

generated by PaymentTrust Ltd. if order number was not<br />

specified.<br />

Example “10098987”<br />

StrId Numeric N/A Reference Number from STLink.<br />

Reference Number from 3D <strong>Secure</strong> system generated with<br />

SVID Numeric N/A Authentication response.<br />

Example “10003606”<br />

RequestType Alpha 1 'A' Authenticate.<br />

Authentication status used <strong>to</strong> determine liability shift.<br />

TXStatus Alpha 1<br />

ECI Numeric 2<br />

CAV Alphanumeric 50<br />

MessageCode Numeric N/A<br />

Message Alphanumeric 60<br />

Sample Response:<br />

137<br />

Y = Authentication Successful.<br />

N = Authentication Failed.<br />

U = Authentication Could Not Be Performed.<br />

A = Attempts Processing Performed.<br />

Note: If the status is N or not available do <strong>to</strong> error, the<br />

purchaser’s transaction must be declined and no payment<br />

should be processed.<br />

Electronic Commerce Indica<strong>to</strong>r as returned from the<br />

PaymentTrust Ltd. MPI. Later required for payment<br />

requests: Auth, Forced Auth, Sale and Forced Sale.<br />

Example “02”<br />

Cardholder Authentication Value as returned from the<br />

PaymentTrust Ltd. MPI. Later required for payment<br />

requests: Auth, Forced Auth, Sale and Forced Sale.<br />

Example “AAA9BVY0FVJAAAAAA12BAAAAAAA=”<br />

Indicates whether cardholder is authenticated (4100) or not<br />

authenticated (4220)<br />

Example “4100”<br />

Note: Please See Appendix C for complete list of Results<br />

Example “Cardholder authenticated”<br />

Note: Please See Appendix C for complete list of Response<br />

Messages


MerchantId^100000~<strong>Transaction</strong>Type^3D~OrderNumber^10098987~StrId^121092~SVID^10064249~<br />

RequestType^A~TXStatus^Y~ECI^02~CAV^AAA9BVY0FVJAAAAAA12BAAAAAAA=~MessageCode^4100~<br />

Message^Cardholder authenticated<br />

138


Foreign Exchange Requests<br />

Foreign Exchange Rate Request (FX)(X)<br />

Field Name Data Type Data Size Description<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

StringIn= N/A N/A<br />

Must be at beginning of all strings. Capitals<br />

must be used as shown.<br />

Note: Not required for XML batch requests.<br />

Version Used specific <strong>to</strong> <strong>Transaction</strong> Type.<br />

M<br />

VersionUsed Alphanumeric 4<br />

Note: Must evaluate <strong>to</strong> numeric value for<br />

FX.<br />

Example “1” for FX<br />

Permanent Merchant ID assigned by<br />

M<br />

MerchantId Numeric N/A PaymentTrust Ltd.<br />

Example “100000”<br />

M<br />

UserName Alphanumeric 15<br />

UserName assigned by PaymentTrust Ltd.<br />

Example “Mariah”<br />

UserPassword assigned by PaymentTrust<br />

M<br />

UserPassword Alphanumeric 15 Ltd.<br />

Example “rr87uy”<br />

M<br />

<strong>Transaction</strong>Type Alphanumeric 2<br />

<strong>Transaction</strong> Type, “FX” for Foreign<br />

Exchange<br />

M<br />

IsTest<br />

Numeric<br />

1<br />

''1' for "Test", '0' for "Live",<br />

Note: Defaults <strong>to</strong> 0 if left blank<br />

Indicates the maximum time the merchant<br />

O<br />

TimeOut Numeric N/A allows for the transaction, in milliseconds<br />

Recommendation “60000”<br />

M<br />

RequestType Alphanumeric 1 ‘X’ Rate Request<br />

For use <strong>to</strong> differentiate between S<strong>to</strong>res.<br />

M<br />

S<strong>to</strong>reID Alphanumeric 10<br />

Permanent S<strong>to</strong>re ID assigned by<br />

PaymentTrust Ltd. or Merchant if left blank<br />

Example “100000”<br />

Specific Order number submitted by the<br />

Merchant for tracking purposes.<br />

O<br />

OrderNumber Alphanumeric 35 Example “10098987”<br />

Note: If no order number is submitted the system<br />

will generate one for the merchant at the time of<br />

the transaction.<br />

Credit card number or Debit Card number.<br />

Example “4459510002561039”<br />

O<br />

AcctNumber Numeric N/A Note: Either AcctNumber or<br />

ConvertedCurrencyId is manda<strong>to</strong>ry <strong>to</strong><br />

create an FX pair with the CurrencyId.<br />

ISO standard numeric ids<br />

Example 840 = USD, 124 = CAD, 826 =<br />

O<br />

CurrencyId Numeric N/A GBP<br />

Note: Please see Appendix B for complete list of<br />

values.<br />

M<br />

139


Field Name Data Type Data Size Description<br />

CurrencyId <strong>to</strong> convert <strong>to</strong>. ISO standard<br />

numeric ids<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

ConvertedCurrencyId Numeric N/A<br />

Example 840 = USD, 124 = CAD, 826 =<br />

GBP<br />

Note: Either AcctNumber or<br />

ConvertedCurrencyId is manda<strong>to</strong>ry <strong>to</strong><br />

create an FX pair with the CurrencyId.<br />

Note: Please see Appendix B for complete list of<br />

O<br />

Amount Numeric N/A<br />

IsRefund Numeric 1<br />

Sample Input String:<br />

140<br />

values.<br />

<strong>Transaction</strong> amount. Up <strong>to</strong> 4 decimals<br />

maximum. Decimal varies based on<br />

CurrencyId.<br />

Example 840 = “56.78”, 392 = “99”, 048 =<br />

“125.333”<br />

''1” for "Refund", “0” for "Non Refund",<br />

Note: Defaults <strong>to</strong> 0 if left blank<br />

StringIn=VersionUsed^1~MerchantId^100000~UserName^Mariah~UserPassword^rr87uy~<strong>Transaction</strong>Type^F<br />

X~IsTest^1~TimeOut^60000~RequestType^X~CurrencyId^840~ConvertedCurrencyId^124<br />

O<br />

O


STLink will return the following items for a Foreign Exchange Rate<br />

Request (FX)(X)<br />

Field Name Data Type Data Size Description<br />

MerchantId Numeric N/A<br />

Permanent Merchant ID assigned by PaymentTrust Ltd.<br />

Example 100000<br />

<strong>Transaction</strong>Type Alpha 2 <strong>Transaction</strong> Type, “FX” for Foreign Exchange.<br />

Order number submitted by the Merchant or a number<br />

OrderNumber Alphanumeric 35<br />

generated by PaymentTrust Ltd. if order number was not<br />

specified.<br />

Example “10098987”<br />

StrId Numeric N/A Reference Number from STLink<br />

RequestType Alpha 1 'X' Rate Request<br />

FXID Numeric N/A<br />

Reference Number from Foreign Exchange system.<br />

Example “10003606”<br />

ISO standard numeric ids<br />

CurrencyId Numeric N/A Example 840 = USD, 124 = CAD, 826 = GBP<br />

Note: Please see Appendix B for complete list of values.<br />

ConvertedCurren<br />

cyId<br />

Numeric N/A<br />

Converted CurrencyId. ISO standard numeric ids<br />

Example 840 = USD, 124 = CAD, 826 = GBP<br />

Note: Please see Appendix B for complete list of values.<br />

<strong>Transaction</strong> amount. Up <strong>to</strong> 4 decimals maximum. Decimal<br />

Amount Numeric N/A varies based on CurrencyId.<br />

Example 840 = “56.78”, 392 = “99”, 048 = “125.333”<br />

ConvertedAmoun<br />

t<br />

Numeric N/A<br />

Converted amount. Up <strong>to</strong> 4 decimals maximum. Decimal<br />

varies based on CurrencyId.<br />

Example 840 = “56.78”, 392 = “99”, 048 = “125.333”<br />

FXRate Numeric N/A<br />

The current foreign exchange rate. Decimal length varies.<br />

Example “0.84566”<br />

ExpiryTime<br />

AlphaNumeri<br />

c<br />

20<br />

Date and Time the rate expires (YYYYMMDDHHMMSS).<br />

Example “20050223164000”<br />

Note: Time is in military format.<br />

FXMessageCode Numeric N/A<br />

Example “3100”<br />

Note: Please See Appendix C for complete list of Results<br />

FXMessage Alphanumeric 60<br />

Note: Please See Appendix C for complete list of Response<br />

Messages<br />

Sample Response:<br />

MerchantId^100000~<strong>Transaction</strong>Type^FX~OrderNumber^10098987~StrId^130634~RequestType^X<br />

~FXID^10003606~CurrencyId^840~ConvertedCurrencyId^124~FXRate^0.84566~ExpiryTime^200502231<br />

64000~FXMessageCode^3100~FXMessage^<strong>Transaction</strong> approved<br />

141


Foreign Exchange Placement Request (FX)(D)<br />

Field Name Data Type Data Size Description<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

StringIn= N/A N/A<br />

Must be at beginning of all strings. Capitals<br />

must be used as shown.<br />

Note: Not required for XML batch requests.<br />

Version Used specific <strong>to</strong> <strong>Transaction</strong> Type.<br />

M<br />

VersionUsed Alphanumeric 4<br />

Note: Must evaluate <strong>to</strong> numeric value for<br />

FX.<br />

Example “1” for FX<br />

Permanent Merchant ID assigned by<br />

M<br />

MerchantId Numeric N/A PaymentTrust Ltd.<br />

Example “100000”<br />

M<br />

UserName Alphanumeric 15<br />

UserName assigned by PaymentTrust Ltd.<br />

Example “Mariah”<br />

UserPassword assigned by PaymentTrust<br />

M<br />

UserPassword Alphanumeric 15 Ltd.<br />

Example “rr87uy”<br />

M<br />

<strong>Transaction</strong>Type Alphanumeric 2<br />

<strong>Transaction</strong> Type, “FX” for Foreign<br />

Exchange<br />

M<br />

IsTest<br />

Numeric<br />

1<br />

''1' for "Test", '0' for "Live",<br />

Note: Defaults <strong>to</strong> 0 if left blank<br />

Indicates the maximum time the merchant<br />

O<br />

TimeOut Numeric N/A allows for the transaction, in milliseconds<br />

Recommendation “60000”<br />

M<br />

RequestType Alphanumeric 1 ‘D’ Placement Request<br />

Reference Number from Foreign Exchange<br />

M<br />

FXID Numeric N/A system.<br />

Example “10003606”<br />

Specific Order number submitted by the<br />

Merchant for tracking purposes.<br />

M<br />

OrderNumber Alphanumeric 35 Example “10098987”<br />

Note: If no order number is submitted the system<br />

will generate one for the merchant at the time of<br />

the transaction.<br />

<strong>Transaction</strong> amount. Up <strong>to</strong> 4 decimals<br />

maximum. Decimal varies based on<br />

O<br />

Amount Numeric N/A CurrencyId.<br />

Example 840 = “56.78”, 392 = “99”, 048 =<br />

“125.333”<br />

M<br />

Sample Input String:<br />

StringIn=VersionUsed^1~MerchantId^100000~UserName^Mariah~UserPassword^rr87uy~<strong>Transaction</strong>Ty<br />

pe^FX~IsTest^1~TimeOut^60000~RequestType^D~FXID^10003606~Amount^56.78<br />

142


STLink will return the following items for a Foreign Exchange<br />

Placement Request (FX)(D)<br />

Field Name Data Type Data Size Description<br />

MerchantId Numeric N/A<br />

Permanent Merchant ID assigned by PaymentTrust Ltd.<br />

Example 100000<br />

<strong>Transaction</strong>Type Alpha 2 <strong>Transaction</strong> Type, “PT” for PaymentTrust<br />

Order number submitted by the Merchant or a number<br />

OrderNumber Alphanumeric 35<br />

generated by PaymentTrust Ltd. if order number was not<br />

specified.<br />

Example “10098987”<br />

StrId Numeric N/A Reference Number from STLink<br />

RequestType Alpha 1 'D' Placement Request<br />

FXID Numeric N/A<br />

Reference Number from Foreign Exchange system.<br />

Example “10003606”<br />

ISO standard numeric ids<br />

CurrencyId Numeric N/A Example 840 = USD, 124 = CAD, 826 = GBP<br />

Note: Please see Appendix B for complete list of values.<br />

<strong>Transaction</strong> Amount. Up <strong>to</strong> 4 decimals maximum. Decimal<br />

Amount Numeric N/A varies based on CurrencyId.<br />

Example 840 = “56.78”, 392 = “99”, 048 = “125.333”<br />

FXRate Numeric N/A<br />

The current foreign exchange rate. Decimal length varies.<br />

Example “0.84566”<br />

ExpiryTime<br />

AlphaNumeri<br />

c<br />

20<br />

Date and Time the rate expires (YYYYMMDDHHMMSS).<br />

Example “20050223164000”<br />

Note: Time is in military format.<br />

FXMessageCode Numeric N/A<br />

Example “3050”<br />

Note: Please See Appendix C for complete list of Results<br />

FXMessage Alphanumeric 60<br />

Note: Please See Appendix C for complete list of Response<br />

Messages<br />

Sample Response:<br />

MerchantId^100000~<strong>Transaction</strong>Type^FX~OrderNumber^10098987~StrId^130634~RequestType^D~<br />

FXID^10003606~CurrencyId^840~Amount^56.78~FXRate^0.84566~ExpiryTime^20050223164000~FXM<br />

essageCode^3050~FXMessage^<strong>Transaction</strong> pending<br />

143


Foreign Exchange Refund Request (FX)(R)<br />

Field Name Data Type Data Size Description<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

StringIn= N/A N/A<br />

Must be at beginning of all strings. Capitals<br />

must be used as shown.<br />

Note: Not required for XML batch requests.<br />

Version Used specific <strong>to</strong> <strong>Transaction</strong> Type.<br />

M<br />

VersionUsed Alphanumeric 4<br />

Note: Must evaluate <strong>to</strong> numeric value for<br />

FX.<br />

Example “1” for FX<br />

Permanent Merchant ID assigned by<br />

M<br />

MerchantId Numeric N/A PaymentTrust Ltd.<br />

Example “100000”<br />

M<br />

UserName Alphanumeric 15<br />

UserName assigned by PaymentTrust Ltd.<br />

Example “Mariah”<br />

UserPassword assigned by PaymentTrust<br />

M<br />

UserPassword Alphanumeric 15 Ltd.<br />

Example “rr87uy”<br />

M<br />

<strong>Transaction</strong>Type Alphanumeric 2<br />

<strong>Transaction</strong> Type, “FX” for Foreign<br />

Exchange<br />

M<br />

IsTest<br />

Numeric<br />

1<br />

''1' for "Test", '0' for "Live",<br />

Note: Defaults <strong>to</strong> 0 if left blank<br />

Indicates the maximum time the merchant<br />

O<br />

TimeOut Numeric N/A allows for the transaction, in milliseconds<br />

Recommendation “60000”<br />

M<br />

RequestType Alphanumeric 1 ‘R’ Refund Request<br />

Reference Number from Foreign Exchange<br />

M<br />

FXID Numeric N/A system.<br />

Example “10003606”<br />

Specific Order number submitted by the<br />

Merchant for tracking purposes.<br />

M<br />

OrderNumber Alphanumeric 35 Example “10098987”<br />

Note: If no order number is submitted the system<br />

will generate one for the merchant at the time of<br />

the transaction.<br />

<strong>Transaction</strong> amount. Up <strong>to</strong> 4 decimals<br />

maximum. Decimal varies based on<br />

O<br />

Amount Numeric N/A CurrencyId.<br />

Example 840 = “56.78”, 392 = “99”, 048 =<br />

“125.333”<br />

M<br />

Sample Input String:<br />

StringIn=VersionUsed^1~MerchantId^100000~UserName^Mariah~UserPassword^rr87uy~<strong>Transaction</strong>Ty<br />

pe^FX~IsTest^1~TimeOut^60000~RequestType^R~FXID^10003606~Amount^56.78<br />

144


STLink will return the following items for a Foreign Exchange Refund<br />

Request (FX)(R)<br />

Field Name Data Type Data Size Description<br />

MerchantId Numeric N/A<br />

Permanent Merchant ID assigned by PaymentTrust Ltd.<br />

Example 100000<br />

<strong>Transaction</strong>Type Alpha 2 <strong>Transaction</strong> Type, “PT” for PaymentTrust<br />

Order number submitted by the Merchant or a number<br />

OrderNumber Alphanumeric 35<br />

generated by PaymentTrust Ltd. if order number was not<br />

specified.<br />

Example “10098987”<br />

StrId Numeric N/A Reference Number from STLink<br />

RequestType Alpha 1 'R' Placement Request<br />

FXID Numeric N/A<br />

Reference Number from Foreign Exchange system.<br />

Example “10003606”<br />

ISO standard numeric ids<br />

CurrencyId Numeric N/A Example 840 = USD, 124 = CAD, 826 = GBP<br />

Note: Please see Appendix B for complete list of values.<br />

<strong>Transaction</strong> Amount. Up <strong>to</strong> 4 decimals maximum. Decimal<br />

Amount Numeric N/A varies based on CurrencyId.<br />

Example 840 = “56.78”, 392 = “99”, 048 = “125.333”<br />

FXRate Numeric N/A<br />

The current foreign exchange rate. Decimal length varies.<br />

Example “0.84566”<br />

ExpiryTime<br />

AlphaNumeri<br />

c<br />

20<br />

Date and Time the rate expires (YYYYMMDDHHMMSS).<br />

Example “20050223164000”<br />

Note: Time is in military format.<br />

FXMessageCode Numeric N/A<br />

Example “3050”<br />

Note: Please See Appendix C for complete list of Results<br />

FXMessage Alphanumeric 60<br />

Note: Please See Appendix C for complete list of Response<br />

Messages<br />

Sample Response:<br />

MerchantId^100000~<strong>Transaction</strong>Type^FX~OrderNumber^10098987~StrId^130634~RequestType^R~FXI<br />

D^10003606~CurrencyId^840~Amount^56.78~FXRate^0.84566~ExpiryTime^20050223164000~FXMess<br />

ageCode^3050~FXMessage^<strong>Transaction</strong> pending<br />

145


Foreign Exchange Cancellation Request (FX)(C)<br />

Field Name Data Type Data Size Description<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

StringIn= N/A N/A<br />

Must be at beginning of all strings. Capitals<br />

must be used as shown.<br />

Note: Not required for XML batch requests.<br />

Version Used specific <strong>to</strong> <strong>Transaction</strong> Type.<br />

M<br />

VersionUsed Alphanumeric 4<br />

Note: Must evaluate <strong>to</strong> numeric value for<br />

FX.<br />

Example “1” for FX<br />

Permanent Merchant ID assigned by<br />

M<br />

MerchantId Numeric N/A PaymentTrust Ltd.<br />

Example “100000”<br />

M<br />

UserName Alphanumeric 15<br />

UserName assigned by PaymentTrust Ltd.<br />

Example “Mariah”<br />

UserPassword assigned by PaymentTrust<br />

M<br />

UserPassword Alphanumeric 15 Ltd.<br />

Example “rr87uy”<br />

M<br />

<strong>Transaction</strong>Type Alphanumeric 2<br />

<strong>Transaction</strong> Type, “FX” for Foreign<br />

Exchange<br />

M<br />

IsTest<br />

Numeric<br />

1<br />

''1' for "Test", '0' for "Live",<br />

Note: Defaults <strong>to</strong> 0 if left blank<br />

Indicates the maximum time the merchant<br />

O<br />

TimeOut Numeric N/A allows for the transaction, in milliseconds<br />

Recommendation “60000”<br />

M<br />

RequestType Alphanumeric 1 ‘C’ Cancellation request<br />

Reference Number from Foreign Exchange<br />

M<br />

FXID Numeric N/A system.<br />

Example “10003606”<br />

Specific Order number submitted by the<br />

Merchant for tracking purposes.<br />

M<br />

OrderNumber Alphanumeric 35 Example “10098987”<br />

Note: If no order number is submitted the system<br />

will generate one for the merchant at the time of<br />

the transaction.<br />

O<br />

Sample Input String:<br />

StringIn=VersionUsed^1~MerchantId^100000~UserName^Mariah~UserPassword^rr87uy~<strong>Transaction</strong>Ty<br />

pe^FX~IsTest^1~TimeOut^60000~RequestType^C~FXID^10003606<br />

146


STLink will return the following items for a Foreign Exchange Cancel<br />

Request (FX)(C)<br />

Field Name Data Type Data Size Description<br />

MerchantId Numeric N/A<br />

Permanent Merchant ID assigned by PaymentTrust Ltd.<br />

Example 100000<br />

<strong>Transaction</strong>Type Alpha 2 <strong>Transaction</strong> Type, “PT” for PaymentTrust<br />

Order number submitted by the Merchant or a number<br />

OrderNumber Alphanumeric 35<br />

generated by PaymentTrust Ltd. if order number was not<br />

specified.<br />

Example “10098987”<br />

StrId Numeric N/A Reference Number from STLink<br />

RequestType Alpha 1 'C' Cancellation request<br />

FXID Numeric N/A<br />

Reference Number from Foreign Exchange system.<br />

Example “10003606”<br />

ISO standard numeric ids<br />

CurrencyId Numeric N/A Example 840 = USD, 124 = CAD, 826 = GBP<br />

Note: Please see Appendix B for complete list of values.<br />

<strong>Transaction</strong> Amount. Up <strong>to</strong> 4 decimals maximum. Decimal<br />

Amount Numeric N/A varies based on CurrencyId.<br />

Example 840 = “56.78”, 392 = “99”, 048 = “125.333”<br />

FXRate Numeric N/A<br />

The current foreign exchange rate. Decimal length varies.<br />

Example “0.84566”<br />

FXMessageCode Numeric N/A<br />

Example “3170”<br />

Note: Please See Appendix C for complete list of Results<br />

FXMessage Alphanumeric 60<br />

Note: Please See Appendix C for complete list of Response<br />

Messages<br />

Sample Response:<br />

MerchantId^100000~<strong>Transaction</strong>Type^FX~OrderNumber^10098987~StrId^130634~RequestType^C~FXI<br />

D^10003606~CurrencyId^840~Amount^56.78~FXRate^0.84566~ExpiryTime^20050223164000~FXMess<br />

ageCode^3170~FXMessage^<strong>Transaction</strong> approved<br />

147


BIN System Request<br />

BIN System Request (BN) (Also known as Issuer Identification<br />

Number)<br />

Field Name Data Type Data Size Description<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

StringIn= N/A N/A<br />

Must be at beginning of all strings. Capitals<br />

must be used as shown.<br />

Note: Not required for XML batch requests.<br />

M<br />

VersionUsed Alphanumeric 4<br />

Version Used specific <strong>to</strong> <strong>Transaction</strong> Type.<br />

Example “3” for BN<br />

Permanent Merchant ID assigned by<br />

M<br />

MerchantId Numeric N/A PaymentTrust Ltd.<br />

Example “100000”<br />

M<br />

UserName Alphanumeric 15<br />

UserName assigned by PaymentTrust Ltd.<br />

Example “Mariah”<br />

UserPassword assigned by PaymentTrust<br />

M<br />

UserPassword Alphanumeric 15 Ltd.<br />

Example “rr87uy”<br />

M<br />

<strong>Transaction</strong>Type Alphanumeric 2<br />

<strong>Transaction</strong> Type, “BN” for Bin Request<br />

System<br />

M<br />

IsTest<br />

Numeric<br />

1<br />

''1' for "Test", '0' for "Live",<br />

Note: Defaults <strong>to</strong> 0 if left blank<br />

Indicates the maximum time the merchant<br />

O<br />

TimeOut Numeric N/A allows for the transaction, in milliseconds<br />

Recommendation “60000”<br />

Specific Order number submitted by the<br />

Merchant for tracking purposes.<br />

M<br />

OrderNumber Alphanumeric 35 Example “10098987”<br />

Note: If no order number is submitted the system<br />

will generate one for the merchant at the time of<br />

the transaction.<br />

Credit card number, Debit Card number,<br />

Purchase Card number, Bank account<br />

O<br />

AcctNumber Numeric N/A number, or any other applicable Bank<br />

Identifier.<br />

Example “4459510002561039”<br />

M<br />

Sample Input String:<br />

StringIn=VersionUsed^1~MerchantId^100000~UserName^Mariah~UserPassword^rr87uy~<strong>Transaction</strong>Ty<br />

pe^BN~IsTest^1~TimeOut^60000~AcctNumber^4459510002561039<br />

148


STLink will return the following items for a BIN Request (BN)<br />

Field Name Data Type Data Size Description<br />

MerchantId Numeric N/A<br />

Permanent Merchant ID assigned by PaymentTrust Ltd.<br />

Example “100000”<br />

<strong>Transaction</strong>Type Alpha 2 <strong>Transaction</strong> Type, “BN” for Bin Request System<br />

Order number submitted by the Merchant or a number<br />

OrderNumber Alphanumeric 35<br />

generated by PaymentTrust Ltd. if order number was not<br />

specified.<br />

Example “10098987”<br />

StrId Numeric N/A Reference Number from STLink<br />

MessageCode Numeric N/A<br />

Note: Please See Appendix A for complete list of Response<br />

Messages<br />

BTTID Numeric N/A<br />

Reference Number from BN system<br />

Example “10003606”<br />

Standard Card Types<br />

Example<br />

VI Visa Credit Card<br />

AX American Express<br />

BE Beneficial<br />

CB Carte Blanche<br />

DC Diners Club<br />

CreditCardType Alpha 2<br />

DI<br />

JC<br />

Discover<br />

JCB<br />

MC MasterCard<br />

SW Switch/Solo<br />

VI Visa credit<br />

VE Electron<br />

VD Visa debit<br />

MA Maestro<br />

MD Mastercard Debit<br />

XX Card type could not be determined<br />

CountryCode Alpha 2<br />

Billing contact ISO Country Code<br />

Example “US”<br />

Note: Please See Appendix D for complete list of values<br />

Issuing Bank or institution of the specific Card<br />

Issuer AlphaNumeric 100 Example “National Bank Of America”<br />

Note: This is not always available and is region specific.<br />

Sample Response:<br />

MerchantId^100000~<strong>Transaction</strong>Type^BN~OrderNumber^10098987~StrId^1125261~MessageCode^100<br />

~BTTID^1003606~CreditCardType^VI~CountryCode^US~Issuer^National Bank Of America<br />

149


IP Geo Positioning Request<br />

IP Geo Positioning Request (GP)<br />

Field Name Data Type Data Size Description<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

StringIn= N/A N/A<br />

Must be at beginning of all strings. Capitals<br />

must be used as shown.<br />

Note: Not required for XML batch requests.<br />

M<br />

VersionUsed Alphanumeric 4<br />

Version Used specific <strong>to</strong> <strong>Transaction</strong> Type.<br />

Example “2” for GP<br />

Permanent Merchant ID assigned by<br />

M<br />

MerchantId Numeric N/A PaymentTrust Ltd.<br />

Example “100000”<br />

M<br />

UserName Alphanumeric 15<br />

UserName assigned by PaymentTrust Ltd.<br />

Example “Mariah”<br />

UserPassword assigned by PaymentTrust<br />

M<br />

UserPassword Alphanumeric 15 Ltd.<br />

Example “rr87uy”<br />

M<br />

<strong>Transaction</strong>Type Alphanumeric 2<br />

<strong>Transaction</strong> Type, “BN” for Bin Request<br />

System<br />

M<br />

IsTest Numeric 1<br />

''1' for "Test", '0' for "Live",<br />

Note: Defaults <strong>to</strong> 0 if left blank<br />

Indicates the maximum time the merchant<br />

O<br />

TimeOut Numeric N/A allows for the transaction, in milliseconds<br />

Recommendation “60000”<br />

Specific Order number submitted by the<br />

Merchant for tracking purposes.<br />

M<br />

OrderNumber Alphanumeric 35<br />

Example “10098987”<br />

Note: If no order number is submitted the system<br />

will generate one for the merchant at the time of<br />

the transaction.<br />

Cus<strong>to</strong>mer’s IP address or DNS Address.<br />

O<br />

REMOTE_ADDR Alphanumeric 100 Example “207.253.196.193” or<br />

“Dialup339.paymenttrust.com”<br />

M<br />

Sample Input String:<br />

StringIn=VersionUsed^2~MerchantId^100000~UserName^Mariah~UserPassword^rr87uy~<strong>Transaction</strong>Ty<br />

pe^GP~IsTest^1~TimeOut^60000~REMOTE_ADDR^206.196.124.2<br />

STLink will return the following items for an IP Geo Positioning<br />

Request (GP)<br />

Field Name Data Type Data Size Description<br />

MerchantId Numeric N/A<br />

Permanent Merchant ID assigned by PaymentTrust Ltd.<br />

Example “100000”<br />

<strong>Transaction</strong>Type Alpha 2 <strong>Transaction</strong> Type, “GP” for IP Geo Positioning.<br />

Order number submitted by the Merchant or a number<br />

OrderNumber Alphanumeric 35<br />

generated by PaymentTrust Ltd. if order number was not<br />

specified.<br />

Example “10098987”<br />

StrId Numeric N/A Reference Number from STLink<br />

150


Field Name Data Type Data Size Description<br />

MessageCode Numeric N/A<br />

Note: Please See Appendix A for complete list of Response<br />

Messages<br />

GPID Numeric N/A<br />

Reference Number from GP system<br />

Example “10003606”<br />

Cus<strong>to</strong>mer’s IP address or DNS Address.<br />

REMOTE_ADDR Alphanumeric 100 Example “207.253.196.193” or<br />

“Dialup339.paymenttrust.com”<br />

Billing contact ISO Country Code<br />

CountryCode Alpha 2 Example “CA”<br />

Note: Please See Appendix D for complete list of values<br />

Region within the Country Code returned. This may be a<br />

province or a State.<br />

Region Alphanumeric 100 Example “QC” or “Quebec”<br />

Note: This is not always available and is country<br />

specific.<br />

City within the Country Code returned<br />

City Alphanumeric 100<br />

Example “Montreal”<br />

Note: This is not always available and is country<br />

specific.<br />

The IP address’s connection type.<br />

ConnectionType Alphanumeric 50<br />

Example “Dial-up”<br />

Note: Available as a premium service by 3 rd party<br />

subscription.<br />

The Remote Address’s angular distance on the earth's<br />

Longitude Alphanumeric 10<br />

surface, measured east or west from the prime meridian<br />

at Greenwich, England.<br />

Example “45.1253”<br />

The Remote Address’s angular distance north or south<br />

Latitude Alphanumeric 10 of the earth's equa<strong>to</strong>r, measured in degrees.<br />

Example “30.6532”<br />

Sample Response:<br />

MerchantId^100000~<strong>Transaction</strong>Type^GP~OrderNumber^10098987~StrID^1125261~MessageCode^100<br />

~GPID^10003606~REMOTE_ADDR^206.196.124.2~CountryCode^US~Region^QC~City^Montreal~Long<br />

itude^45.1253~Latitude^30.6532<br />

151


Identify Me System Request<br />

Identify Me System Request (IM)<br />

Field Name Data Type Data Size Description<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

StringIn= N/A N/A<br />

Must be at beginning of all strings. Capitals<br />

must be used as shown.<br />

Note: Not required for XML batch requests.<br />

M<br />

VersionUsed Alphanumeric 4<br />

Version Used specific <strong>to</strong> <strong>Transaction</strong> Type.<br />

Example “3” for IM<br />

Permanent Merchant ID assigned by<br />

M<br />

MerchantId Numeric N/A PaymentTrust Ltd.<br />

Example “100000”<br />

M<br />

UserName Alphanumeric 15<br />

UserName assigned by PaymentTrust Ltd.<br />

Example “Mariah”<br />

UserPassword assigned by PaymentTrust<br />

M<br />

UserPassword Alphanumeric 15 Ltd.<br />

Example “rr87uy”<br />

M<br />

<strong>Transaction</strong>Type Alphanumeric 2<br />

<strong>Transaction</strong> Type, “IM” for Identify Me<br />

Request System<br />

M<br />

IsTest Numeric 1<br />

''1' for "Test", '0' for "Live",<br />

Note: Defaults <strong>to</strong> 0 if left blank<br />

Indicates the maximum time the merchant<br />

O<br />

TimeOut Numeric N/A allows for the transaction, in milliseconds<br />

Recommendation “60000”<br />

Specific Order number submitted by the<br />

Merchant for tracking purposes.<br />

M<br />

OrderNumber Alphanumeric 35 Example “10098987”<br />

Note: If no order number is submitted the system<br />

will generate one for the merchant at the time of<br />

the transaction.<br />

1 sets the flag <strong>to</strong> verify the age, 0 or if flag is<br />

not sent will not test for Age verification.<br />

O<br />

AgeVerify Numeric 1 Note: Defaults <strong>to</strong> merchant set-up, if left<br />

blank, and merchant specific default value<br />

is not available.<br />

1 sets the flag <strong>to</strong> check the ID, 0 or if flag is<br />

not sent will not test for ID verification.<br />

O<br />

IDVerify Numeric 1 Note: Defaults <strong>to</strong> merchant set-up, if left<br />

blank, and merchant specific default value<br />

is not available.<br />

1 sets the flag <strong>to</strong> check the individual, 0 or if<br />

flag is not sent will not test for<br />

O<br />

ProfileVerify Numeric 1<br />

individual/profile verification.<br />

Note: Defaults <strong>to</strong> merchant set-up, if left<br />

blank, and merchant specific default value<br />

is not available.<br />

O<br />

152


Field Name Data Type Data Size Description<br />

The Date Of Birth as entered by the<br />

consumer in a DDMMYYYY format.<br />

Example “23091963”<br />

Note: Please make sure that single digit<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

DOB Numeric 8 months are padded with zero in the<br />

beginning. i.e 9 becomes 09.<br />

M<br />

Note: The Date of Birth is required when<br />

AgeVerify is 1 and CountryCode is GB/UK<br />

IDType or IDType1 Alpha N/A<br />

IDNumber or<br />

IDNumber1<br />

153<br />

Alphanumeric 30<br />

IDCode1 Alphanumeric 2<br />

or when IDType is DL or PP.<br />

In Countries where ID is required as an<br />

additional doc <strong>to</strong> verify the age then the<br />

type of the ID that is being sent must be<br />

provided.<br />

CE – Cedential de Elec<strong>to</strong>r<br />

DL – Drivers License<br />

ID – Identity Card No.<br />

IF – Identity Certificate No.<br />

PI – Personal Identification No.<br />

PP – PassPort<br />

RF – Registro Federal de Contribuyentes<br />

RP – Residence Permit<br />

TD – Travel Document<br />

Note: Manda<strong>to</strong>ry depending on country.<br />

Note: IDType will only be accepted for<br />

legacy cus<strong>to</strong>mers, all new implementations<br />

will receive IDType1.<br />

In Countries where ID is required as an<br />

additional doc <strong>to</strong> verify the age then based<br />

on the type specified in the IDType field a<br />

number is provided.<br />

Example “XJK23091963” or<br />

“jhsdgf743hgwf”<br />

Note: Manda<strong>to</strong>ry depending on country<br />

Note: IDNumber will only be accepted for<br />

legacy cus<strong>to</strong>mers, all new implementations<br />

will receive IDNumber1.<br />

Note: For Passport and Driver’s License<br />

validation this field becomes manda<strong>to</strong>ry.<br />

Where a secondary code is required in a<br />

piece of identification<br />

Note: For Passport validation if not<br />

submitted will default <strong>to</strong> P<br />

O<br />

O<br />

O


Field Name Data Type Data Size Description<br />

Country which issued the piece of<br />

identification<br />

IDIssuingCountry1 Alpha 3<br />

IDCountryOfOrigin1 Alpha 3<br />

IDNationality1 Alpha 3<br />

IDExpiryDate1 Numeric N/A<br />

IDIssueDate1 Numeric N/A<br />

IDType2 Alpha 2<br />

IDNumber2 Alphanumeric 30<br />

154<br />

Note: Manda<strong>to</strong>ry for if IDVerify= 1, and an<br />

IDNumber is supplied<br />

Note: On passports country of issuance is<br />

on the <strong>to</strong>p of the passport there may not be<br />

a label stating “Issuing Country”<br />

Note: See Appendix ## for list of codes<br />

Country of Origin of the ID holder<br />

Note: See Appendix ## for list of codes<br />

Nationality of the ID holder<br />

Note: For Passport validation this field<br />

becomes manda<strong>to</strong>ry<br />

Note: See Appendix ## for list of codes<br />

Expiry date of the ID as entered by the<br />

consumer in a DDMMYYYY format.<br />

Example “23091963”<br />

Note: Please make sure that single digit<br />

months are padded with zero in the<br />

beginning. i.e 9 becomes 09.<br />

Note: For Passport and Driver’s License<br />

validation this field becomes manda<strong>to</strong>ry<br />

Issue date of the ID as entered by the<br />

consumer in a DDMMYYYY format.<br />

Example “23091963”<br />

Note: Please make sure that single digit<br />

months are padded with zero in the<br />

beginning. i.e 9 becomes 09.<br />

Note: For Passport validation this field<br />

becomes manda<strong>to</strong>ry<br />

In Countries where ID is required as an<br />

additional doc <strong>to</strong> verify the age then the<br />

type of the ID that is being sent must be<br />

provided.<br />

CE – Cedential de Elec<strong>to</strong>r<br />

DL – Drivers License<br />

ID – Identity Card No.<br />

IF – Identity Certificate No.<br />

PI – Personal Identification No.<br />

PP – PassPort<br />

RF – Registro Federal de Contribuyentes<br />

RP – Residence Permit<br />

TD – Travel Document<br />

Note: Manda<strong>to</strong>ry depending on country.<br />

In Countries where ID is required as an<br />

additional doc <strong>to</strong> verify the age then based<br />

on the type specified in the IDType field a<br />

number is provided.<br />

Example “XJK23091963” or<br />

“jhsdgf743hgwf”<br />

Note: Manda<strong>to</strong>ry depending on country<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O


Field Name Data Type Data Size Description<br />

IDCode2 Alphanumeric 2<br />

IDIssuingCountry2 Alpha 3<br />

IDCountryOfOrigin2 Alpha 3<br />

IDNationality2 Alpha 3<br />

IDExpiryDate2 Numeric N/A<br />

IDIssueDate2 Numeric N/A<br />

IDType3 Alpha 2<br />

155<br />

Where a secondary code is required in a<br />

piece of identification<br />

Note: For Passport validation if not<br />

submitted will default <strong>to</strong> P<br />

Country which issued the piece of<br />

identification<br />

Note: For Passport validation this field<br />

becomes manda<strong>to</strong>ry<br />

Note: On passports country of issuance is<br />

on the <strong>to</strong>p of the passport there may not be<br />

a label stating “Issuing Country”<br />

Note: See Appendix ## for list of codes<br />

Country of Origin of the ID holder<br />

Note: See Appendix ## for list of codes<br />

Nationality of the ID holder<br />

Note: For Passport validation this field<br />

becomes manda<strong>to</strong>ry<br />

Note: See Appendix ## for list of codes<br />

Expiry date of the ID as entered by the<br />

consumer in a DDMMYYYY format.<br />

Example “23091963”<br />

Note: Please make sure that single digit<br />

months are padded with zero in the<br />

beginning. i.e 9 becomes 09.<br />

Note: For Passport and Driver’s License<br />

validation this field becomes manda<strong>to</strong>ry<br />

Issue date of the ID as entered by the<br />

consumer in a DDMMYYYY format.<br />

Example “23091963”<br />

Note: Please make sure that single digit<br />

months are padded with zero in the<br />

beginning. i.e 9 becomes 09.<br />

Note: For Passport validation this field<br />

becomes manda<strong>to</strong>ry<br />

In Countries where ID is required as an<br />

additional doc <strong>to</strong> verify the age then the<br />

type of the ID that is being sent must be<br />

provided.<br />

CE – Cedential de Elec<strong>to</strong>r<br />

DL – Drivers License<br />

ID – Identity Card No.<br />

IF – Identity Certificate No.<br />

PI – Personal Identification No.<br />

PP – PassPort<br />

RF – Registro Federal de Contribuyentes<br />

RP – Residence Permit<br />

TD – Travel Document<br />

Note: Manda<strong>to</strong>ry depending on country.<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O


Field Name Data Type Data Size Description<br />

In Countries where ID is required as an<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

IDNumber3 Alphanumeric 30<br />

additional doc <strong>to</strong> verify the age then based<br />

on the type specified in the IDType field a<br />

number is provided.<br />

Example “XJK23091963” or<br />

“jhsdgf743hgwf”<br />

O<br />

IDCode3 Alphanumeric 2<br />

IDIssuingCountry3 Alpha 3<br />

IDCountryOfOrigin3 Alpha 3<br />

IDNationality3 Alpha 3<br />

IDExpiryDate3 Numeric N/A<br />

IDIssueDate3 Numeric N/A<br />

156<br />

Note: Manda<strong>to</strong>ry depending on country<br />

Where a secondary code is required in a<br />

piece of identification<br />

Note: For Passport validation if not<br />

submitted will default <strong>to</strong> P<br />

Country which issued the piece of<br />

identification<br />

Note: For Passport validation this field<br />

becomes manda<strong>to</strong>ry<br />

Note: On passports country of issuance is<br />

on the <strong>to</strong>p of the passport there may not be<br />

a label stating “Issuing Country”<br />

Note: See Appendix ## for list of codes<br />

Country of Origin of the ID holder<br />

Note: See Appendix ## for list of codes<br />

Nationality of the ID holder<br />

Note: For Passport validation this field<br />

becomes manda<strong>to</strong>ry<br />

Note: See Appendix ## for list of codes<br />

Expiry date of the ID as entered by the<br />

consumer in a DDMMYYYY format.<br />

Example “23091963”<br />

Note: Please make sure that single digit<br />

months are padded with zero in the<br />

beginning. i.e 9 becomes 09.<br />

Note: For Passport validation this field<br />

becomes manda<strong>to</strong>ry<br />

Issue date of the ID as entered by the<br />

consumer in a DDMMYYYY format.<br />

Example “23091963”<br />

Note: Please make sure that single digit<br />

months are padded with zero in the<br />

beginning. i.e 9 becomes 09.<br />

Note: For Passport validation this field<br />

becomes manda<strong>to</strong>ry<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O


Field Name Data Type Data Size Description<br />

In Countries where ID is required as an<br />

additional doc <strong>to</strong> verify the age then the<br />

type of the ID that is being sent must be<br />

provided.<br />

IDType4 Alpha 2<br />

IDNumber4 Alphanumeric 30<br />

IDCode4 Alphanumeric 2<br />

IDIssuingCountry4 Alpha 3<br />

IDCountryOfOrigin4 Alpha 3<br />

IDNationality4 Alpha 3<br />

IDExpiryDate4 Numeric N/A<br />

157<br />

CE – Cedential de Elec<strong>to</strong>r<br />

DL – Drivers License<br />

ID – Identity Card No.<br />

IF – Identity Certificate No.<br />

PI – Personal Identification No.<br />

PP – PassPort<br />

RF – Registro Federal de Contribuyentes<br />

RP – Residence Permit<br />

TD – Travel Document<br />

Note: Manda<strong>to</strong>ry depending on country.<br />

In Countries where ID is required as an<br />

additional doc <strong>to</strong> verify the age then based<br />

on the type specified in the IDType field a<br />

number is provided.<br />

Example “XJK23091963” or<br />

“jhsdgf743hgwf”<br />

Note: Manda<strong>to</strong>ry depending on country<br />

Where a secondary code is required in a<br />

piece of identification<br />

Note: For Passport validation if not<br />

submitted will default <strong>to</strong> P<br />

Country which issued the piece of<br />

identification<br />

Note: For Passport validation this field<br />

becomes manda<strong>to</strong>ry<br />

Note: On passports country of issuance is<br />

on the <strong>to</strong>p of the passport there may not be<br />

a label stating “Issuing Country”<br />

Note: See Appendix ## for list of codes<br />

Country of Origin of the ID holder<br />

Note: See Appendix ## for list of codes<br />

Nationality of the ID holder<br />

Note: For Passport validation this field<br />

becomes manda<strong>to</strong>ry<br />

Note: See Appendix ## for list of codes<br />

Expiry date of the ID as entered by the<br />

consumer in a DDMMYYYY format.<br />

Example “23091963”<br />

Note: Please make sure that single digit<br />

months are padded with zero in the<br />

beginning. i.e 9 becomes 09.<br />

Note: For Passport validation this field<br />

becomes manda<strong>to</strong>ry<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O


Field Name Data Type Data Size Description<br />

IDIssueDate4 Numeric N/A<br />

IDType5 Alpha 2<br />

IDNumber5 Alphanumeric 30<br />

IDCode5 Alphanumeric 2<br />

IDIssuingCountry5 Alpha 3<br />

IDCountryOfOrigin5 Alpha 3<br />

IDNationality5 Alpha 3<br />

158<br />

Issue date of the ID as entered by the<br />

consumer in a DDMMYYYY format.<br />

Example “23091963”<br />

Note: Please make sure that single digit<br />

months are padded with zero in the<br />

beginning. i.e 9 becomes 09.<br />

Note: For Passport validation this field<br />

becomes manda<strong>to</strong>ry<br />

In Countries where ID is required as an<br />

additional doc <strong>to</strong> verify the age then the<br />

type of the ID that is being sent must be<br />

provided.<br />

CE – Cedential de Elec<strong>to</strong>r<br />

DL – Drivers License<br />

ID – Identity Card No.<br />

IF – Identity Certificate No.<br />

PI – Personal Identification No.<br />

PP – PassPort<br />

RF – Registro Federal de Contribuyentes<br />

RP – Residence Permit<br />

TD – Travel Document<br />

Note: Manda<strong>to</strong>ry depending on country.<br />

In Countries where ID is required as an<br />

additional doc <strong>to</strong> verify the age then based<br />

on the type specified in the IDType field a<br />

number is provided.<br />

Example “XJK23091963” or<br />

“jhsdgf743hgwf”<br />

Note: Manda<strong>to</strong>ry depending on country<br />

Where a secondary code is required in a<br />

piece of identification<br />

Note: For Passport validation if not<br />

submitted will default <strong>to</strong> P<br />

Country which issued the piece of<br />

identification<br />

Note: For Passport validation this field<br />

becomes manda<strong>to</strong>ry<br />

Note: On passports country of issuance is<br />

on the <strong>to</strong>p of the passport there may not be<br />

a label stating “Issuing Country”<br />

Note: See Appendix ## for list of codes<br />

Country of Origin of the ID holder<br />

Note: See Appendix ## for list of codes<br />

Nationality of the ID holder<br />

Note: For Passport validation this field<br />

becomes manda<strong>to</strong>ry<br />

Note: See Appendix ## for list of codes<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O


Field Name Data Type Data Size Description<br />

IDExpiryDate5 Numeric N/A<br />

IDIssueDate5 Numeric N/A<br />

FirstName Alphanumeric 60<br />

MiddleName Alphanumeric 60<br />

LastName Alphanumeric 60<br />

Gender Alpha 1<br />

AliasFirstName Alphanumeric 60<br />

AliasMiddleName Alphanumeric 60<br />

AliasLastName Alphanumeric 60<br />

Suffix Alphanumeric 20<br />

159<br />

Expiry date of the ID as entered by the<br />

consumer in a DDMMYYYY format.<br />

Example “23091963”<br />

Note: Please make sure that single digit<br />

months are padded with zero in the<br />

beginning. i.e 9 becomes 09.<br />

Note: For Passport validation this field<br />

becomes manda<strong>to</strong>ry<br />

Issue date of the ID as entered by the<br />

consumer in a DDMMYYYY format.<br />

Example “23091963”<br />

Note: Please make sure that single digit<br />

months are padded with zero in the<br />

beginning. i.e 9 becomes 09.<br />

Note: For Passport validation this field<br />

becomes manda<strong>to</strong>ry<br />

First Name of the individual <strong>to</strong> be verified<br />

Example “John”<br />

Middle Name of the individual <strong>to</strong> be verified<br />

Example “Thomas”<br />

Last Name of the individual <strong>to</strong> be verified<br />

Example “Smith”<br />

Gender of the individual <strong>to</strong> be verified.<br />

M – Male<br />

F – Female<br />

Note: Manda<strong>to</strong>ry for UK age verification,<br />

non-UK profile verification submissions.<br />

Note: Manda<strong>to</strong>ry when IDType = PP or DL.<br />

Note: As specified on passport only. If<br />

unavailable do not submit<br />

Alias First Name of the individual <strong>to</strong> be<br />

verified<br />

Example “John”<br />

Note: This field becomes manda<strong>to</strong>ry if<br />

AliasLastName is submitted<br />

Alias Middle Name of the individual <strong>to</strong> be<br />

verified<br />

Example “Thomas”<br />

Alias Last Name of the individual <strong>to</strong> be<br />

verified<br />

Example “Smith”<br />

Note: This field becomes manda<strong>to</strong>ry if<br />

AliasFirstName is submitted<br />

Suffix of the individual <strong>to</strong> be verified<br />

Example “3rd”<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

O<br />

O<br />

M<br />

O<br />

M<br />

M<br />

O<br />

O<br />

O<br />

O


Field Name Data Type Data Size Description<br />

Billing contact Address line 1<br />

Example “2130 Gold”<br />

Note: This line should only contain the<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

Address1 Alphanumeric 60 street for UK age verification submissions.<br />

Note: This line becomes manda<strong>to</strong>ry for<br />

profile verification submissions and should<br />

O<br />

Address2 Alphanumeric 60<br />

Address3 Alphanumeric 60<br />

Address4 Alphanumeric 60<br />

Address5 Alphanumeric 60<br />

City Alphanumeric 60<br />

StateCode Alphanumeric 60<br />

ZipCode Alphanumeric 30<br />

CountryCode Alpha 2<br />

160<br />

only contain the street name.<br />

Billing contact Address line 2<br />

Example “Suite101”<br />

Note: This line should only contain the<br />

locality for UK age verification submissions.<br />

Note: This line should only contain the<br />

locality for non-UK profile verification<br />

submissions.<br />

Billing contact Address line 3<br />

Note: This line becomes manda<strong>to</strong>ry, and<br />

should only contain the building name,<br />

building number for UK age verification<br />

submissions.<br />

Note: This line becomes manda<strong>to</strong>ry for<br />

profile verification submissions and should<br />

only contain the address door number.<br />

Billing contact Address line 4<br />

Note: This line should only contain the sub<br />

locality for UK age verification submissions.<br />

Billing contact Address line 5<br />

Note: This line should only contain the<br />

substreet for UK age verification<br />

submissions.<br />

Billing contact City<br />

Example “New York”<br />

Billing contact state code, two-character<br />

long ISO code required for North America.<br />

Remaining Region and Provinces around<br />

the world may use free form field<br />

Example “NY”<br />

Note: Manda<strong>to</strong>ry for Irish counties.<br />

Note: Please See Appendix E for complete list of<br />

values<br />

Billing contact ZIP / Postal Code<br />

Example “90210”<br />

Note: Optional for Ireland<br />

Billing contact ISO Country Code<br />

Example “US”<br />

Note: Please See Appendix D for complete list of<br />

values<br />

O<br />

O<br />

O<br />

O<br />

O<br />

O<br />

M<br />

M


Field Name Data Type Data Size Description<br />

M=Manda<strong>to</strong>ry Fields<br />

O=Optional Fields<br />

PhoneNumber Alphanumeric 30<br />

Billing contact Phone Number, only digits,<br />

no parentheses<br />

Example “6188565656”<br />

Note: The value should not include the<br />

international calling codes. (i.e. 44 for UK, 1<br />

for US, and Canada)<br />

Note: PhoneNumber becomes manda<strong>to</strong>ry<br />

when ProfileVerify is 1 and CountryCode is<br />

listed in the ‘IdentifyMe Submission Best<br />

Results Criteria’<br />

Machine Readable Zone (MRZ) line 1 of the<br />

passport.<br />

Example:<br />

O<br />

MRZLine1 Alphanumeric 50 “A


STLink will return the following items for an Identify Me Request (IM)<br />

Field Name Data Type Data Size Description<br />

MerchantId Numeric N/A<br />

Permanent Merchant ID assigned by PaymentTrust Ltd.<br />

Example “100000”<br />

<strong>Transaction</strong>Type Alpha 2 <strong>Transaction</strong> Type, “IM” for Identify Me Request System<br />

Order number submitted by the Merchant or a number<br />

OrderNumber Alphanumeric 35<br />

generated by PaymentTrust Ltd. if order number was not<br />

specified.<br />

Example “10098987”<br />

StrId Numeric N/A Reference Number from STLink<br />

IMID Numeric N/A<br />

Reference Number from IM system<br />

Example “10003606”<br />

162


Field Name Data Type Data Size Description<br />

Code returned when verification is requested.<br />

MessageCode Alphanumeric 16<br />

163<br />

Possible values position 1 DOB verification:<br />

0 = DOB Matched<br />

1 = Partial Match Month/Year only<br />

2 = Partial Match<br />

3 = Partial Match age group above 18<br />

4 = Partial Match Age is valid<br />

5 = Nothing Matched<br />

6 = Could Not Verify<br />

7 = Matched with errors<br />

9 = Too many results refine search<br />

E = Error<br />

N = Not Applicable<br />

Note: For legacy merchant value 2 will return message<br />

Partial Match Year only<br />

Possible values position 2-6 ID Verification:<br />

0 = [IDType] Matched<br />

2 = Partial Match<br />

5 = Nothing Matched<br />

6 = Could Not Verify<br />

7 = Matched with errors<br />

9 = Too many results refine search<br />

E = Error<br />

N = Not Applicable<br />

Possible values position 7 Elec<strong>to</strong>ral Roll verification:<br />

0 = Matched<br />

2 = Partial Match<br />

5 = Nothing Matched<br />

6 = Could Not Verify<br />

7 = Matched with errors<br />

9 = Too many results refine search<br />

E = Error<br />

N = Not Applicable<br />

Possible values position 8 British Telecom verification:<br />

0 = Matched<br />

2 = Partial Match<br />

5 = Nothing Matched<br />

6 = Could Not Verify<br />

7 = Matched with errors<br />

9 = Too many results refine search<br />

E = Error<br />

N = Not Applicable


Field Name Data Type Data Size Description<br />

Possible values position 9 Direc<strong>to</strong>rs Data verification:<br />

0 = Matched<br />

2 = Partial Match<br />

5 = Nothing Matched<br />

6 = Could Not Verify<br />

7 = Matched with errors<br />

9 = Too many results refine search<br />

E = Error<br />

N = Not Applicable<br />

164<br />

Possible values position 10 Sanctions:<br />

0 = Matched<br />

2 = Partial Match<br />

5 = Nothing Matched<br />

6 = Could Not Verify<br />

7 = Matched with errors<br />

9 = Too many results refine search<br />

E = Error<br />

N = Not Applicable<br />

Possible values position 11 Deceased:<br />

0 = Matched<br />

2 = Partial Match<br />

5 = Nothing Matched<br />

6 = Could Not Verify<br />

7 = Matched with errors<br />

9 = Too many results refine search<br />

E = Error<br />

N = Not Applicable<br />

Possible values position 12 Global-ID:<br />

0 = Matched<br />

2 = Partial Match<br />

5 = Nothing Matched<br />

6 = Could Not Verify<br />

7 = Matched with errors<br />

9 = Too many results refine search<br />

E = Error<br />

N = Not Applicable<br />

Possible values position 13 PEP:<br />

0 = Matched<br />

2 = Partial Match<br />

5 = Nothing Matched<br />

6 = Could Not Verify<br />

7 = Matched with errors<br />

9 = Too many results refine search<br />

E = Error<br />

N = Not Applicable


Field Name Data Type Data Size Description<br />

Possible values position 14 SDN:<br />

0 = Matched<br />

2 = Partial Match<br />

5 = Nothing Matched<br />

6 = Could Not Verify<br />

7 = Matched with errors<br />

9 = Too many results refine search<br />

E = Error<br />

N = Not Applicable<br />

Message Alphanumeric N\A<br />

MRZLine1 Alphanumeric N\A<br />

MRZLine2 Alphanumeric N\A<br />

165<br />

Possible values position 15 Terrorist:<br />

0 = Matched<br />

2 = Partial Match<br />

5 = Nothing Matched<br />

6 = Could Not Verify<br />

7 = Matched with errors<br />

9 = Too many results refine search<br />

E = Error<br />

N = Not Applicable<br />

Possible values position 16 Financial:<br />

0 = Matched<br />

2 = Partial Match<br />

5 = Nothing Matched<br />

6 = Could Not Verify<br />

7 = Matched with errors<br />

9 = Too many results refine search<br />

E = Error<br />

N = Not Applicable<br />

Note: Message code will contain a sequence of<br />

alphanumeric values each mapping <strong>to</strong> a given validation<br />

request as indicated above. One value will be returned<br />

for each of the 16 possible positions. MessageCode will<br />

therefore be of length 16.<br />

Note: The term is defined as a probable match, not an<br />

exact match.<br />

Descriptive message of MessageCode<br />

Example: “Partial Match age group above 18, Partial<br />

ID matched”<br />

Machine Readable Zone (MRZ) line 1 of the passport.<br />

Example:<br />

“A


Sample Response:<br />

MerchantId^100000~<strong>Transaction</strong>Type^IM~OrderNumber^10098987~StrId^1125261~IMID^10003606~Me<br />

ssageCode^0~Message^DOB Matched<br />

Sample MessageCode Map<br />

*PEP = Politically Exposed Persons<br />

*SDN = Specially Designated Nationals<br />

*Direc<strong>to</strong>rs = This includes Dun and Bradstreet Business Data<br />

166<br />

Financial<br />

Terrorist<br />

*SDN<br />

*PEP<br />

Global-ID<br />

Deceased<br />

Sanctions<br />

*Direc<strong>to</strong>rs<br />

British Telecom<br />

Elec<strong>to</strong>ral Roll<br />

ID 5<br />

ID 4<br />

ID 3<br />

ID 2<br />

ID 1<br />

DOB<br />

Sample 1 0 2 5 6 9 N 2<br />

Sample 2 1 5 N N N N 0 0 5 5 0 0 0 5 5 0<br />

Sample 3 N N N N N N 2 N 5 6 1 0 5 5 5 0


Supplementary Requests<br />

Supplementary RG(Q) Request<br />

Data<br />

M=Manda<strong>to</strong>ry Fields<br />

Field Name<br />

Type Data Size Description<br />

O=Optional Fields<br />

StringIn= N/A N/A<br />

Must be at beginning of all strings. Capitals<br />

must be used as shown.<br />

Note: Not required for XML batch requests.<br />

M<br />

VersionUsed Alphanumeric 4<br />

Version Used specific <strong>to</strong> <strong>Transaction</strong> Type<br />

Example “1” for Q<br />

Permanent Merchant ID assigned by<br />

M<br />

MerchantId Numeric N/A PaymentTrust Ltd.<br />

Example “100000”<br />

M<br />

UserName Alphanumeric 15<br />

UserName assigned by PaymentTrust Ltd.<br />

Example “Mariah”<br />

UserPassword assigned by PaymentTrust<br />

M<br />

UserPassword Alphanumeric 15 Ltd.<br />

Example “rr87uy”<br />

M<br />

<strong>Transaction</strong>Type Alphanumeric 2 <strong>Transaction</strong> Type, “RG” for Risk Guardian. M<br />

RequestType Alpha 1 'Q' Query Request M<br />

IsTest Numeric 1<br />

''1' for "Test", '0' for "Live",<br />

Note: Defaults <strong>to</strong> 0 if left blank<br />

Indicates the maximum time the merchant<br />

O<br />

TimeOut Numeric N/A allows for the transaction, in milliseconds<br />

Recommendation “60000”<br />

Specific Order number submitted by the<br />

Merchant for tracking purposes.<br />

M<br />

OrderNumber Alphanumeric 35 Example “10098987”<br />

Note: If no order number is submitted the system<br />

will generate one for the merchant at the time of<br />

the transaction.<br />

Reference Number from RG system also<br />

O<br />

GTTID or RGID Numeric N/A<br />

known as the RGID<br />

Note: If the version is less than 4.0, GTTID<br />

is returned. If not RGID is returned.<br />

Return a list of 5 RG parameters indicating<br />

the reason(s) of au<strong>to</strong>matic success or<br />

M<br />

IsExtended Numeric 1 failure of a transaction with an RG score of<br />

0 or 100. Set <strong>to</strong> '1' for "Yes", '0' for "No"<br />

Note: Defaults <strong>to</strong> 0 if left blank.<br />

Return a list of all the RG analysis<br />

parameter codes, their scores and<br />

O<br />

IsAnalysis Numeric 1<br />

responses. Set <strong>to</strong> '1' for "Yes", '0' for "No".<br />

Note: Defaults <strong>to</strong> 0 if left blank.<br />

Note: Only for XML requests. See Section<br />

6.3 (XML Definitions)<br />

O<br />

Sample Input String:<br />

StringIn=VersionUsed^1~MerchantId^100000~UserName^Mariah~UserPassword^rr87uy~<strong>Transaction</strong>Ty<br />

pe^RG~RequestType^Q~IsTest^1~TimeOut^60000~RGID~10003606<br />

167


STLink will return the following Response for a Risk Guardian Query<br />

Request (Q)<br />

Field Name Data Type Data Size Description<br />

MerchantId Numeric N/A<br />

Permanent Merchant ID assigned by PaymentTrust Ltd.<br />

Example “100000”<br />

<strong>Transaction</strong>Type Alpha 2 <strong>Transaction</strong> Type, “RG” for RiskGuardian<br />

Order number submitted by the Merchant or a number<br />

OrderNumber Alphanumeric 35<br />

generated by PaymentTrust Ltd. if order number was not<br />

specified.<br />

Example “10098987”<br />

StrId Numeric N/A Reference Number from STLink<br />

MessageCode Numeric N/A<br />

Note: Please See Appendix A for complete list of<br />

Response Messages<br />

Reference Number from RG system also known as the<br />

GTTID or RGID Numeric N/A<br />

RGID<br />

Note: If the version is less than 4.0, GTTID is returned. If<br />

not RGID is returned.<br />

tScore Numeric N/A Score of the transaction requested<br />

tRisk Numeric N/A Set Threshold between 1-100 at the time of the transaction<br />

1 digit code returned when Age check is requested.<br />

Possible values:<br />

0 = DOB Matched<br />

AgeVerifyMessage<br />

Code<br />

Numeric N/A<br />

1 = Partial Match Month/Year only<br />

2 = Partial Match Year only<br />

3 = Partial Match age group above 18<br />

4 = Partial Match Age is valid<br />

5 = Nothing Matched<br />

6 = Could not verify<br />

AgeVerifyMessage Alphanumeric 50<br />

Descriptive message of AgeVerifyMessageCode<br />

Example: “Partial Match age group above 18”<br />

A list of RG parameters indicating the reason(s) of<br />

“List Of Extended<br />

Parameters”<br />

Example “FNA”<br />

Alphanumeric 100<br />

au<strong>to</strong>matic success or failure of a transaction with RG<br />

scores of 0 or 100. Returned only if IsExtended flag was<br />

set <strong>to</strong> ‘1’<br />

Note: The parameter name is 3 characters in length.<br />

Note: Up <strong>to</strong> a maximum of 5 parameters are returned.<br />

Return a list of all the RG analysis parameter codes, their<br />

scores and responses. Set <strong>to</strong> '1' for "Yes", '0' for "No".<br />

Returned only if IsAnalysis flag was set <strong>to</strong> ‘1’<br />

“List Of RG<br />

Example:<br />

Analysis<br />

XML N/A • pCode: CCA<br />

Parameters”<br />

• pScore: 93<br />

• pResponse: gb/gb<br />

pCode Alphanumeric 3<br />

Note: Returned only as XML. See Section 6.3 (XML<br />

Definitions)<br />

Parameter code abbreviation.<br />

Note: Returned only as XML. See Section 6.3 (XML<br />

Definitions)<br />

Score calculated for the parameter ranging from 0 – 100.<br />

pScore Numeric 3 Note: Returned only as XML. See Section 6.3 (XML<br />

Definitions)<br />

Values used <strong>to</strong> calculate parameter score.<br />

pResponse Alphanumeric 100 Note: Returned only as XML. See Section 6.3 (XML<br />

Definitions)<br />

168


Sample Response:<br />

MerchantId^100000~<strong>Transaction</strong>Type^RG~OrderNumber^10098987~StrId^121155~MessageCode^100~<br />

GttId^490095~tScore^100.0000~tRisk^52~AgeVerifyMessageCode^4~^AgeVerifyMessage^Partial Match<br />

age group above 18<br />

Extended Sample Response:<br />

MerchantId^100000~<strong>Transaction</strong>Type^RG~OrderNumber^10098987~StrId^121155~MessageCode^100~<br />

GTTID^490095~tScore^100.0000~tRisk^52~AgeVerifyMessageCode^4~^AgeVerifyMessage^Partial<br />

Match age group above 18~FNA^Albert~CCA^IQ~<br />

Analysis Sample Response: See Section 6.3 (XML Definitions)<br />

169


Supplementary DS(Q) Request<br />

Data<br />

M=Manda<strong>to</strong>ry Fields<br />

Field Name<br />

Type Data Size Description<br />

O=Optional Fields<br />

StringIn= N/A N/A<br />

Must be at beginning of all strings. Capitals<br />

must be used as shown.<br />

Note: Not required for XML batch requests.<br />

M<br />

VersionUsed Alphanumeric 4<br />

Version Used specific <strong>to</strong> <strong>Transaction</strong> Type<br />

Example “1” for Q<br />

Permanent Merchant ID assigned by<br />

M<br />

MerchantId Numeric N/A PaymentTrust Ltd.<br />

Example “100000”<br />

M<br />

UserName Alphanumeric 15<br />

UserName assigned by PaymentTrust Ltd.<br />

Example “Mariah”<br />

UserPassword assigned by PaymentTrust<br />

M<br />

UserPassword Alphanumeric 15 Ltd.<br />

Example “rr87uy”<br />

M<br />

<strong>Transaction</strong>Type Alphanumeric 2 <strong>Transaction</strong> Type, “DS” for Data Share. M<br />

RequestType Alpha 1 'Q' Query Request M<br />

IsTest Numeric 1<br />

''1' for "Test", '0' for "Live",<br />

Note: Defaults <strong>to</strong> 0 if left blank<br />

Indicates the maximum time the merchant<br />

O<br />

TimeOut Numeric N/A allows for the transaction, in milliseconds<br />

Recommendation “60000”<br />

Specific Order number submitted by the<br />

Merchant for tracking purposes.<br />

M<br />

OrderNumber Alphanumeric 35<br />

Example “10098987”<br />

Note: If no order number is submitted the system<br />

will generate one for the merchant at the time of<br />

the transaction.<br />

Reference Number from DS system also<br />

known as the DSID.<br />

O<br />

DSID Numeric N/A Note: Either DSID, or the BatchId is<br />

required<br />

Note: BatchId takes priority over DSID.<br />

BatchId that was sent back when original<br />

batch submission was made.<br />

Example “938344376”<br />

M<br />

BatchId Numeric N/A<br />

Note: Either DSID, or the BatchId is<br />

required<br />

If BatchId is submitted the request and<br />

response strings can only be in XML.<br />

Note: BatchId takes priority over DSID.<br />

Return a list of all the RG analysis<br />

parameter codes, their scores and<br />

M<br />

IsAnalysis Numeric 1<br />

responses. Set <strong>to</strong> '1' for "Yes", '0' for "No".<br />

Note: Defaults <strong>to</strong> 0 if left blank.<br />

Note: Only for XML requests. See Section<br />

6.3 (XML Definitions)<br />

O<br />

Sample Input String:<br />

StringIn=VersionUsed^1~MerchantId^100000~UserName^Mariah~UserPassword^rr87uy~<strong>Transaction</strong>Ty<br />

pe^DS~RequestType^Q~IsTest^1~TimeOut^60000~DSID^10003606<br />

170


STLink will return the following Response for a Data Share Query<br />

Request (Q)<br />

Field Name Data Type Data Size Description<br />

MerchantId Numeric N/A<br />

Permanent Merchant ID assigned by PaymentTrust Ltd.<br />

Example “100000”<br />

<strong>Transaction</strong>Type Alpha 2 <strong>Transaction</strong> Type, “DS” for RiskGuardian<br />

Order number submitted by the Merchant or a number<br />

OrderNumber Alphanumeric 35<br />

generated by PaymentTrust Ltd. if order number was not<br />

specified.<br />

Example “10098987”<br />

StrId Numeric N/A Reference Number from STLink<br />

DSID Numeric N/A Reference Number from DS system<br />

Example “6100”<br />

DSMessageCode Numeric N/A Note: Please See Appendix A for complete list of<br />

Response Messages<br />

DSMessage Alphanumeric 50 Message assigned by Data Sharing service<br />

DSScore Numeric N/A<br />

Score of the transaction requested.<br />

Example: 0, 100, 76, -1<br />

‘A’ Authorisation.<br />

‘D’ Deposit (Settlement).<br />

RequestType Alphanumeric 1<br />

‘R’ Refund<br />

‘S’ Sale<br />

‘C’ Cancellation<br />

‘F’ Finalise<br />

Id supplied by third party service used.<br />

ShareServiceTRXId1 Alphanumeric 30<br />

Note: Id will be returned if applicable and available<br />

Id supplied by third party service used.<br />

ShareServiceTRXId2 Alphanumeric 30<br />

Note: Id will be returned if applicable and available<br />

Score supplied by third party service used.<br />

ShareServiceScore Numeric N/A<br />

Note: Score will be returned as received from third party.<br />

Return a list of all the DS analysis parameter codes, their<br />

scores and responses. Set <strong>to</strong> '1' for "Yes", '0' for "No".<br />

Returned only if IsAnalysis flag was set <strong>to</strong> ‘1’<br />

Example:<br />

“List Of DS<br />

• AssmtId<br />

Analysis<br />

XML N/A • AdviceCode<br />

Parameters”<br />

• OverrideCode<br />

• ……..<br />

Sample Response:<br />

171<br />

Note: Returned only as XML. See Section 6.3 (XML<br />

Definitions) for complete list<br />

MerchantId^100000~<strong>Transaction</strong>Type^DS~OrderNumber^10098987~StrId^121155~DSID^490095~DSM<br />

essageCode^6100~DSMessage^<strong>Transaction</strong> Approved~DSScore^100.0000~ShareServiceTRXId1<br />

^AA522343~ShareServiceTRXId2^BB522343~ShareServiceScore ^756~<br />

Analysis Sample Response: See Section 6.3 (XML Definitions)


Supplementary (Q) Request for PaymentTrust (PT) communication<br />

failures.<br />

In the event of a communication failure the Q request can be used <strong>to</strong> retrieve the status of last transaction<br />

sent with a specific OrderNumber if the StrId was not received.<br />

Data<br />

M=Manda<strong>to</strong>ry Fields<br />

Field Name<br />

Type Data Size Description<br />

O=Optional Fields<br />

StringIn= N/A N/A<br />

Must be at beginning of all strings. Capitals<br />

must be used as shown.<br />

Note: Not required for XML batch requests.<br />

M<br />

VersionUsed Alphanumeric 4<br />

Version Used specific <strong>to</strong> <strong>Transaction</strong> Type<br />

Example “1” for Q<br />

Permanent Merchant ID assigned by<br />

M<br />

MerchantId Numeric N/A PaymentTrust Ltd.<br />

Example “100000”<br />

M<br />

UserName Alphanumeric 15<br />

UserName assigned by PaymentTrust Ltd.<br />

Example “Mariah”<br />

UserPassword assigned by PaymentTrust<br />

M<br />

UserPassword Alphanumeric 15 Ltd.<br />

Example “rr87uy”<br />

M<br />

<strong>Transaction</strong>Type Alphanumeric 2 <strong>Transaction</strong> Type, “Q” for Query Request M<br />

IsTest Numeric 1<br />

''1' for "Test", '0' for "Live",<br />

Note: Defaults <strong>to</strong> 0 if left blank<br />

Indicates the maximum time the merchant<br />

O<br />

TimeOut Numeric N/A allows for the transaction, in milliseconds<br />

Recommendation “60000”<br />

Specific Order number submitted by the<br />

Merchant for tracking purposes.<br />

M<br />

OrderNumber Alphanumeric 35 Example “10098987”<br />

Note: Will return the last transaction sent with<br />

the specified OrderNumber.<br />

M<br />

Sample Input String: See Section 6.3 (XML Definitions)<br />

172


STLink will return the following items for a Query Request (Q) on<br />

PaymentTrust (PT) network communication failures.<br />

Field Name Data Type Data Size Description<br />

MerchantId Numeric N/A<br />

Permanent Merchant ID assigned by PaymentTrust Ltd.<br />

Example “100000”<br />

<strong>Transaction</strong>Type Alpha 2 <strong>Transaction</strong> Type, “PT” for PaymentTrust<br />

<strong>Transaction</strong>Count Numeric N/A<br />

Indicates the number of transactions returned in the<br />

query request.<br />

Order number submitted by the Merchant or a number<br />

generated by PaymentTrust Ltd. if order number was not<br />

OrderNumber Alphanumeric 35 specified.<br />

Example “10098987”<br />

Note: This is a Repeating field within the result file.<br />

StrId Numeric N/A Reference Number from STLink<br />

Reference Number from PaymentTrust system<br />

generated with Auth response<br />

PTTID or PTID Numeric N/A Example “10003606”<br />

Note: If the version is less than 2.0, PTTID is returned. If<br />

not PTID is returned.<br />

Account type.<br />

CC - Visa & MasterCard debit & credit cards, Carte<br />

Bancaire, Carte Bleue<br />

DS - Switch/Solo debit cards<br />

CQ - Cheques<br />

MOP Alpha 2<br />

EC - Electronic cheques or credit<br />

DC - Debit Card PIN enabled cards<br />

PC - Purchasing cards<br />

NT - Net Teller<br />

P2 – Pay 2<br />

Example: “CC”<br />

ISO standard numeric ids<br />

CurrencyId Numeric N/A Example 840 = USD, 124 = CAD, 826 = GBP<br />

Note: Please see Appendix B for complete list of values.<br />

<strong>Transaction</strong> amount. Up <strong>to</strong> 4 decimals maximum.<br />

Amount Numeric N/A Decimal varies based on CurrencyId.<br />

Example 840 = “56.78”, 392 = “99”, 048 = “125.333”<br />

BTID Alphanumeric 12<br />

Unique ID generated by PaymentTrust.<br />

Note: Returned only on BTS transactions.<br />

BankRefID Alphanumeric 50<br />

Merchant’s bank account number for specified currency.<br />

Note: Returned only on BTS transactions.<br />

Full name of person who made the bank transfer.<br />

Cus<strong>to</strong>merName Alphanumeric 50 Example “John Smith”<br />

Note: Returned only on BTS transactions.<br />

Standard 2 letter Country Code where bank transfer was<br />

made.<br />

CountryCode Alpha 2<br />

Example “US”<br />

Note: Please See Appendix D for complete list of values<br />

Note: This is a Repeating field within the result file.<br />

Note: Returned only on BTS transactions.<br />

Date bank transfer was processed by STN. In<br />

<strong>Transaction</strong>Date Numeric N/A<br />

YYYYMMDD format.<br />

Example “20050519”<br />

Note: Returned only on BTS transactions.<br />

173


Field Name Data Type Data Size Description<br />

Time bank transfer was processed by STN. In<br />

HH:MM:ss:mmm format.<br />

<strong>Transaction</strong>Time Alphanumeric 10 Example “17:50:20:333”<br />

Note: Time is in military format.<br />

Note: Returned only on BTS transactions.<br />

Date bank transfer was made. In YYYYMMDD format.<br />

CreditDate Numeric N/A Example “20050519”<br />

Note: Returned only on BTS transactions.<br />

Specific for PT Only<br />

‘D’ Deposit (Settlement)<br />

RequestType Alpha 1<br />

‘R’ Refund<br />

‘P’ PayBack<br />

‘B’ Bank Transfer System<br />

Note: This is a Repeating field within the result file.<br />

Example “2100”<br />

MessageCode Numeric N/A<br />

Note: Please See Appendix C for complete list of<br />

Results<br />

Note: This is a Repeating field within the result file.<br />

Please See Appendix C for complete list of Response<br />

Message Alpha 60 Messages.<br />

Note: This is a Repeating field within the result file.<br />

1 digit code returned when CVN check is requested.<br />

Possible values:<br />

0 = Security/Address Matched<br />

CVNMessageCode Numeric N/A<br />

1 = Data not Verified by Bank<br />

2 = No Data Matched<br />

3 = Address Match only<br />

4 = Security Match only<br />

Note: Returned only if CVN is submitted.<br />

CVNMessage Alphanumeric 100<br />

Descriptive message of CVNMessageCode<br />

Note: Returned only if CVN is submitted.<br />

Sample Response: See Section 6.3 (XML Definitions)<br />

174


Supplementary (Q) Request for Batch Submissions<br />

Data<br />

M=Manda<strong>to</strong>ry Fields<br />

Field Name<br />

Type Data Size Description<br />

O=Optional Fields<br />

StringIn= N/A N/A<br />

Must be at beginning of all strings. Capitals<br />

must be used as shown.<br />

Note: Not required for XML batch requests.<br />

M<br />

VersionUsed Alphanumeric 4<br />

Version Used specific <strong>to</strong> <strong>Transaction</strong> Type<br />

Example “1” for Q<br />

Permanent Merchant ID assigned by<br />

M<br />

MerchantId Numeric N/A PaymentTrust Ltd.<br />

Example “100000”<br />

M<br />

UserName Alphanumeric 15<br />

UserName assigned by PaymentTrust Ltd.<br />

Example “Mariah”<br />

UserPassword assigned by PaymentTrust<br />

M<br />

UserPassword Alphanumeric 15 Ltd.<br />

Example “rr87uy”<br />

M<br />

<strong>Transaction</strong>Type Alphanumeric 2 <strong>Transaction</strong> Type, “Q” for Query Request M<br />

IsTest Numeric 1<br />

''1' for "Test", '0' for "Live",<br />

Note: Defaults <strong>to</strong> 0 if left blank<br />

Indicates the maximum time the merchant<br />

O<br />

TimeOut Numeric N/A allows for the transaction, in milliseconds<br />

Recommendation “60000”<br />

Specific for PT Only<br />

M<br />

RequestType Alphanumeric 1<br />

‘B’ Bank Transfer System<br />

Note: Manda<strong>to</strong>ry for BTS transactions only.<br />

BatchId that was sent back when original<br />

O<br />

BatchId Numeric N/A batch submission was made.<br />

Example “938344376”<br />

M<br />

Sample Input String: See Section 6.3 (XML Definitions)<br />

175


STLink will return the following items for a Query Request (Q) on a<br />

PaymentTrust (PT) batch<br />

Field Name Data Type Data Size Description<br />

MerchantId Numeric N/A<br />

Permanent Merchant ID assigned by PaymentTrust Ltd.<br />

Example “100000”<br />

<strong>Transaction</strong>Type Alpha 2 <strong>Transaction</strong> Type, “PT” for PaymentTrust<br />

BatchId that was sent back when original batch<br />

BatchId Numeric N/A submission was made.<br />

Example “938344376”<br />

<strong>Transaction</strong>Count Numeric N/A<br />

Indicates the number of transactions returned in the<br />

query request.<br />

Order number submitted by the Merchant or a number<br />

generated by PaymentTrust Ltd. if order number was not<br />

OrderNumber Alphanumeric 35 specified.<br />

Example “10098987”<br />

Note: This is a Repeating field within the result file.<br />

StrId Numeric N/A Reference Number from STLink<br />

Reference Number from PaymentTrust system<br />

generated with Auth response<br />

PTTID or PTID Numeric N/A Example “10003606”<br />

Note: If the version is less than 2.0, PTTID is returned. If<br />

not PTID is returned.<br />

Account type.<br />

CC - Visa & MasterCard debit & credit cards, Carte<br />

Bancaire, Carte Bleue<br />

DS - Switch/Solo debit cards<br />

CQ - Cheques<br />

MOP Alpha 2<br />

EC - Electronic cheques or credit<br />

DC - Debit Card PIN enabled cards<br />

PC - Purchasing cards<br />

NT - Net Teller<br />

P2 – Pay 2<br />

Example: “CC”<br />

ISO standard numeric ids<br />

CurrencyId Numeric N/A Example 840 = USD, 124 = CAD, 826 = GBP<br />

Note: Please see Appendix B for complete list of values.<br />

<strong>Transaction</strong> amount. Up <strong>to</strong> 4 decimals maximum.<br />

Amount Numeric N/A Decimal varies based on CurrencyId.<br />

Example 840 = “56.78”, 392 = “99”, 048 = “125.333”<br />

BTID Alphanumeric 12<br />

Unique ID generated by PaymentTrust.<br />

Note: Returned only on BTS transactions.<br />

BankRefID Alphanumeric 50<br />

Merchant’s bank account number for specified currency.<br />

Note: Returned only on BTS transactions.<br />

Full name of person who made the bank transfer.<br />

Cus<strong>to</strong>merName Alphanumeric 50 Example “John Smith”<br />

Note: Returned only on BTS transactions.<br />

Standard 2 letter Country Code where bank transfer was<br />

made.<br />

CountryCode Alpha 2<br />

Example “US”<br />

Note: Please See Appendix D for complete list of values<br />

Note: This is a Repeating field within the result file.<br />

Note: Returned only on BTS transactions.<br />

176


Field Name Data Type Data Size Description<br />

Date bank transfer was processed by STN. In<br />

<strong>Transaction</strong>Date Numeric N/A<br />

YYYYMMDD format.<br />

Example “20050519”<br />

Note: Returned only on BTS transactions.<br />

Time bank transfer was processed by STN. In<br />

HH:MM:ss:mmm format.<br />

<strong>Transaction</strong>Time Alphanumeric 10 Example “17:50:20:333”<br />

Note: Time is in military format.<br />

Note: Returned only on BTS transactions.<br />

Date bank transfer was made. In YYYYMMDD format.<br />

CreditDate Numeric N/A Example “20050519”<br />

Note: Returned only on BTS transactions.<br />

Specific for PT Only<br />

‘D’ Deposit (Settlement)<br />

RequestType Alpha 1<br />

‘R’ Refund<br />

‘P’ PayBack<br />

‘B’ Bank Transfer System<br />

Note: This is a Repeating field within the result file.<br />

Example “2100”<br />

MessageCode Numeric N/A<br />

Note: Please See Appendix C for complete list of<br />

Results<br />

Note: This is a Repeating field within the result file.<br />

Please See Appendix C for complete list of Response<br />

Message Alpha 60 Messages.<br />

Note: This is a Repeating field within the result file.<br />

1 digit code returned when CVN check is requested.<br />

Possible values:<br />

0 = Security/Address Matched<br />

CVNMessageCode Numeric N/A<br />

1 = Data not Verified by Bank<br />

2 = No Data Matched<br />

3 = Address Match only<br />

4 = Security Match only<br />

Note: Returned only if CVN is submitted.<br />

CVNMessage Alphanumeric 100<br />

Descriptive message of CVNMessageCode<br />

Note: Returned only if CVN is submitted.<br />

Sample Response: See Section 6.3 (XML Definitions)<br />

177


Supplementary FX(Q) Request for pending transactions<br />

Data<br />

M=Manda<strong>to</strong>ry Fields<br />

Field Name<br />

Type Data Size Description<br />

O=Optional Fields<br />

StringIn= N/A N/A<br />

Must be at beginning of all strings. Capitals<br />

must be used as shown.<br />

Note: Not required for XML batch requests.<br />

M<br />

VersionUsed Alphanumeric 4<br />

Version Used specific <strong>to</strong> <strong>Transaction</strong> Type<br />

Example “1” for Q<br />

Permanent Merchant ID assigned by<br />

M<br />

MerchantId Numeric N/A PaymentTrust Ltd.<br />

Example “100000”<br />

M<br />

UserName Alphanumeric 15<br />

UserName assigned by PaymentTrust Ltd.<br />

Example “Mariah”<br />

UserPassword assigned by PaymentTrust<br />

M<br />

UserPassword Alphanumeric 15 Ltd.<br />

Example “rr87uy”<br />

M<br />

<strong>Transaction</strong>Type Alphanumeric 2<br />

<strong>Transaction</strong> Type, “FX” for Foreign<br />

Exchange.<br />

M<br />

RequestType Alpha 1 'Q' Query Request M<br />

IsTest Numeric 1<br />

''1' for "Test", '0' for "Live",<br />

Note: Defaults <strong>to</strong> 0 if left blank<br />

Indicates the maximum time the merchant<br />

O<br />

TimeOut Numeric N/A allows for the transaction, in milliseconds<br />

Recommendation “60000”<br />

Specific Order number submitted by the<br />

Merchant for tracking purposes.<br />

M<br />

OrderNumber Alphanumeric 35 Example “10098987”<br />

Note: If no order number is submitted the system<br />

will generate one for the merchant at the time of<br />

the transaction.<br />

Reference Number from Foreign Exchange<br />

O<br />

FXID Numeric N/A system.<br />

Example “10003606”<br />

M<br />

Sample Input String:<br />

StringIn=VersionUsed^1~MerchantId^100000~UserName^Mariah~UserPassword^rr87uy~<strong>Transaction</strong>Ty<br />

pe^FX~RequestType^Q~IsTest^1~TimeOut^60000~FXID~10003606<br />

178


STLink will return the following items for a Query Request (Q) on<br />

Foreign Exchange<br />

Field Name Data Type Data Size Description<br />

MerchantId Numeric N/A<br />

Permanent Merchant ID assigned by PaymentTrust Ltd.<br />

Example 100000<br />

<strong>Transaction</strong>Type Alpha 2 <strong>Transaction</strong> Type, “FX” for Foreign Exchange.<br />

Order number submitted by the Merchant or a number<br />

OrderNumber Alphanumeric 35<br />

generated by PaymentTrust Ltd. if order number was not<br />

specified.<br />

Example “10098987”<br />

StrId Numeric N/A Reference Number from STLink<br />

RequestType Alpha 1 'X' Rate Request<br />

FXID Numeric N/A<br />

Reference Number from Foreign Exchange system.<br />

Example “10003606”<br />

ISO standard numeric ids<br />

CurrencyId Numeric N/A Example 840 = USD, 124 = CAD, 826 = GBP<br />

Note: Please see Appendix B for complete list of values.<br />

Converted CurrencyId. ISO standard numeric ids. Only<br />

ConvertedCurren<br />

cyId<br />

Numeric N/A<br />

returned for X requests.<br />

Example 840 = USD, 124 = CAD, 826 = GBP<br />

Note: Please see Appendix B for complete list of values.<br />

<strong>Transaction</strong> amount. Up <strong>to</strong> 4 decimals maximum. Decimal<br />

Amount Numeric N/A varies based on CurrencyId.<br />

Example 840 = “56.78”, 392 = “99”, 048 = “125.333”<br />

ConvertedAmoun<br />

t<br />

Numeric N/A<br />

Converted amount. Up <strong>to</strong> 4 decimals maximum. Decimal<br />

varies based on CurrencyId. Only returned for X requests.<br />

Example 840 = “56.78”, 392 = “99”, 048 = “125.333”<br />

IsRefund Numeric 1<br />

''1” for "Refund", “0” for "Non Refund", Only returned for X<br />

requests<br />

FXRate Numeric N/A<br />

The current foreign exchange rate. Decimal length varies.<br />

Example “0.84566”<br />

ExpiryTime<br />

AlphaNumeri<br />

c<br />

20<br />

Date and Time the rate expires (YYYYMMDDHHMMSS).<br />

Example “20050223164000”<br />

Note: Time is in military format.<br />

FXMessageCode Numeric N/A<br />

Example “3100”<br />

Note: Please See Appendix C for complete list of Results<br />

FXMessage Alphanumeric 60<br />

Note: Please See Appendix C for complete list of Response<br />

Messages<br />

Sample Response:<br />

MerchantId^100000~<strong>Transaction</strong>Type^FX~OrderNumber^10098987~StrId^130634~RequestType^X~FXI<br />

D^10003606~CurrencyId^840~ConvertedCurrencyId^124~Amount^56.78~ConvertedAmount^48.01~FXR<br />

ate^0.84566~ExpiryTime^20050223164000~FXMessageCode^3100~FXMessage^<strong>Transaction</strong> approved<br />

179


Supplementary BN(Q) Request<br />

Data<br />

M=Manda<strong>to</strong>ry Fields<br />

Field Name<br />

Type Data Size Description<br />

O=Optional Fields<br />

StringIn= N/A N/A<br />

Must be at beginning of all strings. Capitals<br />

must be used as shown.<br />

Note: Not required for XML batch requests.<br />

M<br />

VersionUsed Alphanumeric 4<br />

Version Used specific <strong>to</strong> <strong>Transaction</strong> Type<br />

Example “1” for Q<br />

Permanent Merchant ID assigned by<br />

M<br />

MerchantId Numeric N/A PaymentTrust Ltd.<br />

Example “100000”<br />

M<br />

UserName Alphanumeric 15<br />

UserName assigned by PaymentTrust Ltd.<br />

Example “Mariah”<br />

UserPassword assigned by PaymentTrust<br />

M<br />

UserPassword Alphanumeric 15 Ltd.<br />

Example “rr87uy”<br />

M<br />

<strong>Transaction</strong>Type Alphanumeric 2 <strong>Transaction</strong> Type, “BN” for BIN System. M<br />

RequestType Alpha 1 'Q' Query Request M<br />

IsTest Numeric 1<br />

''1' for "Test", '0' for "Live",<br />

Note: Defaults <strong>to</strong> 0 if left blank<br />

Indicates the maximum time the merchant<br />

O<br />

TimeOut Numeric N/A allows for the transaction, in milliseconds<br />

Recommendation “60000”<br />

Specific Order number submitted by the<br />

Merchant for tracking purposes.<br />

M<br />

OrderNumber Alphanumeric 35<br />

Example “10098987”<br />

Note: If no order number is submitted the system<br />

will generate one for the merchant at the time of<br />

the transaction.<br />

O<br />

BTTID Numeric N/A<br />

Reference Number from BN system.<br />

Example “10003606”<br />

M<br />

Sample Input String:<br />

StringIn=VersionUsed^1~MerchantId^100000~UserName^Mariah~UserPassword^rr87uy~<strong>Transaction</strong>Ty<br />

pe^BN~RequestType^Q~IsTest^1~TimeOut^60000~BTTID~10003606<br />

STLink will return the following Response for a BIN Query Request<br />

(Q)<br />

Field Name Data Type Data Size Description<br />

MerchantId Numeric N/A<br />

Permanent Merchant ID assigned by PaymentTrust Ltd.<br />

Example “100000”<br />

<strong>Transaction</strong>Type Alpha 2 <strong>Transaction</strong> Type, “BN” for Bin System<br />

Order number submitted by the Merchant or a number<br />

OrderNumber Alphanumeric 35<br />

generated by PaymentTrust Ltd. if order number was not<br />

specified.<br />

Example “10098987”<br />

StrId Numeric N/A Reference Number from STLink<br />

MessageCode Numeric N/A<br />

Note: Please See Appendix A for complete list of Response<br />

Messages<br />

180


Field Name Data Type Data Size Description<br />

BTTID Numeric N/A<br />

Reference Number from BN system<br />

Example “10003606”<br />

Standard Card Types<br />

Example<br />

VI Visa Credit Card<br />

AX American Express<br />

BE Beneficial<br />

CB Carte Blanche<br />

CreditCardType Alpha 2<br />

DC<br />

DI<br />

Diners Club<br />

Discover<br />

JC JCB<br />

MC MasterCard<br />

SW Switch/Solo<br />

VI Visa credit<br />

VE Electron<br />

VD Visa debit<br />

MA Maestro<br />

CountryCode Alpha 2<br />

Billing contact ISO Country Code<br />

Example “US”<br />

Note: Please See Appendix D for complete list of values<br />

Issuing Bank or institution of the specific Card<br />

Issuer AlphaNumeric 100 Example “National Bank Of America”<br />

Note: This is not always available and is region specific.<br />

Sample Response:<br />

MerchantId^100000~<strong>Transaction</strong>Type^BN~OrderNumber^10098987~StrId^1125261~<br />

MessageCode^100~BTTID^10003606~CreditCardType^VI~CountryCode^US~Issuer^National Bank Of<br />

America<br />

181


Supplementary GP(Q) Request<br />

Data<br />

M=Manda<strong>to</strong>ry Fields<br />

Field Name<br />

Type Data Size Description<br />

O=Optional Fields<br />

StringIn= N/A N/A<br />

Must be at beginning of all strings. Capitals<br />

must be used as shown.<br />

Note: Not required for XML batch requests.<br />

M<br />

VersionUsed Alphanumeric 4<br />

Version Used specific <strong>to</strong> <strong>Transaction</strong> Type<br />

Example “1” for Q<br />

Permanent Merchant ID assigned by<br />

M<br />

MerchantId Numeric N/A PaymentTrust Ltd.<br />

Example “100000”<br />

M<br />

UserName Alphanumeric 15<br />

UserName assigned by PaymentTrust Ltd.<br />

Example “Mariah”<br />

UserPassword assigned by PaymentTrust<br />

M<br />

UserPassword Alphanumeric 15 Ltd.<br />

Example “rr87uy”<br />

M<br />

<strong>Transaction</strong>Type Alphanumeric 2<br />

<strong>Transaction</strong> Type, “GP” for Geo Positioning<br />

System.<br />

M<br />

RequestType Alpha 1 'Q' Query Request M<br />

IsTest Numeric 1<br />

''1' for "Test", '0' for "Live",<br />

Note: Defaults <strong>to</strong> 0 if left blank<br />

Indicates the maximum time the merchant<br />

O<br />

TimeOut Numeric N/A allows for the transaction, in milliseconds<br />

Recommendation “60000”<br />

Specific Order number submitted by the<br />

Merchant for tracking purposes.<br />

M<br />

OrderNumber Alphanumeric 35 Example “10098987”<br />

Note: If no order number is submitted the system<br />

will generate one for the merchant at the time of<br />

the transaction.<br />

O<br />

GPID Numeric N/A<br />

Reference Number from GP system<br />

Example “10003606”<br />

M<br />

Sample Input String:<br />

StringIn=VersionUsed^1~MerchantId^100000~UserName^Mariah~UserPassword^rr87uy~<strong>Transaction</strong>Ty<br />

pe^GP~RequestType^Q~IsTest^1~TimeOut^60000~GPID~10003606<br />

STLink will return the following Response for an IP Geo Positioning<br />

(GP) Query Request (Q)<br />

Field Name Data Type Data Size Description<br />

MerchantId Numeric N/A<br />

Permanent Merchant ID assigned by PaymentTrust Ltd.<br />

Example “100000”<br />

<strong>Transaction</strong>Type Alpha 2 <strong>Transaction</strong> Type, “GP” for IP Geo Positioning System.<br />

Order number submitted by the Merchant or a number<br />

OrderNumber Alphanumeric 35<br />

generated by PaymentTrust Ltd. if order number was not<br />

specified.<br />

Example “10098987”<br />

StrId Numeric N/A Reference Number from STLink<br />

MessageCode Numeric N/A<br />

Note: Please See Appendix A for complete list of Response<br />

Messages<br />

182


Field Name Data Type Data Size Description<br />

GPID Numeric N/A<br />

Reference Number from GP system.<br />

Example “10003606”<br />

Cus<strong>to</strong>mer’s IP address or DNS Address.<br />

REMOTE_ADDR Alphanumeric 100 Example “207.253.196.193” or<br />

“Dialup339.paymenttrust.com”<br />

Billing contact ISO Country Code<br />

CountryCode Alpha 2 Example “CA”<br />

Note: Please See Appendix D for complete list of values<br />

Region within the Country Code returned. This may be a<br />

province or a State.<br />

Region Alphanumeric 100 Example “QC” or “Quebec”<br />

Note: This is not always available and is country<br />

specific.<br />

City within the Country Code returned<br />

City Alphanumeric 100<br />

Example “Montreal”<br />

Note: This is not always available and is country<br />

specific.<br />

The IP address’s connection type.<br />

ConnectionType Alphanumeric 50 Example “Dial-up”<br />

Note: This is not always available.<br />

The Remote Address’s angular distance on the earth's<br />

Longitude Alphanumeric 10<br />

surface, measured east or west from the prime meridian<br />

at Greenwich, England.<br />

Example “45.1253”<br />

The Remote Address’s angular distance north or south<br />

Latitude Alphanumeric 10 of the earth's equa<strong>to</strong>r, measured in degrees.<br />

Example “30.6532”<br />

Sample Response:<br />

MerchantId^100000~<strong>Transaction</strong>Type^GP~OrderNumber^10098987~StrID^1125261~MessageCode^100<br />

~GPID^~10003606~REMOTE_ADDR^206.196.124.2~CountryCode^US~Region^QC~City^Montreal~Lon<br />

gitude^45.1253~Latitude^30.6532<br />

183


Supplementary IM(Q) Request<br />

Data<br />

M=Manda<strong>to</strong>ry Fields<br />

Field Name<br />

Type Data Size Description<br />

O=Optional Fields<br />

StringIn= N/A N/A<br />

Must be at beginning of all strings. Capitals<br />

must be used as shown.<br />

Note: Not required for XML batch requests.<br />

M<br />

VersionUsed Alphanumeric 4<br />

Version Used specific <strong>to</strong> <strong>Transaction</strong> Type<br />

Example “1” for Q<br />

Permanent Merchant ID assigned by<br />

M<br />

MerchantId Numeric N/A PaymentTrust Ltd.<br />

Example “100000”<br />

M<br />

UserName Alphanumeric 15<br />

UserName assigned by PaymentTrust Ltd.<br />

Example “Mariah”<br />

UserPassword assigned by PaymentTrust<br />

M<br />

UserPassword Alphanumeric 15 Ltd.<br />

Example “rr87uy”<br />

M<br />

<strong>Transaction</strong>Type Alphanumeric 2<br />

<strong>Transaction</strong> Type, “IM” for Identify Me<br />

System.<br />

M<br />

RequestType Alpha 1 'Q' Query Request M<br />

IsTest Numeric 1<br />

''1' for "Test", '0' for "Live",<br />

Note: Defaults <strong>to</strong> 0 if left blank<br />

Indicates the maximum time the merchant<br />

O<br />

TimeOut Numeric N/A allows for the transaction, in milliseconds<br />

Recommendation “60000”<br />

Specific Order number submitted by the<br />

Merchant for tracking purposes.<br />

M<br />

OrderNumber Alphanumeric 35 Example “10098987”<br />

Note: If no order number is submitted the system<br />

will generate one for the merchant at the time of<br />

the transaction.<br />

O<br />

IMID Numeric N/A<br />

Reference Number from IM system.<br />

Example “10003606”<br />

M<br />

Sample Input String:<br />

StringIn=VersionUsed^1~MerchantId^100000~UserName^Mariah~UserPassword^rr87uy~<strong>Transaction</strong>Ty<br />

pe^IM~RequestType^Q~IsTest^1~TimeOut^60000~IMID~10003606<br />

STLink will return the following Response for an Identify Me (IM)<br />

Query Request (Q)<br />

Field Name Data Type Data Size Description<br />

MerchantId Numeric N/A<br />

Permanent Merchant ID assigned by PaymentTrust Ltd.<br />

Example “100000”<br />

<strong>Transaction</strong>Type Alpha 2 <strong>Transaction</strong> Type, “IM” for IdentifyMe System<br />

Order number submitted by the Merchant or a number<br />

OrderNumber Alphanumeric 35<br />

generated by PaymentTrust Ltd. if order number was not<br />

specified.<br />

Example “10098987”<br />

StrId Numeric N/A Reference Number from STLink<br />

184


Field Name Data Type Data Size Description<br />

IMID Numeric N/A<br />

Reference Number from IM system.<br />

Example “10003606”<br />

Code returned when verification is requested.<br />

MessageCode Alphanumeric 16<br />

185<br />

Possible values position 1 DOB verification:<br />

0 = DOB Matched<br />

1 = Partial Match Month/Year only<br />

2 = Partial Match<br />

3 = Partial Match age group above 18<br />

4 = Partial Match Age is valid<br />

5 = Nothing Matched<br />

6 = Could Not Verify<br />

7 = Matched with errors<br />

9 = Too many results refine search<br />

E = Error<br />

N = Not Applicable<br />

Note: For legacy merchant value 2 will return message<br />

Partial Match Year only<br />

Possible values position 2-6 ID Verification:<br />

0 = [IDType] Matched<br />

2 = Partial Match<br />

5 = Nothing Matched<br />

6 = Could Not Verify<br />

7 = Matched with errors<br />

9 = Too many results refine search<br />

E = Error<br />

N = Not Applicable<br />

Possible values position 7 Elec<strong>to</strong>ral Roll verification:<br />

0 = Matched<br />

2 = Partial Match<br />

5 = Nothing Matched<br />

6 = Could Not Verify<br />

7 = Matched with errors<br />

9 = Too many results refine search<br />

E = Error<br />

N = Not Applicable<br />

Possible values position 8 British Telecom verification:<br />

0 = Matched<br />

2 = Partial Match<br />

5 = Nothing Matched<br />

6 = Could Not Verify<br />

7 = Matched with errors<br />

9 = Too many results refine search<br />

E = Error<br />

N = Not Applicable


Field Name Data Type Data Size Description<br />

Possible values position 9 Direc<strong>to</strong>rs Data verification:<br />

0 = Matched<br />

2 = Partial Match<br />

5 = Nothing Matched<br />

6 = Could Not Verify<br />

7 = Matched with errors<br />

9 = Too many results refine search<br />

E = Error<br />

N = Not Applicable<br />

186<br />

Possible values position 10 Sanctions:<br />

0 = Matched<br />

2 = Partial Match<br />

5 = Nothing Matched<br />

6 = Could Not Verify<br />

7 = Matched with errors<br />

9 = Too many results refine search<br />

E = Error<br />

N = Not Applicable<br />

Possible values position 11 Deceased:<br />

0 = Matched<br />

2 = Partial Match<br />

5 = Nothing Matched<br />

6 = Could Not Verify<br />

7 = Matched with errors<br />

9 = Too many results refine search<br />

E = Error<br />

N = Not Applicable<br />

Possible values position 12 Global-ID:<br />

0 = Matched<br />

2 = Partial Match<br />

5 = Nothing Matched<br />

6 = Could Not Verify<br />

7 = Matched with errors<br />

9 = Too many results refine search<br />

E = Error<br />

N = Not Applicable<br />

Possible values position 13 PEP:<br />

0 = Matched<br />

2 = Partial Match<br />

5 = Nothing Matched<br />

6 = Could Not Verify<br />

7 = Matched with errors<br />

9 = Too many results refine search<br />

E = Error<br />

N = Not Applicable


Field Name Data Type Data Size Description<br />

Possible values position 14 SDN:<br />

0 = Matched<br />

2 = Partial Match<br />

5 = Nothing Matched<br />

6 = Could Not Verify<br />

7 = Matched with errors<br />

9 = Too many results refine search<br />

E = Error<br />

N = Not Applicable<br />

Message Alphanumeric N\A<br />

MRZLine1 Alphanumeric N\A<br />

MRZLine2 Alphanumeric N\A<br />

187<br />

Possible values position 15 Terrorist:<br />

0 = Matched<br />

2 = Partial Match<br />

5 = Nothing Matched<br />

6 = Could Not Verify<br />

7 = Matched with errors<br />

9 = Too many results refine search<br />

E = Error<br />

N = Not Applicable<br />

Possible values position 16 Financial:<br />

0 = Matched<br />

2 = Partial Match<br />

5 = Nothing Matched<br />

6 = Could Not Verify<br />

7 = Matched with errors<br />

9 = Too many results refine search<br />

E = Error<br />

N = Not Applicable<br />

Note: Message code will contain a sequence of<br />

alphanumeric values each mapping <strong>to</strong> a given validation<br />

request as indicated above. One value will be returned<br />

for each of the 16 possible positions. MessageCode will<br />

therefore be of length 16.<br />

Note: The term is defined as a probable match, not an<br />

exact match.<br />

Descriptive message of MessageCode<br />

Example: “Partial Match age group above 18, Partial<br />

ID matched”<br />

Machine Readable Zone (MRZ) line 1 of the passport.<br />

Example:<br />

“A


Sample Response:<br />

MerchantId^100000~<strong>Transaction</strong>Type^IM~OrderNumber^10098987~StrId^1125261~IMID^10088717~Me<br />

ssageCode^0~Message^DOB Matched<br />

188


6.3 XML Definitions<br />

RiskGuardian Request (RG)<br />

Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

189<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />


Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

190


RiskGuardian Request (RG) with RequestType = R for Reprocessing<br />

Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

191<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />


DataShare:<br />

Authorisation Request (DS)(A)<br />

Deposit (Settlement) Request (DS)(D)<br />

Sale Request (DS)(S)<br />

Refund Request (DS)(R)<br />

Finalise Request (DS)(F)<br />

Cancellation Request (DS)(C)<br />

Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

192<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />


<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

193


<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

194


Data Sharing PayBack with Electronic Credit Request (DS)(P)<br />

Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

195<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />


Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

196


Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

197


PaymentTrust Authorization Request (PT)(A)<br />

Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

198<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />


<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

PaymentTrust Forced Authorization Request (PT)(A)<br />

Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

199<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />


<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

200


PaymentTrust Deposit (Settlement) Request (PT)(D)<br />

Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

201<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />


PaymentTrust Refund Request (PT)(R)<br />

Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

202<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

PaymentTrust Forced Refund Request (PT)(R)<br />

Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />


PaymentTrust Simultaneous Authorization and Settlement (Sale)<br />

Request (PT)(S)<br />

Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

203<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />


<br />

<br />

<br />

<br />

<br />

<br />

PaymentTrust Simultaneous Forced Authorization and Settlement<br />

(Sale) Request (PT)(S)<br />

Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

204<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />


<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

PaymentTrust Cancellation Request (PT)(C)<br />

Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

205<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />


PaymentTrust PayBack with Credit Card Request (PT)(P)<br />

Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

206<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />


PaymentTrust PayBack with Cheque Request (PT)(P)<br />

Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

207<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />


PaymentTrust PayBack with Electronic Credit Request (PT)(P)<br />

Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

208<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />


PaymentTrust Bank Transfer ID Request (PT)(B)<br />

Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

209<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />


PaymentTrust Deposit (Settlement) Request (PT)(D) for PURCHASING<br />

CARDS (VISA, AMEX, MASTER CARD)<br />

Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

210<br />

<br />

<br />

<br />

<br />

<br />

<br />


Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

211


PaymentTrust Simultaneous Authorization and Settlement (Sale)<br />

request (PT)(S) for PURCHASING CARDS (VISA, AMEX, MASTER<br />

CARD)<br />

Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

212<br />

<br />

<br />

<br />

<br />

<br />

<br />


Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

213


PaymentTrust Refund Request (PT)(R) for PURCHASING CARDS<br />

(VISA, AMEX, MASTER CARD)<br />

Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

214<br />

<br />

<br />

<br />

<br />

<br />

<br />


Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

215


Data Sharing Batch Request (DS)<br />

Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

< AccountCountryCode /><br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

216<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />


Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

217


Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

218


PaymentTrust Forced Authorization Batch Request (PT)(A)<br />

Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

219<br />

<br />

<br />

<br />

<br />

<br />

<br />


Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

220


PaymentTrust Deposit (Settlement) Batch Request (PT)(D)<br />

Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

221<br />

<br />

<br />

<br />

<br />

<br />

<br />


PaymentTrust Refund Batch Request (PT)(R)<br />

Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

222<br />

<br />

<br />

<br />

<br />

<br />

<br />


PaymentTrust Forced Refund Batch Request (PT)(R)<br />

Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

223<br />

<br />

<br />

<br />

<br />

<br />

<br />


PaymentTrust Simultaneous Authorization and Settlement (Sale)<br />

Batch Request (PT)(S)<br />

Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

224<br />

<br />

<br />

<br />

<br />

<br />

<br />


Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

225


PaymentTrust Simultaneous Forced Authorization and Settlement<br />

(Sale) Batch Request (PT)(S)<br />

Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

226<br />

<br />

<br />

<br />

<br />

<br />

<br />


Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

227


PaymentTrust Cancellation Batch Request (PT)(C)<br />

Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

228<br />

<br />

<br />

<br />

<br />

<br />

<br />


PaymentTrust PayBack with Credit Card Batch Request (PT)(P)<br />

Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

229<br />

<br />

<br />

<br />

<br />

<br />

<br />


PaymentTrust PayBack with Cheque Batch Request (PT)(P)<br />

Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

230<br />

<br />

<br />

<br />

<br />

<br />

<br />


PaymentTrust PayBack with Electronic Credit Batch Request (PT)(P)<br />

Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

231<br />

<br />

<br />

<br />

<br />

<br />

<br />


PaymentTrust Bank Transfer ID Batch Request (PT)(B)<br />

Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

232<br />

<br />

<br />

<br />

<br />

<br />

<br />


PaymentTrust Deposit (Settlement) Batch Request (PT)(D) for<br />

PURCHASING CARDS (VISA, AMEX, MASTER CARD)<br />

Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

233<br />

<br />

<br />

<br />

<br />

<br />

<br />


Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

234


PaymentTrust Simultaneous Authorization and Settlement (Sale)<br />

Batch Request (PT)(S) for PURCHASING CARDS (VISA, AMEX,<br />

MASTER CARD)<br />

Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

235<br />

<br />

<br />

<br />

<br />

<br />

<br />


Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

236


PaymentTrust Refund Batch Request (PT)(R) for PURCHASING<br />

CARDS (VISA, AMEX, MASTER CARD)<br />

Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

237<br />

<br />

<br />

<br />

<br />

<br />

<br />


Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

238


3D <strong>Secure</strong> Verify Enrollment Request (3D)(V)<br />

Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

3D <strong>Secure</strong> Authenticate Request (3D)(A)<br />

Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

239<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />


Foreign Exchange Rate Request (FX)(X)<br />

Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

Foreign Exchange Placement Request (FX)(D)<br />

Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

240<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />


Foreign Exchange Refund Request (FX)(R)<br />

Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

241<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

Foreign Exchange Cancellation Request (FX)(C)<br />

Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />


BIN System Request (BN) (Also known as Issuer Identification<br />

Number)<br />

Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

IP Geo Positioning Request (GP)<br />

Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

242<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />


Identify Me Request (IM)<br />

Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

243<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />


Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

244


RiskGuardian (RG) Supplementary (Q) Request<br />

Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

245<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />


DataShare (DS) Supplementary (Q) Request<br />

Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

246<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />


PaymentTrust (PT) Supplementary (Q) Request for communication<br />

failures.<br />

Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

247<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />


PaymentTrust (PT) Supplementary (Q) Request for Batch<br />

Submissions<br />

Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

248<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />


Foreign Exchange Supplementary (Q) Request<br />

Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

249<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />


BIN (BN) Supplementary (Q) Request<br />

Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

250<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

IP Geo Positioning (GP) Supplementary (Q) Request<br />

Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

Identify Me (IM) Supplementary (Q) Request<br />

Request Response<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />


DataShare: His<strong>to</strong>rical Data Loading<br />

A comma delimited (CSV) file used <strong>to</strong> load a merchant’s his<strong>to</strong>rical data in<strong>to</strong> the Data Sharing system.<br />

Note: There is a limit of 500,000 transactions per HDL file.<br />

HDL Header<br />

The header is the first line of the HDL file.<br />

Data<br />

M=Manda<strong>to</strong>ry Fields<br />

Column Field Name Data Type Size Description<br />

O=Optional Fields<br />

1 VersionUsed Alphanumeric 4<br />

Version Used specific <strong>to</strong> <strong>Transaction</strong> Type.<br />

Note: Must evaluate <strong>to</strong> numeric value for<br />

DS.<br />

Example “1” for DS<br />

Permanent Merchant ID assigned by<br />

M<br />

2 MerchantId Numeric N/A PaymentTrust Ltd.<br />

Example “100000”<br />

M<br />

3 UserName Alphanumeric 15<br />

UserName assigned by PaymentTrust Ltd.<br />

Example “Mariah”<br />

UserPassword assigned by PaymentTrust<br />

M<br />

4 UserPassword Alphanumeric 15 Ltd.<br />

Example “rr87uy”<br />

M<br />

5 <strong>Transaction</strong>Type Alphanumeric 2 <strong>Transaction</strong> Type, “DS” for DataShare M<br />

6 IsTest Numeric 1<br />

''1' for "Test", '0' for "Live",<br />

Note: Defaults <strong>to</strong> 0 if left blank<br />

O<br />

7 NumberOfRecords Numeric 1<br />

Number of record events included in the<br />

HDL file.<br />

M<br />

HDL Record Event<br />

The body of the HDL file consists of multiple record events. Each new line is a separate record event.<br />

All fields are delimited by a coma.<br />

Note: Please reference the latest Ethoca integration documents for additional information regarding<br />

optional fields.<br />

Colum<br />

Data<br />

M=Manda<strong>to</strong>ry Fields<br />

n Field Name Data Type Size Description<br />

O=Optional Fields<br />

1 MerchantTRXId Alphanumeric 35<br />

The transaction ID is a merchant unique id<br />

for the request that they have submitted. It<br />

is used <strong>to</strong> check whether the request has<br />

already been processed successfully<br />

previously.<br />

Note: For existing merchants the RGID<br />

should be used.<br />

M<br />

251


Colum<br />

Data<br />

M=Manda<strong>to</strong>ry Fields<br />

n Field Name Data Type Size Description<br />

O=Optional Fields<br />

2 CustAcctID Alphanumeric 60 Client account ID. O<br />

3 CustId Alphanumeric 250 Client ID. O<br />

4 TRXProcessorID Alphanumeric 250<br />

The ID generated by the processor/financial<br />

institution of the transaction.<br />

‘A’ Authorisation.<br />

‘D’ Deposit (Settlement).<br />

‘R’ Refund<br />

O<br />

5 RequestType Alphanumeric 1 ‘S’ Sale<br />

‘C’ Cancellation<br />

‘F’ Finalise<br />

Note: Defaults <strong>to</strong> ‘A’<br />

For use <strong>to</strong> differentiate between merchants<br />

O<br />

6 S<strong>to</strong>reID Alphanumeric 10<br />

or s<strong>to</strong>res. Permanent S<strong>to</strong>re ID assigned by<br />

TrustMarque or merchant if left blank.<br />

Example “100000”<br />

Account type.<br />

CC - Visa & MasterCard debit & credit<br />

cards, Carte Bancaire, Carte Bleue<br />

DS - Switch/Solo debit cards<br />

O<br />

7 MOP Alpha 2<br />

CQ - Cheques<br />

EC - Electronic cheques or credit<br />

DC - Debit Card PIN enabled cards<br />

PC - Purchasing cards<br />

NT - Net Teller<br />

Example: “CC”<br />

Indicates the method used <strong>to</strong> receive the<br />

Credit Card information.<br />

M<br />

8 TRXSource Numeric N/A<br />

9 MessageCode Numeric N/A<br />

252<br />

1 - Swiped with a Card Present<br />

2 - Keyed by merchant with a Card present<br />

3 - Mail Order Telephone Order MOTO<br />

(Card Not Present)<br />

4 - Web orders (Card not present)<br />

5 – Web orders (Card not present, e-mail<br />

not present)<br />

9 – Integrated Circuit Card<br />

Note: Defaults <strong>to</strong> the Merchant default value<br />

during set-up.<br />

Note: Manda<strong>to</strong>ry for ICC transactions.<br />

Example “2100”<br />

Note: Please See Appendix E for complete<br />

list of results.<br />

10 InfractionMessageCode Alphanumeric 5 Bank code returned for the transaction O<br />

11 OrderNumber Alphanumeric<br />

12 AcctName Alphanumeric 60<br />

35<br />

Specific Order Number submitted by the<br />

merchant for tracking purposes.<br />

Example “10098987”<br />

Note: If no order number is submitted the system<br />

will generate one for the merchant at the time of<br />

the transaction.<br />

Account holder name on card or account.<br />

Example “John Smith 3 rd ”<br />

O<br />

O<br />

O<br />

O


Colum<br />

Data<br />

M=Manda<strong>to</strong>ry Fields<br />

n Field Name Data Type Size Description<br />

O=Optional Fields<br />

13 AcctNumber Numeric N/A<br />

Credit Card number, Debit Card number,<br />

Purchase Card number, Bank Account<br />

number, or any other applicable bank<br />

identifier.<br />

Example “4459510002561039”<br />

Note: This field is not required when<br />

TRXSource is 1.<br />

Expiry date for credit card in MMYYYY<br />

format<br />

O<br />

14 ExpDate Numeric N/A Example “092010”<br />

Note: Manda<strong>to</strong>ry for CC, PC and DS MOP<br />

types.<br />

O<br />

15 IssueNumber Numeric N/A<br />

Submit for Switch/Solo cards if available.<br />

Example “5”<br />

O<br />

16 StartDate Numeric N/A<br />

Submit for Switch/Solo cards if available.<br />

Example “092010”<br />

Payee’s bank number where funds are<br />

O<br />

17 PayeeBankNumber Numeric N/A<br />

transferred.<br />

Note: Manda<strong>to</strong>ry for payback with electronic<br />

credit.<br />

A representation of payee’s Bank Branch<br />

O<br />

18 IBAN Alphanumeric 35<br />

Code and Bank Account number.<br />

Example: “fr1234567890”<br />

Note: Starts with 2-letter CountryCode.<br />

Payee’s account number where funds are<br />

O<br />

19 PayeeAccountNumber Numeric N/A<br />

transferred.<br />

Note: Manda<strong>to</strong>ry for payback with electronic<br />

credit.<br />

The contents of this parameter appear in<br />

O<br />

20 PaymentREF Alphanumeric 60<br />

the memo field of the issued cheque or<br />

electronic credit. If omitted, defaults <strong>to</strong><br />

empty string.<br />

ISO standard numeric ids.<br />

Example 840 = USD, 124 = CAD, 826 =<br />

O<br />

21 CurrencyId Numeric N/A GBP<br />

Note: Please see Appendix B for complete list of<br />

values.<br />

The type of account being used:<br />

M<br />

22 AcctSetUp Numeric N/A<br />

Example:<br />

0 = Not Joint<br />

1 = Joint<br />

Indicates type of transaction.<br />

Example:<br />

0 – Pre-arranged Payment, e-check<br />

O<br />

23 TRXType Numeric N/A 1 – Point of Purchase<br />

2 – Accounts Receivable Conversion<br />

3 – Telephone Initiated<br />

4 – Internet Initiated<br />

The type of bank account.<br />

Example:<br />

O<br />

24 TypeOfAcct Numeric N/A 0 = Checking<br />

1 = Savings<br />

2 = Other<br />

O<br />

25 PrimaryAcctName Alphanumeric 60 The primary account holder’s name. O<br />

26 SecondaryAcctName Alphanumeric 60 The secondary account holder’s name. O<br />

253


Colum<br />

Data<br />

M=Manda<strong>to</strong>ry Fields<br />

n Field Name Data Type Size Description<br />

O=Optional Fields<br />

27 AccountCountryCode Alpha 2<br />

Payee’s account number ISO Country<br />

Code.<br />

Example “US”<br />

Note: Please See Appendix D for complete list of<br />

values<br />

Was the event successfully represented or not.<br />

O<br />

28 Representment Numeric 1<br />

Valid values for this are:<br />

Example : 0 = No<br />

1 = Yes<br />

1st party fraud occurs when a cus<strong>to</strong>mer commits<br />

fraud on their own account. 3rd party fraud<br />

occurs when a 3rd party steals a financial<br />

instrument (e.g., credit card) and commits fraud<br />

O<br />

29 Fraud Type Numeric 1 on someone else's account.<br />

O<br />

30 Amount Numeric N/A<br />

31 InfractionAmount Numeric N/A<br />

32 TRXDateTime Alphanumeric 20<br />

33 InfractionDateTime Alphanumeric 20<br />

34 Company Alphanumeric 60<br />

35 Title Alphanumeric 20<br />

36 FirstName Alphanumeric 60<br />

254<br />

Example:<br />

0 = First Party Fraud<br />

1 = Third Party Fraud<br />

<strong>Transaction</strong> amount. Up <strong>to</strong> 4 decimals<br />

maximum. Decimal varies based on<br />

CurrencyId.<br />

Example 840 = “56.78”, 392 = “99”, 048 =<br />

“125.333”<br />

Infraction amount. Up <strong>to</strong> 4 decimals<br />

maximum. Decimal varies based on<br />

CurrencyId.<br />

Example 840 = “56.78”, 392 = “99”, 048 =<br />

“125.333”<br />

Date and Time the transaction<br />

(YYYYMMDDHHMMSS).<br />

Example “20050223164000”<br />

Note: Time is in military format, and must<br />

use time zone GMT.<br />

Note: If IsChargeBack = 1, or<br />

MessageCode = 2960 this field becomes<br />

manda<strong>to</strong>ry<br />

Date and Time the transaction was<br />

recorded as an infraction<br />

(YYYYMMDDHHMMSS).<br />

Example “20050223164000”<br />

Note: Time is in military format, and must<br />

use time zone GMT.<br />

Note: If IsChargeBack = 1, or<br />

MessageCode = 2960 this field becomes<br />

manda<strong>to</strong>ry<br />

Billing contact company.<br />

Example “Trustmarque”<br />

Billing contact Title.<br />

Example “Sir”<br />

Billing contact First Name.<br />

Example “John”<br />

37 MiddleName Alphanumeric 60 Billing contact Middle Name. O<br />

38 LastName Alphanumeric 60<br />

Billing contact Last Name.<br />

Example “Smith”<br />

M<br />

O<br />

M<br />

O<br />

O<br />

O<br />

M<br />

M


Colum<br />

Data<br />

M=Manda<strong>to</strong>ry Fields<br />

n Field Name Data Type Size Description<br />

O=Optional Fields<br />

39 AliasFirstName Alphanumeric 20<br />

Alias First Name of the individual <strong>to</strong> be<br />

verified.<br />

Example “John”<br />

Alias Middle Name of the individual <strong>to</strong> be<br />

O<br />

40 AliasMiddleName Alphanumeric 20 verified.<br />

Example “Thomas”<br />

Alias Last Name of the individual <strong>to</strong> be<br />

O<br />

41 AliasLastName Alphanumeric 20 verified.<br />

Example “Smith”<br />

O<br />

42 Suffix Alphanumeric 20<br />

Billing contact suffix.<br />

Example “ 3 rd ”<br />

Billing contact Address line 1.<br />

O<br />

43 Address1 Alphanumeric 60 Example “2130 Gold”<br />

Note: Required for AVS<br />

M<br />

44 Address2 Alphanumeric 60<br />

Billing contact Address line 2.<br />

Example “Suite101”<br />

O<br />

45 Address3 Alphanumeric 60 Billing contact Address line 3. O<br />

46 Unit Alphanumeric 15 Billing unit number / apartment number. O<br />

47 BuildingNumber Alphanumeric 10 Billing house, or building number. O<br />

48 StreetName Alphanumeric 30 Billing street name. O<br />

49 StreetType Alphanumeric 15<br />

Billing street type.<br />

Example: avenue, street, road<br />

Billing street direction.<br />

Example:<br />

N = North<br />

NE = NorthEast<br />

O<br />

50 StreetDirection Alpha 2<br />

E = East<br />

SE = SouthEast<br />

S = South<br />

SW = SouthWest<br />

W = West<br />

NW = NorthWest<br />

Billing contact City.<br />

O<br />

51 City Alphanumeric 60 Example “New York”<br />

Note: Required for AVS.<br />

The billing information state based on the<br />

two-character long ISO codes. This is a<br />

manda<strong>to</strong>ry field for North America only. The<br />

M<br />

remaining world regions /Provinces may use<br />

52 StateCode Alphanumeric 60 this as an Optional field.<br />

Example “NY”<br />

Note: Required for AVS.<br />

Note: Please See Appendix C for complete list of<br />

values.<br />

Billing contact ZIP / Postal Code.<br />

O<br />

53 ZipCode Alphanumeric 30 Example “90210”<br />

Note: Required for AVS.<br />

Billing contact ISO Country Code.<br />

O<br />

Example “US”<br />

54 CountryCode Alpha 2 Note: Required for AVS.<br />

Note: Please See Appendix D for complete list of<br />

values.<br />

Billing contact Phone Number, only digits,<br />

M<br />

55 PhoneNumber Alphanumeric 30 no parentheses.<br />

Example “6188565656”<br />

O<br />

255


Colum<br />

Data<br />

M=Manda<strong>to</strong>ry Fields<br />

n Field Name Data Type Size Description<br />

O=Optional Fields<br />

56 PhoneExtension Alphanumeric 10<br />

Billing contact Phone Extension.<br />

Example “5654”<br />

O<br />

57 Email Alphanumeric 50<br />

Billing contact Email address.<br />

Example “johns@aol.com”<br />

O<br />

58 Email2 Alphanumeric 50<br />

Additional Email address 3.<br />

Example “johns@aol.com”<br />

Additional Email address 2 type.<br />

“Business”<br />

“Other1”<br />

O<br />

59 EmailType2 Alphanumeric 8 “Other2”<br />

“Other3”<br />

Note: Field becomes manda<strong>to</strong>ry if Phone2 is<br />

populated.<br />

O<br />

60 Email3 Alphanumeric 50<br />

Additional Email address 3.<br />

Example “johns@aol.com”<br />

Additional Email address 3 type.<br />

“Business”<br />

“Other1”<br />

O<br />

61 EmailType3 Alphanumeric 8 “Other2”<br />

“Other3”<br />

Note: Field becomes manda<strong>to</strong>ry if Phone3 is<br />

populated.<br />

The Date Of Birth as entered by the<br />

consumer in a DDMMYYYY format.<br />

O<br />

62 DOB Numeric N/A<br />

Example “23091963”<br />

Note: Please make sure that single digit<br />

months are padded with zero in the<br />

beginning. I.e: 9 becomes 09.<br />

In Countries where ID is required as an<br />

additional doc <strong>to</strong> verify the age then the<br />

type of the ID that is being sent must be<br />

provided.<br />

PP – PassPort<br />

O<br />

63 IDType1 Alpha 2 DL – Drivers License<br />

CC – Citizenship Card ID<br />

MD – Medical ID<br />

SI – Social Insurance Number<br />

OT – Other<br />

Note: Manda<strong>to</strong>ry depending on country.<br />

O<br />

64 IDHolder1 Alphanumeric 60 Name of the ID holder.<br />

In Countries where ID is required as an<br />

additional doc <strong>to</strong> verify the age then based<br />

on the type specified in the IDType field a<br />

O<br />

65 IDNumber1 Alphanumeric 100 number is provided.<br />

Example “XJK23091963” or<br />

“jhsdgf743hgwf”<br />

Note: Manda<strong>to</strong>ry depending on country<br />

Expiry date of the ID as entered by the<br />

consumer in a DDMMYYYY format.<br />

O<br />

66 IDExpiryDate1 Numeric N/A<br />

Example “23091963”<br />

Note: Please make sure that single digit<br />

months are padded with zero in the<br />

beginning. I.e: 9 becomes 09.<br />

O<br />

256


Colum<br />

Data<br />

M=Manda<strong>to</strong>ry Fields<br />

n Field Name Data Type Size Description<br />

O=Optional Fields<br />

67 IDIssuingCountry1 Alpha 3<br />

Country which issued the piece of<br />

identification.<br />

Note: On passports country of issuance is<br />

on the <strong>to</strong>p of the passport there may not be<br />

a label stating “Issuing Country”<br />

O<br />

68 IDIssuingStateCode1 Alpha 30<br />

State/Province which issued the piece of<br />

identification.<br />

Issue date of the ID as entered by the<br />

consumer in a DDMMYYYY format.<br />

O<br />

69 IDIssueDate1 Numeric N/A<br />

Example “23091963”<br />

Note: Please make sure that single digit<br />

months are padded with zero in the<br />

beginning. I.e: 9 becomes 09.<br />

In Countries where ID is required as an<br />

additional doc <strong>to</strong> verify the age then the<br />

type of the ID that is being sent must be<br />

provided.<br />

PP – PassPort<br />

O<br />

70 IDType2 Alpha 2 DL – Drivers License<br />

CC – Citizenship Card ID<br />

MD – Medical ID<br />

SI – Social Insurance Number<br />

OT – Other<br />

Note: Manda<strong>to</strong>ry depending on country.<br />

O<br />

71 IDHolder2 Alphanumeric 60 Name of the ID holder<br />

In Countries where ID is required as an<br />

additional doc <strong>to</strong> verify the age then based<br />

on the type specified in the IDType field a<br />

O<br />

72 IDNumber2 Alphanumeric 100 number is provided.<br />

Example “XJK23091963” or<br />

“jhsdgf743hgwf”<br />

Note: Manda<strong>to</strong>ry depending on country.<br />

Expiry date of the ID as entered by the<br />

consumer in a DDMMYYYY format.<br />

O<br />

73 IDExpiryDate2 Numeric N/A<br />

Example “23091963”<br />

Note: Please make sure that single digit<br />

months are padded with zero in the<br />

beginning. I.e: 9 becomes 09.<br />

Country which issued the piece of<br />

identification<br />

O<br />

74 IDIssuingCountry2 Alpha 3 Note: On passports country of issuance is<br />

on the <strong>to</strong>p of the passport there may not be<br />

a label stating “Issuing Country”<br />

O<br />

75 IDIssuingStateCode2 Alpha 30<br />

State/Province which issued the piece of<br />

identification.<br />

Issue date of the ID as entered by the<br />

consumer in a DDMMYYYY format.<br />

O<br />

76 IDIssueDate2 Numeric N/A<br />

Example “23091963”<br />

Note: Please make sure that single digit<br />

months are padded with zero in the<br />

beginning. I.e: 9 becomes 09.<br />

O<br />

257


Colum<br />

Data<br />

M=Manda<strong>to</strong>ry Fields<br />

n Field Name Data Type Size Description<br />

O=Optional Fields<br />

77 IDType3 Alpha 2<br />

In Countries where ID is required as an<br />

additional doc <strong>to</strong> verify the age then the<br />

type of the ID that is being sent must be<br />

provided.<br />

PP – PassPort<br />

DL – Drivers License<br />

CC – Citizenship Card ID<br />

MD – Medical ID<br />

SI – Social Insurance Number<br />

OT – Other<br />

Note: Manda<strong>to</strong>ry depending on country.<br />

O<br />

78 IDHolder3 Alphanumeric 60 Name of the ID holder.<br />

In Countries where ID is required as an<br />

additional doc <strong>to</strong> verify the age then based<br />

on the type specified in the IDType field a<br />

O<br />

79 IDNumber3 Alphanumeric 100 number is provided.<br />

Example “XJK23091963” or<br />

“jhsdgf743hgwf”<br />

Note: Manda<strong>to</strong>ry depending on country.<br />

Expiry date of the ID as entered by the<br />

consumer in a DDMMYYYY format.<br />

O<br />

80 IDExpiryDate3 Numeric 8<br />

Example “23091963”<br />

Note: Please make sure that single digit<br />

months are padded with zero in the<br />

beginning. I.e: 9 becomes 09.<br />

Country which issued the piece of<br />

identification.<br />

O<br />

81 IDIssuingCountry3 Alpha 3 Note: On passports country of issuance is<br />

on the <strong>to</strong>p of the passport there may not be<br />

a label stating “Issuing Country”<br />

O<br />

82 IDIssuingStateCode3 Alpha 30<br />

State/Province which issued the piece of<br />

identification.<br />

Issue date of the ID as entered by the<br />

consumer in a DDMMYYYY format.<br />

O<br />

83 IDIssueDate3 Numeric N/A<br />

Example “23091963”<br />

Note: Please make sure that single digit<br />

months are padded with zero in the<br />

beginning. I.e: 9 becomes 09.<br />

In Countries where ID is required as an<br />

additional doc <strong>to</strong> verify the age then the<br />

type of the ID that is being sent must be<br />

provided.<br />

PP – PassPort<br />

O<br />

84 IDType4 Alpha 2 DL – Drivers License<br />

CC – Citizenship Card ID<br />

MD – Medical ID<br />

SI – Social Insurance Number<br />

OT – Other<br />

Note: Manda<strong>to</strong>ry depending on country.<br />

O<br />

85 IDHolder4 Alphanumeric 60 Name of the ID holder. O<br />

258


Colum<br />

Data<br />

M=Manda<strong>to</strong>ry Fields<br />

n Field Name Data Type Size Description<br />

O=Optional Fields<br />

86 IDNumber4 Alphanumeric 100<br />

In Countries where ID is required as an<br />

additional doc <strong>to</strong> verify the age then based<br />

on the type specified in the IDType field a<br />

number is provided.<br />

Example “XJK23091963” or<br />

“jhsdgf743hgwf”<br />

Note: Manda<strong>to</strong>ry depending on country.<br />

Expiry date of the ID as entered by the<br />

consumer in a DDMMYYYY format.<br />

O<br />

87 IDExpiryDate4 Numeric N/A<br />

Example “23091963”<br />

Note: Please make sure that single digit<br />

months are padded with zero in the<br />

beginning. I.e: 9 becomes 09.<br />

Country which issued the piece of<br />

identification.<br />

O<br />

88 IDIssuingCountry4 Alpha 3 Note: On passports country of issuance is<br />

on the <strong>to</strong>p of the passport there may not be<br />

a label stating “Issuing Country”.<br />

O<br />

89 IDIssuingStateCode4 Alpha 30<br />

State/Province sued the piece of<br />

identification.<br />

Issue date of the ID as entered by the<br />

consumer in a DDMMYYYY format.<br />

O<br />

90 IDIssueDate4 Numeric N/A<br />

Example “23091963”<br />

Note: Please make sure that single digit<br />

months are padded with zero in the<br />

beginning. I.e: 9 becomes 09.<br />

In Countries where ID is required as an<br />

additional doc <strong>to</strong> verify the age then the<br />

type of the ID that is being sent must be<br />

provided.<br />

PP – PassPort<br />

O<br />

91 IDType5 Alpha 2 DL – Drivers License<br />

CC – Citizenship Card ID<br />

MD – Medical ID<br />

SI – Social Insurance Number<br />

OT – Other<br />

Note: Manda<strong>to</strong>ry depending on country.<br />

O<br />

92 IDHolder5 Alphanumeric 60 Name of the ID holder<br />

In Countries where ID is required as an<br />

additional doc <strong>to</strong> verify the age then based<br />

on the type specified in the IDType field a<br />

O<br />

93 IDNumber5 Alphanumeric 100 number is provided.<br />

Example “XJK23091963” or<br />

“jhsdgf743hgwf”<br />

Note: Manda<strong>to</strong>ry depending on country<br />

Expiry date of the ID as entered by the<br />

consumer in a DDMMYYYY format.<br />

O<br />

94 IDExpiryDate5 Numeric N/A<br />

Example “23091963”<br />

Note: Please make sure that single digit<br />

months are padded with zero in the<br />

beginning. I.e: 9 becomes 09.<br />

O<br />

259


Colum<br />

Data<br />

M=Manda<strong>to</strong>ry Fields<br />

n Field Name Data Type Size Description<br />

O=Optional Fields<br />

95 IDIssuingCountry5 Alpha 3<br />

Country which issued the piece of<br />

identification.<br />

Note: On passports country of issuance is<br />

on the <strong>to</strong>p of the passport there may not be<br />

a label stating “Issuing Country”<br />

O<br />

96 IDIssuingStateCode5 Alpha 30<br />

State/Province sued the piece of<br />

identification.<br />

Issue date of the ID as entered by the<br />

consumer in a DDMMYYYY format.<br />

O<br />

97 IDIssueDate5 Numeric N/A<br />

Example “23091963”<br />

Note: Please make sure that single digit<br />

months are padded with zero in the<br />

beginning. I.e: 9 becomes 09.<br />

O<br />

98 SecondaryCompany Alphanumeric 60<br />

Additional contact company<br />

Example “PaymentTrust Ltd.”<br />

O<br />

99 SecondaryTitle Alphanumeric 20<br />

Additional contact Title.<br />

Example “Sir”<br />

O<br />

100 SecondaryFirstName Alphanumeric 60<br />

Additional contact First Name.<br />

Example “John”<br />

O<br />

101 SecondaryMiddleName Alphanumeric 60 Additional contact Middle Name. O<br />

102 SecondaryLastName Alphanumeric 60<br />

Additional contact Last Name.<br />

Example “Smith”<br />

Additional contact suffix.<br />

O<br />

103 SecondaryoSuffix Alphanumeric 20 Only if TypeOfSale = H<br />

Example “3rd”<br />

O<br />

104 SecondaryAddress1 Alphanumeric 60<br />

Additional contact Address line 1.<br />

Example “2130 Gold”<br />

O<br />

105 SecondaryAddress2 Alphanumeric 60<br />

Additional contact Address line 2.<br />

Example “Suite101”<br />

O<br />

106 SecondaryAddress3 Alphanumeric 60 Additional contact Address line 3. O<br />

107 SecondaryUnit Alphanumeric 15<br />

Additional contact unit number / apartment<br />

number.<br />

O<br />

108 SecondaryBuildingNum<br />

ber<br />

Alphanumeric 10<br />

Additional contact house, or building<br />

number.<br />

O<br />

109 SecondaryStreetName Alphanumeric 30 Additional contact street name. O<br />

110 SecondaryStreetType Alphanumeric 15<br />

Additional contact street type.<br />

Example: “avenue”, “street”, “road”<br />

Additional contact street direction<br />

Example:<br />

N = North<br />

NE = NorthEast<br />

O<br />

111 SecondaryStreetDirection Alpha 2<br />

E = East<br />

SE = SouthEast<br />

S = South<br />

SW = SouthWest<br />

W = West<br />

NW = NorthWest<br />

O<br />

112 SecondaryCity Alphanumeric 60<br />

Additional contact City.<br />

Example “New York”<br />

O<br />

260


Colum<br />

Data<br />

M=Manda<strong>to</strong>ry Fields<br />

n Field Name Data Type Size Description<br />

O=Optional Fields<br />

113 SecondaryStateCode Alphanumeric 30<br />

Additional contact state code, two-character<br />

long ISO code required for North America.<br />

Remaining Region and Provinces may use<br />

free form field or leave it blank.<br />

Example “NY”<br />

Note: Please See Appendix C for complete list of<br />

values.<br />

O<br />

114 SecondaryZipCode Alphanumeric 30<br />

Additional contact ZIP / Postal Code<br />

Example “90210”<br />

Additional contact ISO Country Code, list<br />

will be provided by PaymentTrust Ltd.<br />

O<br />

115 SecondaryCountryCode Alpha 2 Example “US”<br />

Note: Please See Appendix D for complete list of<br />

values.<br />

Additional contact type of address.<br />

“Business”<br />

O<br />

116 SecondaryAddressType Alphanumeric 50<br />

“Shipping”<br />

“Home”<br />

Note: Field becomes manda<strong>to</strong>ry if secondary<br />

address information is populated<br />

O<br />

117 PhoneNumber1 Alphanumeric 30<br />

Additional Phone Number 1.<br />

Example “6188565656”<br />

O<br />

118 PhoneExtension1 Alphanumeric 10<br />

Additional Phone Number 1 Extension.<br />

Example “5654”<br />

Additional Phone Number 1 ISO Country<br />

O<br />

119 PhoneCountryCode1 Alphanumeric 2<br />

Code.<br />

Note: Please See Appendix D for complete list of<br />

values.<br />

Additional Phone Number 1 type.<br />

“Business”<br />

“BusinessFax”<br />

“Mobile”<br />

O<br />

120 PhoneType1 Alphanumeric 11<br />

“HomeFax”<br />

“Pager”<br />

“Other1”<br />

“Other2”<br />

Note: Field becomes manda<strong>to</strong>ry if<br />

PhoneNumber1 is populated.<br />

O<br />

121 PhoneNumber2 Alphanumeric 30<br />

Additional Phone Number 2.<br />

Example “6188565656”<br />

O<br />

122 PhoneExtension2 Alphanumeric 10<br />

Additional Phone Number 2 Extension.<br />

Example “5654”<br />

Additional Phone Number 2 ISO Country<br />

O<br />

123 PhoneCountryCode2 Alphanumeric 2<br />

Code.<br />

Note: Please See Appendix D for complete list of<br />

values<br />

Additional Phone Number 2 type.<br />

“Business”<br />

“BusinessFax”<br />

“Mobile”<br />

O<br />

124 PhoneType2 Alphanumeric 11<br />

“HomeFax”<br />

“Pager”<br />

“Other1”<br />

“Other2”<br />

Note: Field becomes manda<strong>to</strong>ry if<br />

PhoneNumber2 is populated.<br />

O<br />

261


Colum<br />

Data<br />

M=Manda<strong>to</strong>ry Fields<br />

n Field Name Data Type Size Description<br />

O=Optional Fields<br />

125 PhoneNumber3 Alphanumeric 30<br />

Additional Phone Number 3.<br />

Example “6188565656”<br />

O<br />

126 PhoneExtension3 Alphanumeric 10<br />

Additional Phone Number 3 Extension.<br />

Example “5654”<br />

Additional Phone Number 3 ISO Country<br />

O<br />

127 PhoneCountryCode3 Alphanumeric 2<br />

Code.<br />

Note: Please See Appendix D for complete list of<br />

values<br />

Additional Phone Number 3 type.<br />

“Business”<br />

“BusinessFax”<br />

“Mobile”<br />

O<br />

128 PhoneType3 Alphanumeric 11<br />

“HomeFax”<br />

“Pager”<br />

“Other1”<br />

“Other2”<br />

Note: Field becomes manda<strong>to</strong>ry if<br />

PhoneNumber3 is populated.<br />

“0” for “No scoring”,<br />

“1” for “Score transaction only, and do not<br />

add <strong>to</strong> data for future scores”,<br />

O<br />

129 ProcessType Numeric N/A “2” for “Score transaction, and add <strong>to</strong> data<br />

for future scores”<br />

“3” for “Record an account creation, or<br />

update <strong>to</strong> an existing account”<br />

M<br />

130 IsChargeBack Numeric N/A<br />

''1” for "Yes”, “0” for "No",<br />

Note: Defaults <strong>to</strong> 0 if left blank<br />

Cus<strong>to</strong>mer’s IP address or DNS Address.<br />

Example “207.253.196.193” or<br />

O<br />

131 REMOTE_ADDR Alphanumeric 100 “Dialup339.trustmarque.com”<br />

Note: This becomes an optional field when<br />

TRXSource = 3 for MOTO TRX.<br />

Cus<strong>to</strong>mer’s IP address or DNS Address.<br />

Example “207.253.196.193” or<br />

M<br />

132 REMOTE_ADDR2 Alphanumeric 100 “Dialup339.trustmarque.com”<br />

Note: This becomes an optional field when<br />

TRXSource = 3 for MOTO TRX.<br />

O<br />

133 HTTP_USER_AGENT Alphanumeric<br />

200 Cus<strong>to</strong>mer’s HTTP header<br />

‘HTTP_USER_AGENT’<br />

O<br />

262


7 DEVELOPMENT<br />

Developing for STLink and STN<br />

This section outlines guidelines and sample code for communicating with STLink. Code<br />

fragments are shown for the more common programming environments.<br />

The supplied strings are only examples and do not represent real strings. Any URLs that are<br />

referenced are valid at the point of this document’s creation and may change at any time.<br />

Requests may be submitted in XML. XML responses will be returned. Submitted code will differ<br />

only in that submitted string requests will be in XML format suggested by PaymentTrust Ltd..<br />

All transaction requests must be submitted <strong>to</strong> STLink and all batch requests <strong>to</strong> STLink Batch.<br />

Both STLink and STLink Batch accept the HTTP and HTTPS pro<strong>to</strong>cols, though it is<br />

recommended that the HTTPS pro<strong>to</strong>col be used <strong>to</strong> safely transmit the requests via the Internet.<br />

All requests must be submitted using the HTTP POST method. The POST method works by<br />

supplying key/value pairs, where the key and value are split by the “=” symbol and key/value<br />

pairs by the “&” symbol. For instance: key1=some value&key2=some value... In the case of<br />

STLink, there is one key value pair. The key is StringIn and the value is any transaction type<br />

outlined in section 6.1.<br />

Example Q request (Non XML):<br />

StringIn=VersionUsed^1~MerchantId^100000~UserName^Mariah~UserPassword^rr87uy~<strong>Transaction</strong>Type^<br />

Q~IsTest^1~TimeOut^60000~BatchId^938344376~<br />

Example Q request (XML):<br />

StringIn=1100000Mariahrr87uyQ190000938344376<br />

Though STLink Batch accepts POST requests, it is important <strong>to</strong> note that the StringIn key is not<br />

required and must not be submitted <strong>to</strong> the STLink Batch for batch requests. If not the batch<br />

request will be rejected for reason of being a malformed XML document.<br />

The “=” and “&” symbols are standard characters used in the HTTP pro<strong>to</strong>col <strong>to</strong> separate<br />

key/value pairs, there fore it is important that no “=” and “&” symbols be found in the transactions,<br />

although this can be overcome by escaping all characters after the StringIn key by using URL<br />

encoding. URL encoding allows the “=”, “&” and other HTTP characters <strong>to</strong> be included in the<br />

transaction.<br />

Example:<br />

StringIn=<br />

Because STLink Batch does use the StringIn key, the batch request must not be URL encoded. If<br />

not the batch request will be rejected for reason of being a malformed XML document.<br />

XML has its own encoding rules. For 0ne, the STLink and STLink Batch will support any XML<br />

document that has been encoded in an 8-bit ANSI character set, such as: ISO-8859-1. Second of<br />

all XML has its own share of “special” characters. If any of these characters are <strong>to</strong> be included<br />

within the data of a specified transaction tag, they <strong>to</strong> must be escaped. The table below lists<br />

those characters and their escape sequence.<br />

263


264<br />

Character Description Escape Sequence<br />

< Less than &lt;<br />

> Greater than &gt;<br />

& Ampersand &amp;<br />

‘ Single quote &apos;<br />

“ Double quote &quot;<br />

Example:<br />

<br />

<br />

The text in here contains a less than symbol. Here it is: &lt;<br />

The text in here contains a double quote symbol. Here it is: &quot;<br />


C++ code sample<br />

Communication with STLink can be performed via VC’s WinInet Internet classes –<br />

CInternetSession, CHttpConnection, and CHttpFile.<br />

The following code fragment illustrates sending of HTTPS and HTTP data <strong>to</strong> STLink.<br />

// Create the Internet objects<br />

CInternetSession session;<br />

CHttpConnection *pConnection = NULL;<br />

CHttpFile *pFile = NULL;<br />

CString URL =<br />

“https://www.paymenttrust.ca/stlinkssl/test/stlink.dll?StringIn=VersionUsed^3~MerchantId^100000<br />

~UserName^Mariah~UserPassword^rr87uy~<strong>Transaction</strong>Type^RG~IsTest^1~TimeOut^60000~M<br />

OP^CC~AcctName^John<br />

Smith~AcctNumber^4459510002561039~ExpDate^092010~CurrencyId^840~Amount^56.78~Firs<br />

tName^John~LastName^Smith~Address1^2130 Gold~City^New<br />

York~CountryCode^US~PhoneNumber^6188565656~REMOTE_ADDR^205.188.146.23“;<br />

CString POSTstring =<br />

"https://www.paymenttrust.ca/stlinkssl/test/stlink.dll?StringIn=VersionUsed^3~MerchantId^100000<br />

~UserName^Mariah~UserPassword^rr87uy~<strong>Transaction</strong>Type^RG~IsTest^1~TimeOut^60000~M<br />

OP^CC~AcctName^John<br />

Smith~AcctNumber^4459510002561039~ExpDate^092010~CurrencyId^840~Amount^56.78~Firs<br />

tName^John~LastName^Smith~Address1^2130 Gold~City^New<br />

York~CountryCode^US~PhoneNumber^6188565656~REMOTE_ADDR^205.188.146.23";<br />

int status, x;<br />

UINT numbytes=0;<br />

char buffer[10000], *temp;<br />

CString outstring, server, object, inbox_buffer;<br />

DWORD service_type;<br />

INTERNET_PORT url_port;<br />

// get the URL and parse it<br />

AfxParseURL(URL, service_type, server, object, url_port);<br />

outstring = object;<br />

// GET Request<br />

try<br />

{<br />

265


if (url_port == 443)<br />

{<br />

// HTTPS request<br />

pConnection = session.GetHttpConnection(server, INTERNET_FLAG_SECURE |<br />

INTERNET_FLAG_IGNORE_CERT_CN_INVALID, 443);<br />

pFile = pConnection->OpenRequest(1, outstring, NULL, 1, NULL, NULL,<br />

}<br />

266<br />

INTERNET_FLAG_SECURE|INTERNET_FLAG_IGNORE_CERT_CN_INVALID);<br />

}<br />

else<br />

{<br />

// HTTP request<br />

pConnection = session.GetHttpConnection(server, 0, 80);<br />

pFile = pConnection->OpenRequest(1, outstring, NULL, 1, NULL, NULL, 0);<br />

}<br />

pFile->SendRequest();<br />

x=pFile->Read(buffer, 9999);<br />

buffer[x]='\0'; // ‘buffer’ contain received data<br />

catch (...)<br />

{<br />

strcpy(buffer, "Exception Error"); // something went wrong<br />

}<br />

// POST Request<br />

try<br />

{<br />

// search for the '?' and replace it with a null termina<strong>to</strong>r<br />

// Note: this implies the URL will have a '?' in it<br />

strcpy(buffer, object);<br />

temp=strstr(buffer, "?");<br />

*temp='\0';<br />

if (url_port == 443)


{<br />

// HTTPS<br />

pFile = pConnection->OpenRequest(0, buffer, NULL, 1, NULL, NULL,<br />

INTERNET_FLAG_SECURE |<br />

INTERNET_FLAG_IGNORE_CERT_CN_INVALID);<br />

}<br />

else<br />

{<br />

// HTTP<br />

pFile = pConnection->OpenRequest(0, buffer, NULL, 1, NULL, NULL, 0);<br />

}<br />

}<br />

267<br />

strcpy(buffer, _T(LPCSTR(POSTstring)));<br />

pFile->SendRequest(NULL, 0, buffer, strlen(buffer));<br />

x=pFile->Read(buffer, 9999);<br />

buffer[x]='\0'; // ‘buffer’ contain received data<br />

catch (...)<br />

{<br />

strcpy(buffer, "Exception Error"); // something went wrong<br />

}<br />

// delete/free Internet objects after use<br />

if (pFile) delete pFile;<br />

if (pConnection) delete pConnection;<br />

The WinInet classes fire CInternetException exceptions when something goes wrong. The above<br />

code samples use catch–all exception handlers for simplicity.


VB code sample<br />

Communication with STLink can be performed via the Internet Transfer Control.<br />

The following code fragment illustrates sending of HTTPS GET/POST data <strong>to</strong> STLink. Both<br />

examples assume the Internet Transfer Control is called ‘Inet’. HTTP data is similar except<br />

references <strong>to</strong> HTTPS are directed <strong>to</strong> HTTP.<br />

Transmission via HTTPS GET<br />

Dim URL As String<br />

URL = "<br />

https://www.paymenttrust.ca/stlinkssl/test/stlink.dll?StringIn=VersionUsed^3~MerchantId^100000<br />

~UserName^Mariah~UserPassword^rr87uy~<strong>Transaction</strong>Type^RG~IsTest^1~TimeOut^60000~M<br />

OP^CC~AcctName^John<br />

Smith~AcctNumber^4459510002561039~ExpDate^092010~CurrencyId^840~Amount^56.78~Firs<br />

tName^John~LastName^Smith~Address1^2130 Gold~City^New<br />

York~CountryCode^US~PhoneNumber^6188565656~REMOTE_ADDR^205.188.146.23"<br />

' this routine sends a string <strong>to</strong> STLink using a GET method and assigns the returned data <strong>to</strong> a text<br />

box<br />

Inbox.Text = Inet1.OpenURL(URL) + vbCrLf<br />

Transmission via HTTPS POST<br />

Dim POSTstring As String<br />

Dim URL As String<br />

POSTstring = "<br />

https://www.paymenttrust.ca/stlinkssl/test/stlink.dll?StringIn=VersionUsed^3~MerchantId^100000<br />

~UserName^Mariah~UserPassword^rr87uy~<strong>Transaction</strong>Type^RG~IsTest^1~TimeOut^60000~M<br />

OP^CC~AcctName^John<br />

Smith~AcctNumber^4459510002561039~ExpDate^092010~CurrencyId^840~Amount^56.78~Firs<br />

tName^John~LastName^Smith~Address1^2130 Gold~City^New<br />

York~CountryCode^US~PhoneNumber^6188565656~REMOTE_ADDR^205.188.146.23"<br />

' This routine sends a string <strong>to</strong> STLink using a POST method<br />

' Note: POST requests do not have query strings appended <strong>to</strong> the URL<br />

URL = "https://www.paymenttrust.ca/stlinkssl/test/stlink.dll"<br />

Inet1.Execute URL, "POST", POSTstring<br />

268


Whereas the OpenUrl method returns immediately, the Internet Transfer Control will fire a<br />

StateChanged event on incoming data as follows:<br />

Private Sub Inet1_StateChanged(ByVal State As Integer)<br />

If State = icResponseCompleted Then<br />

Inbox.Text = Inet1.GetChunk(1000, icString) + vbCrLf ‘ incoming data assigned <strong>to</strong> a<br />

text box<br />

End If<br />

End Sub<br />

269


HTTP/ASP sample code<br />

Server side ASP code makes use of the STL COM object. The STL COM object must be<br />

registered on the IIS server prior <strong>to</strong> its use (ex: regsrv32 STLCOM.dll). The sample code below is<br />

taken as is from the provided ASP sample code fragments supplied by PaymentTrust Ltd..<br />

<br />

<br />


' Submit <strong>to</strong> the STLink and s<strong>to</strong>re the result for handling.<br />

result = TMHTTP.submit() ß THE RESULT IS STORED HERE<br />

' Release the STL COM object<br />

set TMHTTP = nothing<br />

Code from this point onwards illustrates how the received data may be used.<br />

' In this sample the result is parsed and formatted <strong>to</strong> be displayed in a HTML table.<br />

' The result can be parsed and manipulated in any way such as: S<strong>to</strong>red in a database.<br />

' Arrays <strong>to</strong> split StringIn in<strong>to</strong> <strong>to</strong>kens<br />

Dim <strong>to</strong>kens1<br />

Dim <strong>to</strong>kens2<br />

'Split the result in<strong>to</strong> <strong>to</strong>kens at every '~'<br />

<strong>to</strong>kens1 = split(result, "~")<br />

' Build an HTML table <strong>to</strong> display data nicely.<br />

Dim table<br />

table = table & ""<br />

table = table & ""<br />

table = table & ""<br />

table = table & "Parameter"<br />

table = table & "Value"<br />

table = table & ""<br />

' Loop indexes<br />

Dim i1<br />

Dim i2<br />

' Loop through the <strong>to</strong>kens<br />

for i1=0 <strong>to</strong> UBound(<strong>to</strong>kens1)<br />

271<br />

table = table & ""


""<br />

next<br />

272<br />

' Split the <strong>to</strong>kens even more at every '^'<br />

<strong>to</strong>kens2 = split(<strong>to</strong>kens1(i1), "^")<br />

for i2=0 <strong>to</strong> UBound(<strong>to</strong>kens2)<br />

next<br />

table = table & ""<br />

table = table & "" & <strong>to</strong>kens2(i2) &<br />

table = table & ""<br />

table = table & ""<br />

table = table & ""<br />

%><br />

<br />

<br />

Untitled Document<br />

<br />

<br />

Result: <br />

<br />

<br />

<br />


Java sample code<br />

The following Java code fragments are intended for the Java JDK v1.3 or later. Java JSSE 1.0.2<br />

or later is required. Make sure the JSSE jar files are found within the extensions folder [JRE<br />

Home]/lib/ext. When compiling sample code, make sure JSSE jar files are within the<br />

CLASSPATH. The sample code below is taken as is from the provided Java sample code<br />

fragments supplied by PaymentTrust Ltd.<br />

import java.security.*;<br />

import java.net.*;<br />

import java.io.*;<br />

import java.util.*;<br />

public class HTTPClient<br />

{<br />

public static void main(String[] args)<br />

{<br />

// Set up a few system properties <strong>to</strong> be able <strong>to</strong> send transactions securely <strong>to</strong><br />

// the HTTP server. For more information please visit: http://java.sun.com/products/jsse/<br />

//<br />

// Dynamically register the sun SSL provider.<br />

Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());<br />

// Add the JSSE URL handler <strong>to</strong> the list of packages which are searched by the<br />

// java URL class.<br />

System.setProperty("java.pro<strong>to</strong>col.handler.pkgs", "com.sun.net.ssl.internal.www.pro<strong>to</strong>col");<br />

273<br />

// HTTP method <strong>to</strong> be used <strong>to</strong> communicate <strong>to</strong> HTTP server.<br />

// Values allowed: GET or POST. This is used <strong>to</strong> demonstrate how <strong>to</strong> use both<br />

// methods. It is recommended <strong>to</strong> use the POST method.<br />

String httpMethod = new String("POST");<br />

// The URL location <strong>to</strong> connect <strong>to</strong>.<br />

// To connect <strong>to</strong> the HTTP server securely, http:// must be replaced with https://<br />

String urlLocation = new String("https://www.paymenttrust.ca/stlinkssl/test/stlink.dll");<br />

// The STL transaction string.<br />

// We use URLEncoder <strong>to</strong> encode any reserved characters by the HTTP pro<strong>to</strong>col.<br />

String transaction = new<br />

String(URLEncoder.encode("https://www.paymenttrust.ca/stlinkssl/test/stlink.dll?StringIn=Version


Used^3~MerchantId^100000~UserName^Mariah~UserPassword^rr87uy~<strong>Transaction</strong>Type^RG~I<br />

sTest^1~TimeOut^60000~MOP^CC~AcctName^John<br />

Smith~AcctNumber^4459510002561039~ExpDate^092010~CurrencyId^840~Amount^56.78~Firs<br />

tName^John~LastName^Smith~Address1^2130 Gold~City^New<br />

York~CountryCode^US~PhoneNumber^6188565656~REMOTE_ADDR^205.188.146.23"));<br />

274<br />

// THE HTTP GET and POST methods are sent differently <strong>to</strong> the HTTP server.<br />

// There for we must build the final query string <strong>to</strong> the specifications of<br />

// each method.<br />

//<br />

// The query string for the GET method is part of the HTTP header. To separate<br />

// the query string from the URL location we use '?'. POST does not require<br />

// this since it is sent <strong>to</strong> the HTTP server after the HTTP headers.<br />

String getString = new String("?StringIn=" + transaction);<br />

String postString = new String("StringIn=" + transaction);<br />

try<br />

{<br />

// The URL class is used <strong>to</strong> connect <strong>to</strong> the HTTP server.<br />

URL url = null;<br />

// The URLConnection is an abstract class and provides more functionality then<br />

// the URL class.<br />

URLConnection urlConnection = null;<br />

// The Buffered writer and reader <strong>to</strong> send and receive data <strong>to</strong> the HTTP server.<br />

BufferedWriter out = null;<br />

BufferedReader in = null;<br />

// Proceed according <strong>to</strong> the HTTP method <strong>to</strong> be used.<br />

if(httpMethod.equals("GET"))<br />

{<br />

// Build the final URL <strong>to</strong> the HTTP server.<br />

url = new URL(urlLocation + getString);<br />

try<br />

{<br />

// Connect <strong>to</strong> the server.


275<br />

urlConnection = url.openConnection();<br />

// Get the input stream from the socket and attach it <strong>to</strong> a BufferedReader.<br />

in = new BufferedReader(new InputStreamReader(urlConnection.getInputStream()));<br />

// Used <strong>to</strong> s<strong>to</strong>re incoming data from the HTTP server.<br />

String input = new String();<br />

// Read the data coming from the HTTP server in<strong>to</strong> the input string.<br />

input = in.readLine();<br />

System.out.println("Result from GET method");<br />

System.out.println("-----------------------------------------------");<br />

parseInput(input);<br />

}<br />

catch(IOException ex)<br />

{<br />

System.out.println("Error occurred while attempting GET: " + ex.<strong>to</strong>String());<br />

}<br />

}<br />

else if(httpMethod.equals("POST"))<br />

{<br />

// Build the final URL <strong>to</strong> the HTTP server.<br />

url = new URL(urlLocation);<br />

try<br />

{<br />

// Connect <strong>to</strong> the server.<br />

urlConnection = url.openConnection();<br />

// Set this flag <strong>to</strong> true <strong>to</strong> be able <strong>to</strong> post data <strong>to</strong> the HTTP server.<br />

urlConnection.setDoOutput(true);<br />

// Get the output stream from the socket and attach it <strong>to</strong> a BufferedWriter.<br />

out = new BufferedWriter(new OutputStreamWriter(urlConnection.getOutputStream()));<br />

// POST the STL transaction <strong>to</strong> the server.


276<br />

out.write(postString);<br />

out.close();<br />

// Get the input stream from the socket and attach it <strong>to</strong> a BufferedReader.<br />

in = new BufferedReader(new InputStreamReader(urlConnection.getInputStream()));<br />

// Used <strong>to</strong> s<strong>to</strong>re incoming data from the HTTP server.<br />

String input = new String();<br />

// Read the data coming from the HTTP server in<strong>to</strong> the input string.<br />

input = in.readLine();<br />

System.out.println("Result from POST method");<br />

System.out.println("-----------------------------------------------");<br />

parseInput(input);<br />

}<br />

catch(IOException ex)<br />

{<br />

System.out.println("Error occurred while attempting POST: " + ex.<strong>to</strong>String());<br />

}<br />

}<br />

}<br />

catch(MalformedURLException e)<br />

{<br />

System.out.println("Error occurred while attempting URL connection: " + e.<strong>to</strong>String());<br />

}<br />

}<br />

// Parses the response received from the HTTP server and displays it in a table.<br />

public static void parseInput(String input)<br />

{<br />

// String is parsed in<strong>to</strong> <strong>to</strong>kens of strings at each ~<br />

StringTokenizer st1 = new StringTokenizer(input, "~");<br />

while(st1.hasMoreTokens())<br />

{<br />

// String is parsed in<strong>to</strong> <strong>to</strong>kens of strings at each ^


277<br />

StringTokenizer st2 = new StringTokenizer(st1.nextToken(), "^");<br />

System.out.print(st2.nextToken() + " = " + st2.nextToken());<br />

System.out.println();<br />

}<br />

}


8 Appendices<br />

STLink Message Codes<br />

278<br />

Appendix A<br />

Message Code Description<br />

100 Ok<br />

200 <strong>Transaction</strong> does not exist<br />

300 Field(s) Missing (Basic)<br />

302 Wrong MerchantId, User Name or Password<br />

303<br />

DB/System undefined errors or packet loss during transmission - Please send<br />

again<br />

304 Time out during Transmission - Please send again<br />

305 HTTP(S) method not supported – Please call support<br />

306 Batch Transmission Error - Failed <strong>to</strong> write <strong>to</strong> file<br />

307 Invalid document or Wrong XML Format<br />

400 Wrong Format (Basic)<br />

401 Wrong Format (<strong>Transaction</strong> Specific)<br />

402 (GP) Wrong Format or Parameter(s) Missing<br />

499 <strong>Transaction</strong> not allowed<br />

500 <strong>Transaction</strong> Type not Supported<br />

900 Security ERROR - Please call Support


Currency IDs<br />

279<br />

Country Name<br />

Count<br />

ry<br />

Code<br />

Appendix B<br />

Currency Name<br />

Currency<br />

ID<br />

Currency Code<br />

AUSTRALIA AUS AUSTRALIAN DOLLAR 36 AUD<br />

AUSTRIA AUT SCHILLING 40 ATS<br />

BAHRAIN BHR BAHRAINI DINAR 48 BHD<br />

BELGIUM BEL BELGIAN FRANC 56 BEF<br />

BERMUDA BMU BERMUDIAN DOLLAR 60 BMD<br />

BRAZIL BRA BRAZILIAN REAL 986 BRL<br />

CANADA CAN CANADIAN DOLLAR 124 CAD<br />

COLOMBIA COL COLOMBIAN PESO 170 COP<br />

CYPRUS CYP CYPRUS POUND 196 CYP<br />

CZECH REPUBLIC CZE CZECH KORUNA 203 CZK<br />

DENMARK DNK DANISH KRONE 208 DKK<br />

EUROPEAN UNION EUR EURO 978 EUR<br />

FINLAND FIN MARKKA 246 FIM<br />

FRANCE FRA FRENCH FRANC 250 FRF<br />

FRENCH POLYNESIA PYF CFP FRANC 953 XPF<br />

GERMANY DEU DEUTSCHE MARK 280 DEM<br />

GREECE GRC DRACHMA 300 GRD<br />

HONG KONG HKG HONG KONG DOLLAR 344 HKD<br />

HUNGARY HUN FORINT 348 HUF<br />

ICELAND ISL ICELAND KRONA 352 ISK<br />

INDIA IND INDIAN RUPEE 356 INR<br />

INDONESIA IDN INDONESIAN RUPIAH 360 IDR<br />

IRELAND IRL IRISH POUND 372 IEP<br />

ISRAEL ISR SHEKEL 376 ILS<br />

ITALY ITA ITALIAN LIRA 380 ITL<br />

JAMAICA JAM JAMAICAN DOLLAR 388 JMD<br />

JAPAN JPN YEN 392 JPY<br />

JORDAN JOR JORDANIAN DOLLAR 400 JOD<br />

KOREA, REPUBLIC OF KOR WON 410 KRW<br />

KUWAIT KWT KUWAITI DINAR 414 KWD<br />

LUXEMBOURG LUX LUXEMBOURG FRANC 442 LUF<br />

MALAYSIA MYS MALAYSIAN RINGGITT 458 MYR<br />

MALTA MLT MALTESE LIRA 470 MTL<br />

MEXICO MEX MEXICAN NUEVO PESO 484 MXN<br />

MOROCCO MAR MOROCCAN DIRHAM 504 MAD<br />

NETHERLANDS NLD NETHERLANDS GUILDER 528 NLG<br />

NEW ZEALAND NZL NEW ZEALAND DOLLAR 554 NZD<br />

NORWAY NOR NORWEGIAN KRONE 578 NOK<br />

OMAN OMN RIAL OMANI 512 OMR<br />

PANAMA PAN BALBOA 590 PAB<br />

PHILIPPINES PHL PHILIPPINE PESO 608 PHP<br />

POLAND POL NEW ZLOTY 985 PLN<br />

PORTUGAL PRT PORTUGUESE ESCUDO 620 PTE<br />

QATAR QAT QATARI RIAL 634 QAR<br />

RUSSIAN FEDERATION RUS RUSSIAN RUBLE 643 RUB<br />

SAUDI ARABIA SAU SAUDI RIYAL 682 SAR<br />

SINGAPORE SGP SINGAPORE DOLLAR 702 SGD<br />

SOUTH AFRICA ZAF RAND 710 ZAR<br />

SPAIN ESP SPANISH PESETA 724 ESP<br />

SWEDEN SWE SWEDISH KRONA 752 SEK<br />

SWITZERLAND CHE SWISS FRANC 756 CHF<br />

TAIWAN TWD NEW TAIWAN DOLLAR 901 TWD<br />

THAILAND THA BAHT 764 THB<br />

TURKEY TUR TURKISH LIRA 792 TRL<br />

TURKEY TUR NEW TURKISH LIRA 949 TRY


280<br />

Country Name<br />

Count<br />

ry<br />

Code<br />

Currency Name<br />

Currency<br />

ID<br />

Currency Code<br />

UNITED ARAB EMIRATES (UAE) ARE UAE DIRHAM 784 AED<br />

UNITED KINGDOM GBR POUND STERLING 826 GBP<br />

UNITED STATES OF AMERICA USA US DOLLAR 840 USD<br />

UZBEKISTAN UZS UZBEKISTAN SUM 860 UZS<br />

VENEZUELA VEN BOLIVAR 862 VEB


PaymentTrust Result Codes<br />

281<br />

Appendix C<br />

Message<br />

Code<br />

Description Explanation<br />

2000 No answer Received no answer from banking network. Resend<br />

transaction.<br />

2001 Dropped the transaction No need <strong>to</strong> do this transaction<br />

2040 Pending <strong>to</strong> be finalized Request submitted and waiting for processing <strong>to</strong> be<br />

completed next cycle.<br />

2050 Request pending Request submitted and waiting for processing <strong>to</strong> be<br />

completed next cycle.<br />

2051 Request Pending with Errors. Cannot find the BTID for the original request<br />

2053 Notification Received Notification Received<br />

2100 <strong>Transaction</strong> Authorized/Approved <strong>Transaction</strong> Authorized/Approved<br />

2101 Validated Validated<br />

2102 Verified Verified<br />

2103 Prenoted Prenoted<br />

2104 <strong>Transaction</strong> approved <strong>Transaction</strong> was approved - Base 24<br />

2105 Notification Cleared Notification Cleared<br />

2150 Funds deposited successfully Deposit request previously submitted has been<br />

processed successfully<br />

2160 Funds refunded successfully Refund request previously submitted has been<br />

processed successfully<br />

2170 <strong>Transaction</strong> cancelled successfully Cancellation request has been processed successfully<br />

2200 <strong>Transaction</strong> Declined <strong>Transaction</strong> Declined/Not Authorized/Not Settled<br />

2201 Acquirer/Issuer does not allow this Acquirer/Issuer does not allow this transaction<br />

transaction<br />

2203 Cancellation cannot be performed. Cancellation transaction failed.<br />

2204 Soft AVS Card was authorized but AVS did not match. Contact<br />

client.<br />

2206 Invalid currency Incoming record currency type does not match system<br />

s<strong>to</strong>red currency<br />

2208 Invalid merchant account number Invalid merchant account number<br />

2210 Invalid credit card number Bad check digit, length, or other credit card problem<br />

2212 Invalid credit card expiration date Credit card has expired or incorrect date entered.<br />

Confirm date.<br />

2214 Credit card expired Credit card has expired<br />

2216 Invalid amount Amount sent was 0 or unreadable<br />

2218 Invalid method of payment Method of payment is invalid for this account number<br />

2219 Credit card is not valid for this<br />

transaction<br />

The specific credit card will not accept payment.<br />

2220 Invalid method of payment for<br />

merchant account number<br />

Method of payment is invalid for this merchant<br />

2222 Invalid field data Invalid information entered<br />

2223 No Sort code or Account Number in<br />

Payback system<br />

No Sort code or Account Number in Payback system<br />

2224 Data is inaccurate or missing Specific and relevant data within transaction is<br />

inaccurate or missing<br />

2226 Duplicated transaction Same transaction had been submitted<br />

2228 Invalid transaction Issuer does not allow this transaction


Message<br />

Code<br />

Description Explanation<br />

2229 Invalid transaction Processor permits only one deposit request per<br />

authorization<br />

2230 Invalid merchant account number Invalid merchant account number<br />

2232 Invalid issuer Invalid issuer or institution<br />

2234 Invalid response code Invalid response code<br />

2235 Invalid Currency Code Entered Currency code submitted is different than code<br />

submitted with original authorization request<br />

2236 Invalid for credit Invalid for credit<br />

2237 Invalid refund not allowed (CFT) Invalid refund not allowed (CFT)<br />

2238 Invalid for debit Invalid for debit<br />

2240 Invalid SEC code - Amex Amex CID is incorrect<br />

2280 Incorrect start date Switch/Solo - Incorrect start date or requires an issue<br />

number. Please correct<br />

2282 Invalid issue number Switch/Solo - 1-digit number submitted when 2-digit<br />

number should have been sent. Please correct<br />

2284 Invalid transaction Switch/Solo - a format issue, re-examine transaction<br />

layout. Please correct<br />

2286 Bank not supported by Switch Bank not supported by Switch<br />

2300 Card does not exist No card record<br />

2302 Invalid transit routing number (ABA Invalid bank routing number<br />

282<br />

code)<br />

2304 Missing name Missing the check writer’s name.<br />

2306 Bank account closed Bank account has been closed<br />

2308 Invalid account type Account type is invalid or missing. Deposit transactions<br />

only<br />

2310 Account does not exist Account does not exist<br />

2312 No account Account number does not correspond <strong>to</strong> the individual<br />

2314 Account holder deceased Account holder deceased. No further debits will be<br />

accepted by the bank<br />

2316 Beneficiary deceased Beneficiary deceased. No further debits will be accepted<br />

by the bank<br />

2318 Account frozen The funds in this account are unavailable. No further<br />

debits will be accepted by the bank<br />

2320 Cus<strong>to</strong>mer opt out Cus<strong>to</strong>mer has refused <strong>to</strong> allow the transaction<br />

2322 ACH non-participant Banking institute does not accept ACH transactions (For<br />

US ECP)<br />

2324 Invalid account number Account number is incorrect<br />

2326 Authorization revoked by cus<strong>to</strong>mer Cus<strong>to</strong>mer has notified their bank not <strong>to</strong> accept these<br />

transactions<br />

2328 Cus<strong>to</strong>mer advises not authorized Cus<strong>to</strong>mer has not authorized bank <strong>to</strong> accept these<br />

transactions<br />

2330 Invalid CECP action code Pertains <strong>to</strong> Canadian ECP only.<br />

2332 Invalid account number format Format of account number does not pass check digit<br />

routine for that institution. (For CDN ECP)<br />

2334 Bad account number data Invalid characters in account number<br />

2350 Card surpassed daily limit Card has surpassed daily transaction amount limit<br />

2352 Times card used limit The limit of number of times used for the card has been<br />

surpassed<br />

2354 Over credit limit Card has surpassed its credit limit<br />

2356 Enter lesser amount Enter a lesser amount


Message<br />

Code<br />

Description Explanation<br />

2358 No credit amount No credit amount<br />

2360 One purchase limit Card is limited <strong>to</strong> one purchase<br />

2362 Over Sav limit Over Sav limit<br />

2364 Over Sav frequency. Over Sav frequency.<br />

2366 Card not supported Card not supported<br />

2368 Invalid PIN. Invalid PIN<br />

2370 Allowable PIN tries exceeded. Allowable PIN tries exceeded<br />

2372 PIN required PIN required<br />

2374 Card failed MOD 10 check Card failed MOD 10 check verification<br />

2380 On negative file Account number appears on negative file<br />

2382 S<strong>to</strong>p Payment Issued S<strong>to</strong>p Payment Issued<br />

2400 PTLF full PTLF full<br />

2401 Fraud suspected Fraud suspected<br />

2402 Unable <strong>to</strong> process transaction Unable <strong>to</strong> process transaction<br />

2403 Duplicate transaction Duplicate transaction<br />

2404 Cu<strong>to</strong>ff in progress Cu<strong>to</strong>ff in progress<br />

2405 Incorrect PIN Incorrect PIN<br />

2406 PIN tries exceeded PIN tries exceeded<br />

2407 Exceeds withdrawal frequency Exceeds withdrawal frequency<br />

2410 Invalid 3D <strong>Secure</strong> Data Invalid 3D <strong>Secure</strong> Data<br />

2610 Timeout error Timeout waiting for host response<br />

2611 Timeout error Internal timeout<br />

2612 Authorization host system down or<br />

unavailable<br />

Authorization host system is temporarily unavailable<br />

2614 Acquirer/Issuer unavailable. Authorization host network could not reach the bank,<br />

Resend<br />

which issued the card or Acquirer.<br />

2616 Invalid issuer Invalid issuer or institution<br />

2618 Unidentified error Unidentified error. Unable <strong>to</strong> process transaction<br />

2620 Unable <strong>to</strong> process. Unable <strong>to</strong> process transaction due <strong>to</strong> system<br />

malfunction<br />

2622 Unable <strong>to</strong> authorize. Unable <strong>to</strong> authorize due <strong>to</strong> system malfunction<br />

2624 Merchant information incomplete Merchant information incomplete<br />

2626 Invalid CVN value Invalid CVN value<br />

2627 Invalid track2 data The track2 format information is incorrect<br />

2628 <strong>Transaction</strong> not supported Merchant not Support this transaction<br />

2630 Invalid s<strong>to</strong>re ID No such s<strong>to</strong>re ID for the merchant<br />

2632 Invalid authcode Invalid authcode<br />

2634 Invalid format Invalid format<br />

2636 Invalid message type Invalid message type<br />

2638 Invalid POS system type Invalid POS system type<br />

2640 This transaction has been cancelled A message has be sent <strong>to</strong> reverse previous time out<br />

transaction<br />

2642 This TrxSource is not supported by<br />

the bank<br />

This TrxSource is not supported by the bank<br />

2644 Insufficient Terminal IDs, please try<br />

again<br />

Not enough terminal ID at the time of transaction<br />

2700 Invalid file General error for PC card<br />

2702 Amounts do not compute Amount is invalid<br />

283


Message<br />

Code<br />

Description Explanation<br />

2704 Line items do not add up <strong>to</strong><br />

Line items do not add up <strong>to</strong> summary <strong>to</strong>tal<br />

284<br />

summary <strong>to</strong>tal<br />

2706 Not supported for batch Not supported for batch<br />

2712 Manda<strong>to</strong>ry field is invalid or missing Manda<strong>to</strong>ry field is invalid or missing<br />

2714 Total line items do not add up Total line items do not add up<br />

2716 Line items missing Line items missing<br />

2718 Commodity code is invalid or<br />

missing<br />

Commodity code is invalid or missing<br />

2720 Cross border information is invalid Cross border information is invalid or missing<br />

or missing<br />

2722 Invalid purchase card number Not a purchase card<br />

2802 Invalid ICC parameter. One of the ICC parameters submitted was invalid.<br />

2952 Pick up card Card issuer wants card returned. Call issuer<br />

2954 Card s<strong>to</strong>len Card reported as lost/s<strong>to</strong>len<br />

2956 Do not honor Generic decline. No other information is being provided<br />

by the issuer<br />

2958 Call Bank Issuer wants voice contact with cardholder<br />

2960 Insufficient funds Insufficient funds<br />

2962 CVV2 failure Issuer has declined request because CVV2 edit failed<br />

2964 Delinquent account. Delinquent account<br />

2990 Cancellation Cancellation is going <strong>to</strong> reverse the authorization<br />

3050 <strong>Transaction</strong> pending <strong>Transaction</strong> pending<br />

3051 <strong>Transaction</strong> pending with rate A new rate is assigned for the transaction<br />

escalated<br />

3100 <strong>Transaction</strong> approved FX transaction approved<br />

3111 Rate escalated <strong>Transaction</strong> rate escalated<br />

3170 <strong>Transaction</strong> cancelled successfully <strong>Transaction</strong> cancelled successfully<br />

3171 <strong>Transaction</strong> refunded <strong>Transaction</strong> refunded<br />

3200 Rate expired Rate requested has expired and no new rate is available<br />

3203 Cancellation cannot be performed<br />

The deposit/refund transaction being cancelled cannot<br />

be because it has already been submitted<br />

3204 Cancellation not enabled Cancellation disabled in merchant set-up<br />

3206 Invalid currency Invalid currency of record<br />

3207 Exchange currency not supported Exchange currency not setup in merchant account<br />

3208 CurrencyId matches<br />

ConvertedCurrencyId<br />

Conversion <strong>to</strong> same currency redundant<br />

3209 Currency pair not supported Cannot convert <strong>to</strong> requested currency<br />

3210 CurrencyId does not match FX Currency submitted does not match the original rate<br />

request<br />

request<br />

3216 Invalid amount Invalid amount<br />

3217 Invalid FXID Invalid FXID<br />

3218 Issuer is not available. Please try<br />

again<br />

Unexpected error<br />

3219 Credit card is not valid for this<br />

transaction<br />

Credit card is not valid for this transaction<br />

3220 Currency Not Supported Currency of card not supported<br />

3224 Data is inaccurate or missing One or more required parameters are not present<br />

3226 Duplicated transaction Duplicated transaction<br />

3228 Invalid transaction Generic error message for invalid transactions<br />

3321 Invalid account data Invalid account data<br />

3341 Non-executable rate Quoted rate is not executable<br />

3354 Refund amount over limit Refund is over the original value of the deal<br />

3361 Rate quote invalid Quoted rate is invalid<br />

3362 Rate expired not escalated Expired rate cannot be escalated


Message<br />

Code<br />

Description Explanation<br />

3371 Rate revoked Rate has been revoked<br />

3381 <strong>Transaction</strong> exceeds amount limit <strong>Transaction</strong> min/max limits reached<br />

3391 Batch size exceeds the maximum Batch size exceeds the Maximum allowable size<br />

allowed<br />

transaction/payment not written <strong>to</strong> database<br />

3614 FX system unavailable FX system cannot be reached<br />

3781 Refund not enabled Refund disabled in merchant set-up<br />

3783 Refund not possible Refund cannot be processed<br />

3785 Refund period expired Refund period expired<br />

4050 Cardholder enrolled Cardholder enrolled for 3D <strong>Secure</strong><br />

4100 Cardholder authenticated Cardholder answered password/challenge question<br />

correctly<br />

4101 Cardholder authentication<br />

attempted<br />

Cardholder authentication attempted<br />

4200 Cardholder not enrolled Cardholder not enrolled for 3D <strong>Secure</strong><br />

4202 Card not participating in 3D <strong>Secure</strong> Credit card is not recognized as a 3D <strong>Secure</strong> card<br />

4203 Cardholder enrolment not verified Cardholder enrolment not verified<br />

4204 Cardholder not authenticated Cardholder failed <strong>to</strong> answer password/challenge<br />

question<br />

4206 Invalid currency Invalid currency<br />

4208 Invalid merchant account number Invalid merchant account number<br />

4210 Invalid credit card number Invalid credit card number<br />

4212 Invalid credit card expiration date Invalid credit card expiration date<br />

4216 Invalid amount Invalid amount<br />

4224 Data is inaccurate or missing Specific and relevant data within transaction is<br />

inaccurate or missing<br />

4228 Invalid transaction Invalid transaction<br />

4240 Cardholder enrolment failed Enrolment process failed<br />

4242 Cardholder authentication failed Authentication process failed<br />

4614 MPI not available MPI not available<br />

4616 Direc<strong>to</strong>ry server not available Direc<strong>to</strong>ry server not available<br />

4618 Internal MPI error Internal MPI error<br />

4626 Invalid <strong>Secure</strong>Id Invalid <strong>Secure</strong>Id<br />

4700 3D <strong>Secure</strong> transaction already<br />

processed<br />

3D <strong>Secure</strong> transaction already processed<br />

285


DataShare Result Codes<br />

286<br />

Appendix D<br />

Message<br />

Code<br />

6000 No answer<br />

Description Explanation<br />

No answer from 3 rd party service<br />

6001 Dropped the transaction No need <strong>to</strong> do this transaction<br />

6050 <strong>Transaction</strong> pending<br />

Request submitted and waiting for processing <strong>to</strong> be<br />

completed next cycle.<br />

6100 <strong>Transaction</strong> processed <strong>Transaction</strong> processed<br />

6170 <strong>Transaction</strong> cancelled successfully Cancellation request has been processed successfully<br />

6200 <strong>Transaction</strong> NOT Authorized <strong>Transaction</strong> NOT Authorized<br />

Acquirer/Issuer does not allow this Acquirer/Issuer does not allow this transaction<br />

6201<br />

transaction<br />

6202 Cancellation declined Cancellation declined<br />

6203 Cancellation cannot be performed Cancellation transaction failed.<br />

Card was authorized but AVS did not match. Contact<br />

6204 Soft AVS<br />

client<br />

Incoming record currency type does not match system<br />

6206 Invalid currency<br />

s<strong>to</strong>red currency<br />

6208 Invalid merchant account number Invalid merchant account number<br />

Credit card has expired or incorrect date entered.<br />

6212 Invalid credit card expiration date Confirm date.<br />

6214 <strong>Transaction</strong> error, Please try again Submission error <strong>to</strong> service provider please try again<br />

6216 Invalid amount Amount sent was 0 or unreadable<br />

6218 Invalid method of payment Method of payment is invalid for this account number<br />

Credit card is not valid for this The specific credit card will not accept payment<br />

6219 transaction<br />

Invalid method of payment for Method of payment is invalid for this merchant<br />

6220 merchant account number<br />

6222 Invalid field data Invalid information entered<br />

Specific and relevant data within transaction is<br />

6224 Data is missing or inaccurate inaccurate or missing<br />

6226 Duplicated transaction Same transaction had been submitted<br />

6228 Invalid transaction Issuer does not allow this transaction<br />

Processor permits only one deposit request per<br />

6229 Invalid transaction<br />

authorization<br />

6230 Invalid merchant account number Invalid merchant account number<br />

6232 Invalid issuer Invalid issuer or institution<br />

6234 Invalid response code Invalid response code<br />

6236 Invalid for credit Invalid for credit<br />

6237 Invalid refund not allowed (CFT) Invalid refund not allowed (CFT)<br />

6238 Invalid for debit Invalid for debit<br />

Switch/Solo - Incorrect start date or requires an issue<br />

6280 Incorrect start date<br />

number. Please correct<br />

Switch/Solo - 1-digit number submitted when 2-digit<br />

6282 Invalid issue number<br />

number should have been sent. Please correct<br />

Switch/Solo - a format issue, re-examine transaction<br />

6284 Invalid transaction<br />

layout. Please correct


Message<br />

Code<br />

Description Explanation<br />

6300 Card does not exist No card record<br />

Invalid transit routing number (ABA Invalid bank routing number<br />

6302 code)<br />

6304 Missing name Missing the check writer’s name.<br />

6306 Bank account closed Bank account has been closed<br />

Account type is invalid or missing. Deposit transactions<br />

6308 Invalid account type<br />

only<br />

6310 Account does not exist Account does not exist<br />

6312 No account Account number does not correspond <strong>to</strong> the individual<br />

Account holder deceased. No further debits will be<br />

6314 Account holder deceased<br />

accepted by the bank<br />

Beneficiary deceased. No further debits will be accepted<br />

6316 Beneficiary deceased<br />

by the bank<br />

The funds in this account are unavailable. No further<br />

6318 Account frozen<br />

debits will be accepted by the bank<br />

6320 Cus<strong>to</strong>mer op<strong>to</strong>ut Cus<strong>to</strong>mer has refused <strong>to</strong> allow the transaction<br />

Banking institute does not accept ACH transactions (For<br />

6322 ACH non-participant<br />

US ECP)<br />

6324 Invalid account number Account number is incorrect<br />

Cus<strong>to</strong>mer has notified their bank not <strong>to</strong> accept these<br />

6326 Authorization revoked by cus<strong>to</strong>mer transactions<br />

Cus<strong>to</strong>mer has not authorized bank <strong>to</strong> accept these<br />

6328 Cus<strong>to</strong>mer advises not authorized transactions<br />

6330 Invalid CECP action code Pertains <strong>to</strong> Canadian ECP only.<br />

Format of account number does not pass check digit<br />

6332 Invalid account number format routine for that institution. (For CDN ECP)<br />

6334 Bad account number data Invalid characters in account number<br />

6350 Card supassed daily limit Card has surpassed daily transaction amount limit<br />

The limit of number of times used for the card has been<br />

6352 Times card used limit<br />

surpassed<br />

6354 Over credit limit Card has surpassed its credit limit<br />

6356 Enter lesser amount Enter a lesser amount<br />

6358 No credit amount No credit amount<br />

6360 One purchase limit Card is limited <strong>to</strong> one purchase<br />

6362 Over Sav limit Over Sav limit<br />

6364 Over Sav frequency. Over Sav frequency.<br />

6366 Card not supported Card not supported<br />

6368 Invalid PIN. Invalid PIN<br />

6370 Allowable PIN tries exceeded. Allowable PIN tries exceeded<br />

6372 PIN required PIN required<br />

6374 Card failed MOD 10 check Card failed MOD 10 check verification<br />

6380 On negative file Account number appears on negative file<br />

6382 S<strong>to</strong>p Payment Issued S<strong>to</strong>p Payment Issued<br />

6400 PTLF full PTLF full<br />

6401 Fraud suspected Fraud suspected<br />

6402 Unable <strong>to</strong> process transaction Unable <strong>to</strong> process transaction<br />

6403 Duplicate transaction Duplicate transaction<br />

6404 Cu<strong>to</strong>ff in progress Cu<strong>to</strong>ff in progress<br />

287


Message<br />

Code<br />

Description Explanation<br />

6405 Incorrect PIN Incorrect PIN<br />

6406 PIN tries exceeded PIN tries exceeded<br />

6407 Exceeds withdrawal frequency Exceeds withdrawal frequency<br />

6410 Invalid 3D Security data Invalid 3D <strong>Secure</strong> Data<br />

6610 Timeout error / Re-Send Timeout waiting for host response<br />

6611 Timeout error /Re-Send Internal timeout<br />

Authorization host system down or Authorization host system is temporarily unavailable<br />

6612 unavailable<br />

6614 System unavailable Host network could not reach the service provider.<br />

6616 Invalid issuer Invalid issuer or institution<br />

6618 Unidentified Error Unidentified error. Unable <strong>to</strong> process transaction<br />

Unable <strong>to</strong> process transaction due <strong>to</strong> system<br />

6620 Unable <strong>to</strong> process.<br />

malfunction<br />

6622 Unable <strong>to</strong> authorize. Unable <strong>to</strong> authorize due <strong>to</strong> system malfunction<br />

6624 Merchant information incomplete Merchant information incomplete<br />

6626 Invalid CVN value Invalid CVN value<br />

6627 Invalid track2 data The track2 format information is incorrect<br />

6628 <strong>Transaction</strong> not supported Merchant not Support this transaction<br />

6630 Invalid s<strong>to</strong>reId No such s<strong>to</strong>re ID for the merchant<br />

6632 Invalid authcode Invalid authcode<br />

6634 Invalid format Invalid format<br />

6636 Invalid message type Invalid message type<br />

6638 Invalid POS system type Invalid POS system type<br />

A message has be sent <strong>to</strong> reverse previous time out<br />

6640 This transaction has been cancelled transaction<br />

This TrxSource is not supported by This TrxSource is not supported by the bank<br />

6642 the bank<br />

Insufficient Terminal IDs - Please Not enough terminal ID at the time of transaction<br />

6644 try again<br />

6646 Acquirer cannot process transaction Acquirer cannot process transaction<br />

6648 Retain card if possible Retain card if possible<br />

6706 Not supported for batch Not supported for batch<br />

6712 Manda<strong>to</strong>ry field is invalid or missing Manda<strong>to</strong>ry field is invalid or missing<br />

6952 Pick up card Card issuer wants card returned. Call issuer<br />

6954 Card s<strong>to</strong>len Card reported as lost/s<strong>to</strong>len<br />

Generic decline. No other information is being provided<br />

6956 Do not honor<br />

by the issuer<br />

6958 Call Bank Issuer wants voice contact with cardholder<br />

6960 Insufficient funds Insufficient funds<br />

6962 CVN failure CVN failure<br />

6964 Delinquent account. Delinquent account<br />

6990 Cancellation Cancellation is going <strong>to</strong> reverse the authorization<br />

288


Country Codes<br />

289<br />

Appendix E<br />

Country Name ISO Country Code<br />

Afghanistan AF<br />

Albania AL<br />

Algeria DZ<br />

American Samoa AS<br />

Andorra AD<br />

Angola AO<br />

Anguilla AI<br />

Antarctica AQ<br />

Antigua and Barbuda AG<br />

Argentina AR<br />

Armenia AM<br />

Aruba AW<br />

Australia AU<br />

Austria AT<br />

Azerbaijan AZ<br />

Bahamas BS<br />

Bahrain BH<br />

Bangladesh BD<br />

Barbados BB<br />

Belarus BY<br />

Belgium BE<br />

Belize BZ<br />

Benin BJ<br />

Bermuda BM<br />

Bhutan BT<br />

Bolivia BO<br />

Bosnia and Herzegovina BA<br />

Botswana BW<br />

Bouvet Island BV<br />

Brazil BR<br />

British Indian Ocean Terri<strong>to</strong>ry IO<br />

Brunei Darussalam BN<br />

Bulgaria BG<br />

Burkina Faso BF<br />

Burundi BI<br />

Cambodia KH<br />

Cameroon CM<br />

Canada CA<br />

Cape Verde CV<br />

Cayman Islands KY


290<br />

Country Name ISO Country Code<br />

Central African Republic CF<br />

Chad TD<br />

Chile CL<br />

China CN<br />

Christmas Island (Australia) CX<br />

Cocos (Keeling) Islands CC<br />

Colombia CO<br />

Comoros KM<br />

Congo CG<br />

Cook Islands CK<br />

Costa Rica CR<br />

Cote D'Ivoire (Ivory Coast) CI<br />

Croatia (Hrvatska) HR<br />

Cuba CU<br />

Cyprus CY<br />

Czech Republic CZ<br />

Denmark DK<br />

Djibouti DJ<br />

Dominica DM<br />

Dominican Republic DO<br />

East Timor TP<br />

Ecuador EC<br />

Egypt EG<br />

El Salvador SV<br />

Equa<strong>to</strong>rial Guinea GQ<br />

Eritrea ER<br />

Es<strong>to</strong>nia EE<br />

Ethiopia ET<br />

Faeroe Islands FO<br />

Falkland Islands (Malvinas) FK<br />

Fiji FJ<br />

Finland FI<br />

France FR<br />

French Guiana GF<br />

French Polynesia PF<br />

Gabon GA<br />

Gambia GM<br />

Georgia GE<br />

Germany DE<br />

Ghana GH<br />

Gibraltar GI<br />

Great Britain GB<br />

Greece GR<br />

Greenland GL


291<br />

Country Name ISO Country Code<br />

Grenada GD<br />

Guadeloupe GP<br />

Guam GU<br />

Guatemala GT<br />

Guinea GN<br />

Guinea Bissau GW<br />

Guyana GY<br />

Haiti HT<br />

Honduras HN<br />

Hong Kong HK<br />

Hungary HU<br />

Iceland IS<br />

India IN<br />

Indonesia ID<br />

Iran IR<br />

Iraq IQ<br />

Ireland IE<br />

Isle of Man (U.K.) IM<br />

Israel IL<br />

Italy IT<br />

Jamaica JM<br />

Japan JP<br />

Johns<strong>to</strong>n Island JT<br />

Jordan JO<br />

Kazakhstan KZ<br />

Kenya KE<br />

Kiribati KI<br />

Korea (North) KP<br />

Korea (South) KR<br />

Kuwait KW<br />

Kyrgyzstan KG<br />

Lao P.Dem.R. LA<br />

Latvia LV<br />

Lebanon LB<br />

Lesotho LS<br />

Liberia LR<br />

Libyan Arab Jamahiriya LY<br />

Liechtenstein LI<br />

Lithuania LT<br />

Luxembourg LU<br />

Macau MO<br />

Macedonia MK<br />

Madagascar MG<br />

Malawi MW


292<br />

Country Name ISO Country Code<br />

Malaysia MY<br />

Maldives MV<br />

Mali ML<br />

Malta MT<br />

Marshall Islands MH<br />

Martinique MQ<br />

Mauritania MR<br />

Mauritius MU<br />

Mexico MX<br />

Micronesia FM<br />

Midway Islands MI<br />

Moldova MD<br />

Monaco MC<br />

Mongolia MN<br />

Montserrat MS<br />

Morocco MA<br />

Mozambique MZ<br />

Myanmar MM<br />

Namibia NA<br />

Nauru NR<br />

Nepal NP<br />

Netherlands NL<br />

Netherlands Antilles AN<br />

New Caledonia NC<br />

New Zealand NZ<br />

Nicaragua NI<br />

Niger NE<br />

Nigeria NG<br />

Niue NU<br />

Norfolk Island NF<br />

Northern Mariana Islands MP<br />

Norway NO<br />

Oman OM<br />

Pakistan PK<br />

Palau PW<br />

Panama PA<br />

Papua New Guinea PG<br />

Paraguay PY<br />

Peru PE<br />

Philippines PH<br />

Pitcairn PN<br />

Poland PL<br />

Portugal PT<br />

Puer<strong>to</strong> Rico PR


293<br />

Country Name ISO Country Code<br />

Qatar QA<br />

Reunion RE<br />

Romania RO<br />

Russian Federation RU<br />

Rwanda RW<br />

Saint Helena SH<br />

Saint Kitts and Nevis KN<br />

Saint Lucia LC<br />

Saint Pierre and Miquelon PM<br />

Saint Vincent and The Grenadines VC<br />

Samoa WS<br />

San Marino SM<br />

Sao Tome and Principe ST<br />

Saudi Arabia SA<br />

Senegal SN<br />

Seychelles SC<br />

Sierra Leone SL<br />

Singapore SG<br />

Slovakia SK<br />

Slovenia SI<br />

Solomon Islands SB<br />

Somalia SO<br />

South Africa ZA<br />

Spain ES<br />

Sri Lanka LK<br />

Sudan SD<br />

Suriname SR<br />

Svalbard and Jan Mayen Islands SJ<br />

Swaziland SZ<br />

Sweden SE<br />

Switzerland CH<br />

Syrian Arab Rep. SY<br />

Taiwan TW<br />

Tajikistan TJ<br />

Tanzania TZ<br />

Thailand TH<br />

Togo TG<br />

Tokelau TK<br />

Tonga TO<br />

Trinidad and Tobago TT<br />

Tunisia TN<br />

Turkey TR<br />

Turkmenistan TM<br />

Turks and Caicos Islands TC


294<br />

Country Name ISO Country Code<br />

Tuvalu TV<br />

Uganda UG<br />

Ukraine UA<br />

United Arab Emirates AE<br />

United States US<br />

Uruguay UY<br />

Uzbekistan UZ<br />

Vanuatu VU<br />

Vatican City State (Holy See) VA<br />

Venezuela VE<br />

Viet Nam VN<br />

Virgin Islands (British) VG<br />

Virgin Islands (US) VI<br />

Wake Island WK<br />

Wallis and Futuna Islands WF<br />

Western Sahara EH<br />

Yemen YE<br />

Yugoslavia YU<br />

Zaire ZR<br />

Zambia ZM<br />

Zimbabwe ZW


State/Province/Region Codes<br />

295<br />

Appendix F<br />

State/Region Code Country<br />

Alabama AL us<br />

Alaska AK us<br />

American Samoa AS us<br />

Arizona AZ us<br />

Arkansas AR us<br />

Armed Forces - Europe AE us<br />

Armed Forces - Pacific AP us<br />

Armed Forces - The Americas AA us<br />

California CA us<br />

Colorado CO us<br />

Connecticut CT us<br />

Delaware DE us<br />

District of Columbia DC us<br />

Federated States of Micronesia FM us<br />

Florida FL us<br />

Georgia GA us<br />

Guam GU us<br />

Hawaii HI us<br />

Idaho ID us<br />

Illinois IL us<br />

Indiana IN us<br />

Iowa IA us<br />

Kansas KS us<br />

Kentucky KY us<br />

Louisiana LA us<br />

Maine ME us<br />

Marshall Islands MH us<br />

Maryland MD us<br />

Massachusetts MA us<br />

Michigan MI us<br />

Minnesota MN us<br />

Mississippi MS us<br />

Missouri MO us<br />

Montana MT us<br />

Nebraska NE us<br />

Nevada NV us<br />

New Hampshire NH us<br />

New Jersey NJ us<br />

New Mexico NM us<br />

New York NY us


296<br />

State/Region Code Country<br />

North Carolina NC us<br />

North Dakota ND us<br />

Northern Mariana Islands MP us<br />

Ohio OH us<br />

Oklahoma OK us<br />

Oregon OR us<br />

Palau PW us<br />

Pennsylvania PA us<br />

Puer<strong>to</strong> Rico PR us<br />

Rhode Island RI us<br />

South Carolina SC us<br />

South Dakota SD us<br />

Tennessee TN us<br />

Texas TX us<br />

Utah UT us<br />

Vermont VT us<br />

Virgin Islands VI us<br />

Virginia VA us<br />

Washing<strong>to</strong>n WA us<br />

West Virginia WV us<br />

Wisconsin WI us<br />

Wyoming WY us<br />

Alberta AB ca<br />

British Columbia BC ca<br />

Mani<strong>to</strong>ba MB ca<br />

New Brunswick NB ca<br />

Newfoundland NF ca<br />

Nova Scotia NS ca<br />

Northwest Terri<strong>to</strong>ries NT ca<br />

Nunavut NN ca<br />

Ontario ON ca<br />

Prince Edward Island PE ca<br />

Quebec QC ca<br />

Saskatchewan SK ca<br />

Yukon YT ca<br />

Eastern Cape EC za<br />

Free State FS za<br />

Gauteng GG za<br />

KwaZulu-Natal KN za<br />

Mpumalamanga MG za<br />

Northern Cape NO za<br />

Northern Province NP za<br />

North West NW za<br />

Western Cape WC za


State/Region Code Country<br />

Australian Capital Terri<strong>to</strong>ry ACT au<br />

New South Wales NSW au<br />

Northern Terri<strong>to</strong>ry NT au<br />

Queensland QLD au<br />

South Australia SA au<br />

Tasmania TAS au<br />

Vic<strong>to</strong>ria VIC au<br />

Western Australia WA au<br />

297


Appendix G<br />

Commodity codes for Purchasing Cards<br />

Commodity<br />

Code<br />

Description<br />

7461 ACCOUNTING/TAX CONSULTANCY SERVICES<br />

7464 ADVERTISING AND MARKETING SERVICES<br />

3100 AGRICULTURAL FERTILISERS<br />

8800 AIRCRAFT PARTS<br />

2200 ALCOHOLIC BEVERAGES<br />

1200 ANIMAL FEEDING STUFFS<br />

7300 BARBED WIRE/FENCING<br />

0900 BEVERAGES - NON-ALCOHOLIC<br />

8705 BICYCLES/TRICYCLES<br />

9000 BINOCULARS/TELESCOPES<br />

4900 BOOKS/PRINTED MATERIAL<br />

2500 BUILDING AGGREGATES<br />

6900 BUILDING BRICKS/TILES/STONES<br />

8507 BURGLAR & FIRE ALARMS<br />

9001 CAMERAS/FLASHES<br />

7160 CAR HIRE SERVICES: QUALIFYING CARS<br />

6562 CAR LEASING SERVICES: QUALIFYING CARS<br />

6565 CAR LEASING SERVICES: NON - QUALIFYING CARS<br />

5700 CARPETS/FLOOR COVERINGS<br />

5561 CATERING SERVICES<br />

6901 SINKS, BATHS, WASHBASINS; OTHER PLUMBING/HEATING PRODUCTS<br />

2800 CHEMICALS/ACIDS<br />

3400 CLEANING PRODUCTS<br />

7468 CLEANING SERVICES<br />

9100 CLOCKS, WATCHES & PARTS<br />

6200 CLOTHING<br />

8701 COMMERCIAL MOTOR VEHICLES<br />

6563 COMMERCIAL VEHICLE LEASING SERVICES<br />

7260 COMPUTER CONSULTANCY SERVICES<br />

8405 COMPUTER HARDWARE<br />

8406 COMPUTER SOFTWARE<br />

7163 COMPUTER/OFFICE MACHINE RENTAL<br />

4560 CONSTRUCTION/DEMOLITION SERVICES<br />

0400 DAIRY PRODUCE<br />

7261 DATA PROCESSING SERVICES<br />

8060 DRIVING TUITION SERVICES<br />

8509 ELECTRIC LAMPS<br />

4562 ELECTRICAL CONTRACTING<br />

8508 ELECTRICAL SWITCHES/FUSES/PLUGS/CIRCUITS<br />

8061 EMPLOYEE TRAINING<br />

298


Commodity<br />

Code<br />

Description<br />

9360 EMPLOYEE WELFARE SERVICES<br />

7466 EMPLOYMENT BUREAU SERVICES<br />

6561 EQUIPMENT LEASING SERVICES<br />

7061 ESTATE AGENCY SERVICES<br />

6564 FACTORING SERVICES<br />

6760 FINANCIAL ADMINISTRATION SERVICES<br />

6560 FINANCIAL SERVICES (NON INSURANCE)<br />

8404 FIRE EXTINGUISHERS<br />

3000 FIRST AID PRODUCTS<br />

0300 FISH/SEAFOOD PRODUCTS<br />

6400 FOOTWEAR<br />

FREIGHT / CARRIAGE CHARGES (NON COURIER / DELIVERY SERVICE<br />

6362 PROVIDERS)<br />

6061 FREIGHT TRANSPORT SERVICES<br />

0800 FRUIT AND FRUIT PRODUCTS<br />

8500 GENERATORS/ELECTRIC MOTORS<br />

7000 GLASSWARE<br />

8200 HAND TOOLS<br />

6500 HEADGEAR<br />

5560 HOTEL/RESTAURANT SERVICES<br />

8401 INDUSTRIAL ENGINES/PLANT: PARTS<br />

3600 INDUSTRIAL EXPLOSIVES<br />

8400 INDUSTRIAL MECHANICAL APPLIANCES/PARTS<br />

7100 INDUSTRIAL METALS (BASE/PROCESSED)<br />

8402 INDUSTRIAL PLANT/EQUIPMENT<br />

3800 INSECTICIDES/FUNGICIDES/DISINFECTANTS<br />

6660 INSURANCE SERVICES - GENERAL<br />

4565 JOINERY SERVICES<br />

8403 KITCHEN EQUIPMENT<br />

4200 LEATHER CASES AND BAGS<br />

7460 LEGAL SERVICES - LAWYERS/SOLICITORS<br />

9261 LIBRARY/ARCHIVING SERVICES<br />

0100 LIVE ANIMALS<br />

2702 LUBRICATING OILS<br />

8201 MACHINE TOOLS<br />

8202 MACHINE/HAND TOOL PARTS<br />

7262 MAINTENANCE/REPAIR - OFFICE EQUIPMENT<br />

7463 MANAGEMENT CONSULTANCY SERVICES<br />

7462 MARKET RESEARCH SERVICES<br />

9004 MEASURING EQUIPMENT<br />

0200 MEAT/MEAT PRODUCTS<br />

9260 MEDIA/NEWS AGENCY SERVICES<br />

8560 MEDICAL SERVICES<br />

9160 MEMBERSHIP SUBSCRIPTIONS<br />

299


Commodity<br />

Code<br />

Description<br />

9003 MICROSCOPES<br />

8700 MOTOR CARS<br />

8704 MOTOR CYCLES/SIDECARS<br />

8703 MOTOR VEHICLE PARTS (EXCLUDING TYRES)<br />

5060 MOTOR VEHICLE REPAIR/MAINTENANCE SERVICES<br />

9200 MUSICAL INSTRUMENTS<br />

4801 NEWSPRINT<br />

9400 OFFICE FURNITURE<br />

4800 OFFICE STATIONERY<br />

7472 OTHER BUSINESS SERVICES<br />

6300 PACKING MATERIALS/SACKS/BAGS<br />

7470 PACKING SERVICES<br />

PADLOCKS, LOCKS, KEYS. SAFES, STRONG BOXES, OTHER<br />

8300 IRONMONGERY PRODUCTS<br />

4566 PAINTING/GLAZING SERVICES<br />

3200 PAINTS/VARNISHES<br />

6060 PASSENGER TRANSPORT<br />

6761 PENSION ADVISORY/ADMINISTRATION SERVICES<br />

2701 PETROL/DIESEL - ROAD FUEL<br />

9002 PHOTOCOPIERS<br />

3700 PHOTOGRAPHIC FILM PRODUCTS<br />

7469 PHOTOGRAPHIC SERVICES<br />

0600 PLANTS, SHRUBS AND TREES<br />

4564 PLASTERING SERVICES<br />

4563 PLUMBING, HEATING AND DRAINAGE SERVICES<br />

6460 COURIER SERVICES (COURIER / DELIVERY SERVICES PROVIDERS)<br />

2261 PRINTING SERVICES<br />

7062 PROPERTY MANAGEMENT SERVICES<br />

7060 PROPERTY RENTALS<br />

2260 PUBLISHING SERVICES<br />

8505 RADIOS<br />

8600 RAILWAY LOCOMOTIVE PARTS<br />

8502 RECORD/CASSETTE/CD PLAYERS<br />

7161 RENTAL OF AGRICULTURAL MACHINERY<br />

7162 RENTAL OF CONSTRUCTION EQUIPMENT<br />

7164 RENTAL OF SPORTS/RECREATIONAL EQUIPMENT<br />

4561 ROOFING SERVICES<br />

5600 ROPE,CABLE, NETTING<br />

4000 RUBBER PRODUCTS<br />

7471 SECRETARIAL/TRANSLATION SERVICES<br />

7467 SITE SECURITY SERVICES<br />

2700 SOLID FUEL; HEATING/ INDUSTRIAL/ AGRICULTURAL OILS<br />

8702 SPECIAL PURPOSE VEHICLES<br />

7560 STATUTORY CHARGES/LICENSES<br />

300


Commodity<br />

Code<br />

Description<br />

6360 STORAGE/WAREHOUSING SERVICES<br />

8503 TAPE RECORDERS/ANSWERING MACHINES<br />

7465 TECHNICAL ANALYSIS SERVICES<br />

6461 TELECOMMUNICATIONS SERVICES<br />

8501 TELEPHONES<br />

8506 TELEVISION SETS<br />

2400 TOBACCO/TOBACCO PRODUCTS<br />

9500 TOYS, GAMES AND MODELS<br />

8706 TRAILERS/TRAILER PARTS<br />

6361 TRAVEL AGENCY SERVICES<br />

4001 TYRES - MOTOR VEHICLES<br />

6600 UMBRELLAS AND WALKING STICKS<br />

9999 VAT: INSURANCE REPAIRS<br />

0700 VEGETABLES AND VEGETABLE PRODUCTS<br />

8407 VENDING MACHINES<br />

8504 VIDEO RECORDERS<br />

4802 WALLPAPER<br />

3760 WASTE DISPOSAL SERVICES<br />

4700 WOOD, TIMBER PRODUCTS, PULP AND PAPER PRODUCTS<br />

301


Appendix H<br />

IdentifyMe Submission Best Results Criteria<br />

Country Submit Phone Number Submit Address<br />

Andorra <br />

302<br />

Australia<br />

Austria <br />

Belguim <br />

Canada <br />

Czech Republic <br />

Denmark <br />

Germany <br />

Finland <br />

France <br />

Holland / Netherlands <br />

Hungary <br />

Ireland <br />

Italy <br />

Luxembourg <br />

Norway <br />

Portugal <br />

Slovak Republic <br />

Spain <br />

Sweden <br />

Switzerland <br />

U.S.A.


Glossary of useful terms<br />

A<br />

ABA<br />

See American Bankers Association.<br />

303<br />

Appendix I<br />

ABA Routing Number<br />

The American Bankers Association (ABA) routing number is a unique, bank identifying number<br />

that directs electronic ACH deposits <strong>to</strong> the proper bank. The routing number precedes the<br />

account number printed at the bot<strong>to</strong>m of a check and is usually printed with magnetic ink.<br />

Account Number<br />

A unique sequence of numbers assigned <strong>to</strong> a cardholder's account, which identifies the issuer<br />

and type of financial transaction card.<br />

ACH<br />

See Au<strong>to</strong>mated Clearing House.<br />

ACI<br />

See Authorization Characteristics Indica<strong>to</strong>r.<br />

Acquirer<br />

A bank or financial institution that acquires data relating <strong>to</strong> transactions from a merchant or card<br />

accep<strong>to</strong>r for processing. The acquirer enters this data in<strong>to</strong> interchange, either directly or<br />

indirectly. See Interchange.<br />

Acquiring Bank<br />

A bank that receives credit card transactions and then deposits them with the issuing banks. This<br />

is an acquirer.<br />

Address Verification Service<br />

A service that verifies the cardholder's billing address in order <strong>to</strong> help combat fraud in card-notpresent<br />

transactions (e.g. mail order, telephone order, internet, etc.). Used only in the United<br />

States.<br />

Agent Bank<br />

A bank that participates in another bank's acquiring program, usually by turning over its<br />

applicants for bank cards <strong>to</strong> the bank administering the acquiring program.<br />

American Banker's Association<br />

The trade association of American bankers. This body also has the responsibility of assigning the<br />

registration authority for identification numbers.<br />

American Express<br />

An organization that issues cards and acquires transactions, unlike Visa and MasterCard, which<br />

are bank associations. American Express processes their own transactions through their network.<br />

Amex<br />

See American Express.<br />

API<br />

The Application Programming Interface (API) is the interface by which an application program<br />

accesses the operating system and other services. An API is defined at source code level and


provides a level of abstraction between the application and the kernel <strong>to</strong> ensure the portability of<br />

the code.<br />

Approval<br />

Any transaction that is approved by the cardholder or the check issuer's bank. Approvals are<br />

requested via an authorization. An approval is the opposite of a declined transaction.<br />

Arbitration<br />

The procedure used <strong>to</strong> determine the responsibility for a chargeback-related dispute between a<br />

merchant and buyer.<br />

Asynchronous<br />

A method of transmitting data in which the data elements are identified with special start and s<strong>to</strong>p<br />

characters. An asynchronous modem cannot communicate with a synchronous modem. Compare<br />

with Synchronous (e.g. standard Hayes compatible modem).<br />

ATM<br />

See Au<strong>to</strong>mated Teller Machine.<br />

Auth Only<br />

A transaction in which the merchant does not intend <strong>to</strong> charge the cardholder until a later time, if<br />

at all. See Prior Authorized Sale.<br />

Authorization<br />

An authorization is a request <strong>to</strong> charge a cardholder. It reduces the cardholder's open <strong>to</strong> buy, but<br />

does not actually capture the funds. An authorization is the first transaction in the delayed deposit<br />

process. It does not bill the card until a delayed capture transaction is issued. The authorization<br />

must be deposited in order <strong>to</strong> charge the account. If it is not used within a certain time period, it<br />

will drop off. The issuing bank determines the time period for drop off. Authorizations can only be<br />

used for credit card transactions.<br />

Authorization Code<br />

Approved sale and authorization transactions always receive a numeric or alphanumeric<br />

authorization code referencing the transaction for processing purposes.<br />

Au<strong>to</strong>mated Clearing House<br />

The Au<strong>to</strong>mated Clearing House (ACH) network is a nationwide, wholesale electronic payment<br />

and collection system. It is a method of transferring funds between banks via the Federal Reserve<br />

System. Most, but not all, financial institutions use it.<br />

Average Ticket<br />

The average dollar amount of merchant credit transactions.<br />

AVS<br />

See Address Verification Service.<br />

B<br />

Bank card<br />

A debit or credit card issued by a bank.<br />

Bank Identification Number<br />

The digits of a credit card that identifies the issuing bank. It is sometimes the first six digits and is<br />

often referred <strong>to</strong> as a BIN. Also referred <strong>to</strong> as Issuer Identification Number.<br />

Basis Point<br />

304


One one-hundredth of a percent. Discount rates are expressed as basis points.<br />

Batch<br />

A collection of transactions submitted for deposit. Usually a merchant has one batch per day or<br />

per shift.<br />

Batch ID<br />

Once a batch is deposited, it is assigned a batch ID. Every transaction in the batch shares this ID.<br />

If a transaction does not have a batch ID associated with it, the transaction has not been<br />

deposited.<br />

Batch Processing<br />

A type of data processing where related transactions are transmitted as a group for processing.<br />

Batch Deposit<br />

An electronic bookkeeping procedure that sends all funds from captured transactions <strong>to</strong> the<br />

merchant's acquiring bank for deposit. PaymentTrust TM au<strong>to</strong>matically submits all captured<br />

transactions for deposit on a daily basis. The time span, in which funds reach the merchant<br />

account after deposit, is 1-5 days, but varies by acquiring bank.<br />

BIN<br />

See Bank Identification Number.<br />

Binary Executable<br />

A universal character coding system.<br />

Bundled Rate<br />

A discount rate that includes communication costs as well as transaction fees. Also referred <strong>to</strong> as<br />

a flat rate.<br />

C<br />

Cancellation<br />

Reversal of a partial or an entire authorization charge prior <strong>to</strong> the deposit process. It prevents a<br />

transaction from being deposited. A Cancellation does not remove any hold on the cardholder's<br />

open <strong>to</strong> buy.<br />

Capture<br />

The process of capturing funds from an authorized transaction.<br />

Card Issuer<br />

See Issuer, Issuing Bank.<br />

Card-Not-Present<br />

A merchant environment where the cardholder and the card are not physically present at the time<br />

of purchase. The following are typical card-not-present transactions: mail/telephone order,<br />

business <strong>to</strong> business and internet based transactions.<br />

Card-Present<br />

A merchant environment where the cardholder and the card are physically present at the time of<br />

purchase. Card-present transactions account for the majority of credit card transactions in the<br />

world.<br />

Card Verification Value<br />

A unique verification value encoded on the magnetic strip of a card <strong>to</strong> validate card information<br />

during the authorization process. The card verification value is calculated from the data encoded<br />

305


on the magnetic strip using a secure cryp<strong>to</strong>graphic process. This method is used by Visa and<br />

Master Card.<br />

CAV<br />

Cardholder Authentication Value used by PaymentTrust Ltd. and Acquirer. Base64 encoded data<br />

structure containing 3D <strong>Secure</strong> authentication results provided by the 3D <strong>Secure</strong> MPI, usually<br />

Visa’s CAVV or MasterCard’s UCAF.<br />

CAVV<br />

Visa’s Cardholder Authentication Verification Value. Base64 encoded data structure containing<br />

3D <strong>Secure</strong> authentication results provided by the 3D <strong>Secure</strong> MPI.<br />

CGI<br />

See Common Gateway Interface.<br />

Chargeback<br />

The act of taking back funds that have been paid <strong>to</strong> a merchant for a disputed or improper credit<br />

card transaction. The issuer can initiate this procedure 30 days after the deposit.<br />

Chargeback Period<br />

The number of calendar days in which a card member may charge sales back <strong>to</strong> the merchant,<br />

beginning with the day after the date the record is first received by the member or agent and<br />

continuing until the end of the day on which it is dispatched as a chargeback item.<br />

Chargeback Reason Code<br />

A two-digit code identifying the specific reason for the chargeback.<br />

Check Guarantee<br />

A service which guarantees check payments (up <strong>to</strong> the limit defined for the account) provided that<br />

the merchant follows correct procedures in accepting the check. The service determines whether<br />

the check issuer has previously written delinquent checks. Companies like TeleCheck provide<br />

this type of service.<br />

Chip Card<br />

Also known as a smart card. A chip card holds details on a computer chip, which can s<strong>to</strong>re and<br />

process information. It usually also has a traditional magnetic stripe.<br />

Clearing<br />

The process of exchanging financial details between an acquirer and an issuer <strong>to</strong> facilitate<br />

posting of a cardholder's account and reconciliation of a merchant's deposit position.<br />

Common Gateway Interface<br />

An interface program that enables an Internet server <strong>to</strong> run external programs <strong>to</strong> perform a<br />

specific function. Also referred <strong>to</strong> as gateways or CGI scripts; these programs generally consist of<br />

a set of instructions written in a programming language like C or PERL that process requests<br />

from a browser, executes a program and formats the results in HTML. Gateway scripts often add<br />

interactivity <strong>to</strong> a Web page by enabling users <strong>to</strong> fill out and submit forms for processing.<br />

Confirmation Letter<br />

A letter sent by a processor <strong>to</strong> a merchant on a daily or weekly basis <strong>to</strong> verify batch deposits.<br />

Converted Currency ID<br />

ISO standard numeric ids of the converted currency.<br />

Example: USA = 840, GBP = 826, JPY = 392<br />

306


Conversion Rate<br />

The conversion rate applied <strong>to</strong> the transaction amount in U.S. dollars.<br />

Copy Request<br />

See Retrieval Request.<br />

Credit<br />

Also known as a refund. A credit is a transaction that transfers funds from the merchant's account<br />

back in <strong>to</strong> the cus<strong>to</strong>mer's credit card. This type of transaction is usually performed when a<br />

product is returned <strong>to</strong> the merchant. A credit can be performed through the e-<strong>Transaction</strong><br />

Terminal area of PaymentTrust TM Payment Manager or through a merchant's s<strong>to</strong>refront<br />

application. Check refunds can only be issued via credit card or through a non-electronic paper<br />

check. A credit can only be issued <strong>to</strong> an account that has not had a previous authorization.<br />

Credit Limit<br />

The limit of credit a cardholder is approved <strong>to</strong> borrow. Credit card purchases are loans <strong>to</strong> the<br />

cardholder by the issuer.<br />

Currency ID<br />

ISO standard numeric ids of the converted currency.<br />

Example: USA = 840, GBP = 826, JPY = 392<br />

CVC<br />

See Card Verification Code.<br />

CVV See Card Verification Value.<br />

CVV2<br />

See Card Verification Value.<br />

D<br />

DDA<br />

See Demand Deposit Account.<br />

Debit Card<br />

An ATM bank card used <strong>to</strong> purchase goods and services, and <strong>to</strong> obtain cash. A debit card debits<br />

the cardholder's bank account and requires a Personal Identification Number (PIN). Debit cards<br />

branded with a bank card logo (e.g. Visa) can be accepted without a PIN for Internet transactions.<br />

Decline<br />

A transaction in which the issuing bank will not authorize the transaction.<br />

Delayed Capture<br />

A delayed capture is a transaction type that uses the information from an authorization<br />

transaction <strong>to</strong> capture funds. This is the second step in the delayed deposit process and should<br />

be used by merchants who do not provide immediate shipment of goods.<br />

Delayed Deposit<br />

This is a two-phase process that utilizes an authorization and a delayed capture transaction <strong>to</strong><br />

process cus<strong>to</strong>mer orders. This procedure is recommended when the merchant delivers goods or<br />

307


services after a 48-hour period.<br />

Demand Deposit Account<br />

A standard checking or savings account in<strong>to</strong> which electronic funds can be transferred.<br />

Deposit<br />

The process of transmitting a batch of transactions from the merchant <strong>to</strong> the acquiring institution<br />

for deposit preparation. It marks a previously authorized transaction for funds capture during the<br />

next deposit period. Merchants who do not ship goods immediately should use this transaction<br />

type after fulfilling their sales obligation.<br />

Discount fee<br />

Fee paid by the merchant <strong>to</strong> the merchant bank or other contracted party for processing the<br />

merchant's credit card sales transactions.<br />

Discount Rate<br />

Amount charged <strong>to</strong> a merchant by the acquiring bank for transaction processing. It usually<br />

represents a percentage of the transaction amount. The rate is typically based on monthly<br />

transaction volume (<strong>to</strong>tal dollars) and average ticket. The discount fee is the dollar amount<br />

charged.<br />

Downgraded ICC:<br />

A chip card that only contains track 2 information on it.<br />

Draft Capture<br />

Refers <strong>to</strong> Deposit.<br />

E<br />

ECR<br />

See Electronic Cash Register.<br />

EFT<br />

See Electronic Funds Transfer.<br />

Electronic Cash Register<br />

The combination of a cash register and a POS terminal, often PC based.<br />

Electronic Funds Transfer<br />

The paperless act of transmitting money through a computer network.<br />

External Sales Agent<br />

Amex term for ISO or MSP.<br />

F<br />

Floor Limit<br />

A preset limit established by an issuer that allowed merchants <strong>to</strong> accept credit card sales without<br />

authorization provided the merchant verifies the card number on a warning bulletin for lost or<br />

s<strong>to</strong>len cards. Floor limits are now rarely used.<br />

Fraudulent User<br />

An individual who is not the cardholder or designee and who uses a card <strong>to</strong> obtain goods or<br />

services without the cardholder's consent.<br />

308


Fraudulent <strong>Transaction</strong><br />

A transaction unauthorized by the cardholder of a bank card. Such transactions are categorized<br />

as lost, s<strong>to</strong>len, not received, issued on a fraudulent application, counterfeit, fraudulent processing<br />

of transactions, account takeover, or other fraudulent conditions as defined by the card company<br />

or the member company.<br />

H<br />

HTTP Pro<strong>to</strong>col<br />

Hardware and/or software that connects computer networks and allows them <strong>to</strong> communicate.<br />

I<br />

ICC (Integrated Circuit Card)<br />

See chip card.<br />

Independent Sales Organization<br />

Visa term for a company that is sponsored by an acquiring bank <strong>to</strong> solicit and sometimes support<br />

merchants.<br />

Interchange<br />

The flow of information between issuers and acquirers (e.g. transactions, retrieval requests,<br />

chargebacks).<br />

Interchange Fee<br />

The fee charged by Visa and MasterCard for each credit card transaction. This fee is part of the<br />

discount rate.<br />

Internet Merchant Bank Account<br />

A special account required for merchants who wish <strong>to</strong> sell goods and services over the Internet<br />

and accept credit cards as payment. This type of account is different than a typical merchant<br />

account and is considered similar <strong>to</strong> a card-not-present transaction.<br />

Internet Service Provider<br />

A company that offers access <strong>to</strong> individuals or companies <strong>to</strong> connect <strong>to</strong> the Internet.<br />

ISO<br />

See Independent Sales Organization.<br />

ISP<br />

See Internet Service Provider.<br />

Issuer<br />

An institution that issues plastic cards <strong>to</strong> cardholders.<br />

Issuing Bank<br />

See Issuer.<br />

M<br />

Magnetic Ink Character Recognition (MICR)<br />

The process used <strong>to</strong> read the string of numbers on the bot<strong>to</strong>m of a check. The MICR characters<br />

(0-9 and 4 special characters) are printed in special <strong>to</strong>ner or ink. When the check is passed<br />

309


through a reader/sorter, it passes through two magnetic heads. The first one magnetizes the<br />

MICR character and the second one reads the (now) magnetic MICR character. Also referred <strong>to</strong><br />

as Magnetic Ink Check Reader.<br />

Manual Entry<br />

Credit card information that is entered via the e-<strong>Transaction</strong> Terminal of PaymentTrust TM<br />

Payment Manager.<br />

Manual Refund<br />

A transaction that returns the specified amount <strong>to</strong> the cardholder's account.<br />

MasterCard<br />

An association of banks that governs the issuing and acquiring of MasterCard credit card<br />

transactions and Maestro debit transactions.<br />

Member<br />

A financial institution that is a member of Visa USA and/or MasterCard International. A member is<br />

licensed <strong>to</strong> issue cards <strong>to</strong> cardholders and/or accept merchant drafts.<br />

Merchant<br />

A retailer, or any other entity (pursuant <strong>to</strong> a Merchant Agreement), that agrees <strong>to</strong> accept credit<br />

cards, debit cards, or both, when properly presented.<br />

Merchant Agreement<br />

A written agreement between a merchant and a bank (or possibly between a merchant, a bank<br />

and ISO) summarizing their respective rights, duties and warranties with respect <strong>to</strong> acceptance of<br />

the bank card and matters related <strong>to</strong> bank card activity.<br />

Merchant Bank<br />

A bank issuing an agreement <strong>to</strong> a merchant <strong>to</strong> accept (acquire) deposits generated by bank card<br />

transactions.<br />

Merchant Category Code<br />

A code assigned by an acquirer <strong>to</strong> a merchant <strong>to</strong> identify the merchant's principal trade,<br />

profession, or line of business. This 4-digit code is also know as the SIC code.<br />

Merchant Discount<br />

Compensation received by a bank from a merchant for processing and accepting credit card risk<br />

on the merchant's credit card sales.<br />

Merchant Number<br />

A series or group of digits that uniquely identifies the merchant <strong>to</strong> the merchant's signing bank for<br />

account and billing purposes.<br />

Merit<br />

Refers <strong>to</strong> the qualification levels for a MasterCard transaction. Merit III is the highest discount,<br />

followed by Merit II, Merit I, and then Standard.<br />

MICR Number<br />

See Magnetic Ink Character Recognition.<br />

MO/TO<br />

Mail Order/Telephone Order credit card transactions.<br />

MPI<br />

Merchant Plugin. 3 rd party software used by a merchant <strong>to</strong> authenticate 3D <strong>Secure</strong> transactions.<br />

310


MSP<br />

See Member Service Provider.<br />

N<br />

<strong>Network</strong><br />

See Processor. Also used <strong>to</strong> refer <strong>to</strong> communication networks like AT&T or CompuServe.<br />

Non-Qualified<br />

A broad term that describes a transaction that did not interchange at the best rate, because it was<br />

entered manually, was not deposited in a timely manner, or the data set required for the best<br />

interchange was not provided.<br />

O<br />

ODFI<br />

See Originating Deposi<strong>to</strong>ry Financial Institution.<br />

Open <strong>to</strong> buy<br />

The amount of credit available at a given time on a cardholder's account.<br />

Opera<strong>to</strong>r<br />

A central clearing facility that provides distribution and deposit of ACH transactions. ACH<br />

opera<strong>to</strong>rs clear debits and credits electronically, rather manually. Currently four ACH Opera<strong>to</strong>rs<br />

exist: the Federal Reserve System, which clears approximately 80% of all ACH transactions,<br />

Visanet ACH, New York ACH, and American ACH.<br />

Original Draft<br />

The original copy of the forms and signatures used in the transaction. Also referred <strong>to</strong> as the hard<br />

copy.<br />

Originating Deposi<strong>to</strong>ry Financial Institution<br />

A financial institution that initiates and warrants electronic payments through the ACH network on<br />

behalf of its cus<strong>to</strong>mers.<br />

Origina<strong>to</strong>r<br />

A company or other business entity that creates entries for introduction in<strong>to</strong> the ACH network. For<br />

example, a billing company produces debit entries from cus<strong>to</strong>mers' financial institution accounts<br />

who have authorized direct payment for products and services.<br />

P<br />

PAN<br />

See Primary Account Number.<br />

PIN<br />

Personal Identification Number used by a cardholder <strong>to</strong> authenticate card ownership for ATM or<br />

debit card transactions. The cardholder enters his/her PIN in<strong>to</strong> a keypad. The PIN is required <strong>to</strong><br />

complete an ATM/debit card transaction.<br />

Point Of Sale<br />

The place and time at which a transaction occurs. Point of Sale (POS) also refers <strong>to</strong> the devices<br />

or software used <strong>to</strong> capture transactions.<br />

311


POS<br />

See Point Of Sale.<br />

Post Authorization<br />

A transaction for which a voice authorization was received. See Prior Authorized Sale.<br />

Post-Auth<br />

See Post Authorization.<br />

Posting<br />

The process of recording debits and credits <strong>to</strong> a cardholder's account balances.<br />

Pre-Auth<br />

Same as Auth Only.<br />

Prenote<br />

See Pre-Notification.<br />

Pre-Notification<br />

Prior <strong>to</strong> the initiation of the first ACH entry <strong>to</strong> an ACH receiver or the ACH receiver's account with<br />

an RDFI, an ACH origina<strong>to</strong>r may, at its option, deliver or send a pre-notification through an ODFI<br />

<strong>to</strong> its ACH opera<strong>to</strong>r for transmittal <strong>to</strong> the appropriate RDFI. The pre-notification shall provide<br />

notice <strong>to</strong> the RDFI that the origina<strong>to</strong>r intends <strong>to</strong> initiate one or more entries <strong>to</strong> that receiver's<br />

account in accordance <strong>to</strong> the receiver's authorization.<br />

Primary Account Number (commonly called PAN)<br />

The number that is embossed, encoded, or both on a plastic card that identifies the issuer and<br />

the particular cardholder account. The PAN consists of a major industry identifier, issuer identifier,<br />

individual account identifier, and check digit.<br />

Prior<br />

See Prior Authorized Sale.<br />

Prior Authorized Sale<br />

A transaction for which authorization was obtained before a transaction takes place, e.g. when a<br />

merchant has <strong>to</strong> call for authorization before services are rendered. The approved authorization<br />

request may be held for an extended length of time before a card is present or not.<br />

Prior-Auth<br />

See Prior Authorized Sale.<br />

Private Label Card<br />

A bank card that can be used only in a specific merchant's s<strong>to</strong>re. Typically not a bank card.<br />

Processing Date<br />

The date on which the acquiring bank processes the transaction.<br />

Processor<br />

A large data center that processes credit card transactions and deposits funds <strong>to</strong> merchants. A<br />

processor connects <strong>to</strong> the merchant on behalf of an acquirer via a gateway or POS system <strong>to</strong><br />

process payments electronically. Processors edit and format messages and switch <strong>to</strong> bank card<br />

networks. They provide files for clearing and deposit, and other value added services.<br />

Q<br />

312


Qualification<br />

A level at which a transaction interchanges. The level of qualification is dependent on how a<br />

credit card number is entered, how quickly a transaction is deposited, the type of industry, and<br />

other specific information.<br />

R<br />

RDFI<br />

See Receiving Deposi<strong>to</strong>ry Financial Institution.<br />

Receipt<br />

A hard copy description of the transaction that occurred at the point of sale. Minimum information<br />

contained on a receipt is date, merchant name and location, account number, type of account<br />

used (e.g. Visa, MasterCard, Amex, etc.), amount, reference number and/or authorization code,<br />

and action code.<br />

Receiver<br />

A consumer, cus<strong>to</strong>mer, employee, or business who has authorized ACH payments by Direct<br />

Deposit or Direct Payment <strong>to</strong> be applied against a deposi<strong>to</strong>ry account.<br />

Receiving Deposi<strong>to</strong>ry Financial Institution<br />

A financial institution that provides deposi<strong>to</strong>ry account services <strong>to</strong> cus<strong>to</strong>mers, employees and<br />

businesses, and accepts electronic debits and credits <strong>to</strong> and from these accounts.<br />

Recurring <strong>Transaction</strong><br />

A transaction in which a cardholder has given a merchant permission <strong>to</strong> periodically charge the<br />

cardholder's account.<br />

Refund<br />

A transaction that returns the specified amount <strong>to</strong> the cardholder's account.<br />

Response Code<br />

A numeric code that indicates whether a transaction was approved or declined. Response codes<br />

are used in the PaymentTrust TM system <strong>to</strong> indicate transaction responses <strong>to</strong> merchants.<br />

Retrieval<br />

See Retrieval Request.<br />

Retrieval Request<br />

A request <strong>to</strong> a merchant for documentation concerning a transaction, usually initiated by a<br />

cardholder's dispute or suspicious sale/return. A retrieval request can lead <strong>to</strong> a chargeback.<br />

Return Code<br />

Any of the codes returned by PaymentTrust TM when a transaction is processed.<br />

S<br />

<strong>Secure</strong> Sockets Layer<br />

An encryption system that allows merchants <strong>to</strong> securely process electronic transactions.<br />

Deposit<br />

The process by which transactions with authorization codes are sent <strong>to</strong> the processor for<br />

payment <strong>to</strong> the merchant. Deposit is a sort of electronic bookkeeping procedure that causes all<br />

funds from captured transactions <strong>to</strong> be routed <strong>to</strong> the merchant's acquiring bank for deposit.<br />

PaymentTrust TM au<strong>to</strong>matically submits all captured transactions for deposit on a daily basis. The<br />

313


time that it takes for these funds <strong>to</strong> reach the merchant account after deposit is 1-5 days, but<br />

varies according <strong>to</strong> the merchant's agreement with their respective card processing company.<br />

Also referred <strong>to</strong> as Deposit.<br />

SIC Code<br />

Refers <strong>to</strong> Standard Industry Classification. These codes are 4-digit numbers used <strong>to</strong> identify a<br />

business type.<br />

Simultaneous Authorization And Deposit<br />

Charges the specified amount against the account, and marks the transaction for immediate<br />

funds transfer during the next deposit period.<br />

Smart Card<br />

A credit or debit card embodying a computer chip with memory and interactive capabilities used<br />

for identification and <strong>to</strong> s<strong>to</strong>re additional data about the cardholder, cardholder's account, or both.<br />

Also called an integrated circuit card or a chip card.<br />

SSL<br />

See <strong>Secure</strong> Sockets Layer.<br />

Standard<br />

The lowest qualification level at which a Visa or MasterCard transaction may interchange. This<br />

occurs when a transaction is deposited several days after the original authorization.<br />

Surcharges<br />

Any additional charges <strong>to</strong> a merchant's standard processing fee. They are a result of nonqualified<br />

transactions of different communication methods.<br />

Suspense<br />

A state in which a batch of transactions is not released <strong>to</strong> interchange, because of problems<br />

noticed by the host computer. Requires human intervention <strong>to</strong> fix the problem and deposit the<br />

batch.<br />

Swiped Card<br />

Credit card information that is transferred directly as a result of swiping or sliding the credit card<br />

through a card reader. Swiped cards are used in retail and other card-present situations. The<br />

information magnetically encoded in the magnetic strip includes confidential data that helps<br />

validate the card.<br />

Synchronous<br />

A method of transmitting data in which the data elements are sent at a specific rate so that start<br />

and s<strong>to</strong>p characters are not needed. Used by older modems such as, Amex PIP terminals. See<br />

Asynchronous.<br />

T<br />

T & E Card<br />

See Travel and Entertainment Card.<br />

Tender Type<br />

The type of "money" used when processing a transaction, for example, credit card, check, ACH,<br />

Purchase Card, etc.<br />

Third Party Processor<br />

A non-member agent employed by an acquiring bank, which provides authorization, deposit and<br />

merchant services <strong>to</strong> the bank's merchant.<br />

314


Track 1<br />

Bank discretionary data encoded on a magnetic stripe. Includes credit card account number,<br />

cardholder name, and expiry date. This magnetic strip is read-only, and its contents are defined in<br />

ISO 7813.<br />

Track 2<br />

Bank discretionary data encoded on a magnetic stripe. Track 2 includes credit card account<br />

number and expiry date. This magnetic strip is read-only, and its contents are defined in ISO<br />

7813.<br />

<strong>Transaction</strong><br />

The action between a cardholder and a merchant that results in activity on the cardholder's<br />

account.<br />

<strong>Transaction</strong> Fee<br />

A per transaction charge in addition <strong>to</strong> the percentage discount fees, incurred by merchants who<br />

are on scale pricing.<br />

<strong>Transaction</strong> Date<br />

The date on which a transaction between a cardholder and a merchant, an acquirer, or a carrier,<br />

occurs.<br />

<strong>Transaction</strong> ID<br />

A is a 16-character numeric string that PaymentTrust TM assigns <strong>to</strong> every transaction that it<br />

processes.<br />

<strong>Transaction</strong> Type<br />

A specific financial detail transaction activity that can be submitted <strong>to</strong> the clearing system<br />

Travel and Entertainment Card<br />

Credit cards that typically require payment in full each month, (e.g. American Express, Diner's<br />

Club, and Carte Blanche).<br />

U<br />

UCAF<br />

MasterCard’s Universal Cardholder Authentication Field. Base64 encoded data structure<br />

containing 3D <strong>Secure</strong> authentication results provided by the 3D <strong>Secure</strong> MPI.<br />

Undeposited <strong>Transaction</strong>s<br />

PaymentTrust TM au<strong>to</strong>matically deposits deposit transactions on a daily basis. Please note that<br />

authorization transactions are not captured until they are completed by a deposit transaction.<br />

PaymentTrust TM transaction types that are au<strong>to</strong>matically flagged for capture include simultaneous<br />

authorization, deposit, and refund.<br />

V<br />

Visa<br />

An association of banks that governs the issuing and acquiring of Visa credit card transactions.<br />

315


© 2000-2006 PaymentTrust Ltd. All rights reserved.<br />

PaymentTrust Developer’s Guide<br />

Version 08.24.25<br />

Issue date: December 2007<br />

Document Control:<br />

Author: IT Department<br />

This document is protected by the copyright laws and treaties and may not be reproduced, s<strong>to</strong>red in<br />

a retrieval system or transmitted in any form or by any means (pho<strong>to</strong>copying, recording, or<br />

otherwise) without permission from PaymentTrust Ltd.<br />

RiskGuardian TM , PaymentTrust TM, and the PaymentTrust Ltd. logo are<br />

trademarks or service marks of <strong>WorldPay</strong> Limited. All other marks<br />

listed in this document may be trademarks of their respective owners and<br />

are mentioned for identification purposes only.<br />

PaymentTrust Canada<br />

9900 Cavendish Blvd, Suite 206<br />

Canada H4M 2V2<br />

Phone +1 514.336.4949<br />

Fax +1 514.336.0239<br />

316

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!