SPARROW Gateway. Merchant Upload API. Version 1.0 (Build 6208)



Similar documents
SPARROW Gateway. Developer Data Vault Payment Type API. Version 2.7 (6293)

Methodology Three-Step

SPARROW Gateway. Developer API. Version 2.00

MasterCard In tern et Gatew ay Service (MIGS)

Three Step Redirect API V2.0 Patent Pending

Durango Merchant Services Customer Vault API

Merchant One Payment Systems Integration Resources. Direct Post API Documentation June 2007

Magensa Services. Administrative Account Services API Documentation for Informational Purposes Only. September Manual Part Number:

Inspire Commerce &.pay. Customer Vault API. Inspire Commerce

Network Merchants Inc (NMI) Integration Resources. Direct Post API Documentation April 2010

Process Transaction API

Three Step Redirect API

Transaction Details Guide

Netswipe Processing Implementation

Universal Management Portal

Pensio Payment Gateway Merchant API Integration Guide

JetPay Authorization XML Specification

CPAY MERCHANT INTEGRATION SPECIFICATION

Merchant Web Services API

Volume PLANETAUTHORIZE PAYMENT GATEWAY. vtiger CRM Payment Module. User Guide

Credomatic Integration Resources. Browser Redirect API Documentation June 2007

PROCESS TRANSACTION API

Gateway Direct Post API

Gateway Developer Guide and Reference

PayPal Usage Document

Global Transport Secure ecommerce. Web Service Implementation Guide

Merchant Management Service

Merchant Web Services API

Who Is Your Insurance Web Service

The Wells Fargo Payment Gateway Business Center. User Guide

ipayment Gateway API (IPG API)

Merchant Web Services API

INTEGRATION PROCEDURES AND SPECIFICATIONS

United Payment Services My Merchant Console Connect Virtual Terminal User Guide

Merchant Web Services API

CRM Confluence Plugin User Guide

JetPay SM JetCom SM. User s Guide

Rapid 3.0 Transparent Redirect API. Official eway Documentation. Version 0.82

Setting up your Moneris Payment Gateway

PathwayLINK Recurring Billing Document Version 1.7 Published NOV 2011

Merchant Web Services API

DNNSmart Super Store User Manual

CyberSource Merchant Account Reports

MXSAVE XMLRPC Web Service Guide. Last Revision: 6/14/2012

Aras Innovator Authentication Setup

3. From the Merchant Administration drop down select VCS Interfacing (page1)

Merchant Web Services API

Merchant Web Services API

Our server platform consists of Microsoft Windows 2008 servers with SQL Server 2005 which are under 24/24 monitoring.

Configuring the Payment Gateway Connection

Web Services Credit Card Errors A Troubleshooter

Elavon Payment Gateway- Reporting User Guide

Merchant Web Services API

PayPoint Gateway Overview NC Office of the State Controller Revised February 1, 2015

APS Gateway New Merchant Set-up

Cardsave Payment Gateway

MONETA.Assistant API Reference

Interzoic Single Sign-On for DotNetNuke Portals Version 2.1.0

KMx Enterprise: Integration Overview for Member Account Synchronization and Single Signon

Version 1.0. ASAM CS Single Sign-On

Last updated: September 3, SecureNet Error Codes

Setting Up epayment Processing

HireDesk API V1.0 Developer s Guide

Guide to BBPS and BBMS Blackbaud Payment Services and Blackbaud Merchant Services explained.

Association Anywhere Authentication Web Service

COMMERCIAL-IN-CONFIDENCE

Virtual Fax API User Guide

Title Page. Credit Card Services. User Guide. August CyberSource Corporation HQ P.O. Box 8999 San Francisco, CA Phone:

Cloud Powered Mobile Apps with Azure

API Integration Payment21 Button

Remote Integration Guide. Online Payment Processing for Businesses Worldwide.

UFTP AUTHENTICATION SERVICE

Swedbank Payment Portal Implementation Overview

CyberSource Global Payment Service

Phone Manager Application Support JANUARY 2015 DOCUMENT RELEASE 4.2 APPLICATION SUPPORT

Hosted Credit Card Forms Implementation Guide

An access number, dialed by a modem, that lets a computer communicate with an Internet Service Provider (ISP) or some other service provider.

How To Set Up The Barclaycard Epdq Cardholder Payment Interface (Cpi) On Papercut (Barclay Card) On A Microsoft Card (For A Credit Card) With A Creditcard (For An Account)

Litle & Co. Scheduled Secure Report Reference Guide. August Document Version: 1.8

Card-Present Processing Using the Simple Order API

Copyright , ResellersPanel.com ResellersPanel API Documentation API Documentation Version 2.3 July 19, 2012

MyGate Response Codes. Version 2.1

Batch Processing. Specification. Version SIX Payment Services

Global E-Commerce Gateway Developers Reference Guide

ANZ Secure Gateway Virtual Terminal QUICK REFERENCE GUIDE NOVEMBER 2015

Website Payments Plus Integration Guide

DIRECT INTEGRATION GUIDE DIRECT INTEGRATION GUIDE. Version: 9.16

Hosting Controller 7C Gateway Open API Manual

API Integration Payment21 Recurring Billing

Secure XML API Integration Guide. (with FraudGuard add in)

Website Payments Pro Hosted Solution Integration Guide. Hong Kong

API Documentation. Version 2.0

Recurring Payments Manual

Magento Extension User Guide: Payment Pages. This document explains how to install the official Secure Trading extension on your Magento store.

PCCharge v5.7.1i SP8b New Merchant Account Worksheet

NetSource Commerce Payment Gateway Sign Up Form Page 1 of 6

Transcription:

SPARROW Gateway Merchant Upload API Version 1.0 (Build 6208) Released May 2015

Revision History Date Revision Comments Author 2015-04-09 1.0 Initial document created Ivan Voropaev, Blinova Alexandra 2

Table of Contents Revision History... 2 Overview... 4 Architecture... 4 Authentication... 4 Merchant Uploading Request... 4 Merchant Uploading Response... 7 Appendix A upload data examples... 9 Get Auth Token... 9 Request:... 9 Response:... 9 Upload Merchant Data... 9 Request (creating new company with two accounts):... 9 Request (creating two accounts for existing company):... 11 Response:... 12 3

Overview Merchant Upload API 2015 There are three possible ways to create a new company in the Sparrow Gateway: Create merchant manually using Create merchant company wizard. Upload merchant in xlsx format using Merchant Upload page. Upload merchant in xml format using API. This document describes Merchant upload API. Architecture Authentication To authenticate client in the system, you need to send HTTP GET request. Request format: https://secure.5thdl.com/service.svc/authenticate?username={username}&password={password} Parameter Format Description username String Username password String Password Client gets HTTP POST response in xml format. Response contains fields listed above: Field Format Description ResultCode Integer Result code of the Authentication operation. See Appendix B for all possible codes Message String Message with information about Authentication result AuthToken String Generated auth token See Appendix A for examples of requests and responses. After successful authentication client gets Auth Token. Below is an example of Auth Token: 70LOX65FMJDOB4FMYOBZ Merchant Uploading Request To create merchant, you need to send HTTP POST request to the URL with your Auth Token. Below is an example of URL: https://secure.5thdl.com/merchantupload.svc/process?authtoken=70lox65fmjdob4fmyobz System allows user to: Upload new merchant company with accounts Upload merchant accounts for existing company To upload merchant accounts for existing company you need to specify merchant company name and send merchant accounts data. To upload new merchant company with accounts you need to send merchant company data and merchant accounts data. 4

See Appendix A for examples of xml. All parameters described below: Tag Description Format <CompanyFields> <Bank> <AccountNumber>* Bank account number Up to 20 digit numeric <AchAccountType>* Ach account type Checking/Savings <AchAccountSubtype>* Ach account subtype Personal/Business <BankName>* Bank name Up to 200 characters <CheckNumber> Bank check number Up to 15 digit numeric <Description>* Bank description Up to 200 characters <RoutingNumber>* Bank routing number 9 digit numeric <Billing> <BillingAddress1>* Billing company first Up to 200 characters address <BillingAddress2> Billing company second Up to 200 characters address <BillingCity> Billing company city Up to 200 characters <BillingCompanyName>* Billing company name Up to 200 characters <BillingCountry> Billing company country Up to 200 characters <BillingState> Billing company state Up to 200 characters <BillingPostalCode> Billing company postal Up to 200 characters code <BillingEmail>* Billing company email Email format (xxx@xxx.xxx) <BillingFax> Billing company fax Up to 200 characters <BillingFirstName>* Billing company first name Up to 200 characters <BillingLastName>* Billing company last name Up to 200 characters <BillingPhone> Billing company phone Up to 200 characters <CompanyInfo> <CompanyAddress1>* First company address Up to 200 characters <CompanyAddress2> Second company address Up to 200 characters <CompanyCity>* Company city Up to 200 characters <CompanyCountry>* Company country Up to 200 characters <CompanyEmail>* Company email Email format (xxx@xxx.xxx) <CompanyFax> Company fax Up to 200 characters <CompanyName>* Company name Up to 200 characters <CompanyPhone>* Company phone Up to 200 characters <CompanyPostalCode>* Company postal code Up to 200 characters <CompanyState>* Company state Up to 200 characters <ContactInfo> <Email>* Contact email Email format (xxx@xxx.xxx) <Fax> Contact fax Up to 200 characters <FirstName>* Contact person first name Up to 200 characters <LastName>* Contact person last name Up to 200 characters 5

<Phone>* Contact person phone Up to 200 characters <GeneralInfo> <CompanyExternalId> Company External ID Up to 20 characters <EIN> Employer Identification <Modules> Number List of available modules comma separated FBI Tools, Chargeback Response Portal, Echo Data Exchange, Interchange Optimizer, Passenger Agency, Tokenization - Data Vault ACH, Credit Card, echeck, Star Card, Cash Value from 0.00 to 4.00 <PaymentTypes>* List of available types comma separated <Surcharge> Surcharge value from 0% to 4% <User> <UserAddress1> Users first address Up to 200 characters <UserAddress2> Users second address Up to 200 characters <UserCity> Users city Up to 200 characters <UserCountry> Users country Up to 200 characters <UserState> Users state Up to 200 characters <UserDepartment> Users department Up to 200 characters <UserEmail>* Users email Email format (xxx@xxx.xxx) <UserFax> Users fax Up to 200 characters <UserFirstName>* Users first name Up to 200 characters <UserLastName>* Users last name Up to 200 characters <UserName>* Users username Up to 200 characters <UserPassword>* Users password At least 7 characters in length and contain both Latin letters and numbers <UserPhone>* Users phone Up to 200 characters <UserPostalCode> Users postal code Up to 10 characters <MerchantFields> <Company>* Merchant company name Up to 200 characters to assign merchant account <Currency>* ISO 4217 Currency Code 3 characters <EnableMCP>* Enable processing MCP Boolean (true or false) transactions <IntegrationMode>* Integration mode of Live/Test/Development merchant account <BundleToken>* Global unique identifier assigned to the bundle. Available on Admin > Bundle List page. 16-byte GUID <FeePlanToken>* Global unique identifier assigned to the fee plan. Available on Admin > Fee Plans page. 16-byte GUID 6

<MerchantClass>* Merchant class RecurringBilling /Ecommerce/Retail/Moto/Restaurant /DirectMarketing/Passenger/Hotel <MerchantName>* Merchant name Up to 200 characters <EnableSwipeProcessing>* Swipe processing enabling True/False <PaymentDescriptor>* Payment descriptor Up to 100 characters <PaymentPhoneDescriptor>* Payment phone descriptor Up to 100 characters <FirstData> <CompanyUrl> Company URL Up to 32 characters <DatawireId>* Datawire ID Up to 21 characters <GroupId>* Group ID Up to 32 characters <Industry>* Industry Retail, Ecommerce, Restaurant, MOTO <MerchantId>* Merchant ID Up to 32 characters <ServicePhoneNumber> Service phone number, 10 alphanumeric characters required if merchant has Moto industry <TerminalId>* Terminal ID Up to 8 characters <TppId>* TPP ID Up to 32 characters <MerchantCategoryCode> Merchant category code Up to 4 digit numeric <TSYS> <AcquirerBIN>* Acquirer BIN 6 digit numeric <AgentBankNumber>* Agent bank number 6 digit numeric <AgentChainNumber>* Agent chain number 6 digit numeric <LocationNumber> Location number 12 digit numeric <MerchantNumber>* Merchant number Up to 12 numeric Partial approval behavior ApproveTransaction/DeclineTransaction <PartialApprovalBehaviour>* <RefundBatchBehaviour>* Refund batch behavior SingleBatch/MultiBatch <ServicePhone>* Service phone Should be in XXX-XXXXXXX format. Example: 800-1234567 <StoreNumber>* Store number 4 digit numeric <TerminalNumber>* Terminal number 4 digit numeric <TimeZone>* Time zone 3 digit numeric <VNumber>* VN number 8 digit numeric <MerchantCategoryCode>* Merchant category code Up to 4 digit numeric * - required fields Merchant Uploading Response Server response contains operation status. If account has not been created, response contains error message. See Appendix A for example of server responses. Field Description Format <Successful> Operation status Boolean 7

<Message> Operation message String <ErrorMessage> Message with error String description <MerchantName> Upload Merchant Name String <FieldError> Message about format error in specific merchant field String 8

Appendix A upload data examples Merchant Upload API 2015 This section contains request and response formats for Merchant Upload API. Full schema can be found at https://secure.5thdl.com/services/merchantupload.svc/help/operations/process Get Auth Token Request: Services/AuthenticationService.svc/Authenticate?username={USERNAME}&password={PASSWORD} Response: <?xml version="1.0" encoding="utf-8"?> <LoginResponse> <ResultCode>2147483647</ResultCode> <Message>String content</message> <AuthToken>70LOX65FMJDOB4FMYOBZ</AuthToken> </LoginResponse> Upload Merchant Data Request (creating new company with two accounts): <?xml version="1.0" encoding="utf-8"?> <Company> <CompanyFields> <Bank> <AccountNumber>122000496</AccountNumber> <AchAccountSubtype>Personal</AchAccountSubtype> <AchAccountType>Checking</AchAccountType> <BankName>First Test Bank</BankName> <CheckNumber>110000000</CheckNumber> <Description>Description text</description> <RoutingNumber>122000496</RoutingNumber> </Bank> <Billing> <BillingAddress1>3440 Cityview Drive</BillingAddress1> <BillingAddress2>422 Twin Oaks Drive</BillingAddress2> <BillingCity>Northport</BillingCity> <BillingCompanyName>Tech Hifi</BillingCompanyName> <BillingCountry>United States</BillingCountry> <BillingEmail> JessicaCEllis@rhyta.com</BillingEmail> <BillingFax>610-440-9541</BillingFax> <BillingFirstName>Jessica</BillingFirstName> <BillingLastName>Ellis</BillingLastName> <BillingPhone>231-386-0750</BillingPhone> <BillingPostalCode>49670</BillingPostalCode> <BillingState>Michigan</BillingState> </Billing> <CompanyInfo> <CompanyAddress1>3889 Fancher Drive</CompanyAddress1> <CompanyAddress2>3809 Bastin Drive</CompanyAddress2> 9

<CompanyCity>Dallas</CompanyCity> <CompanyCountry>United States</CompanyCountry> <CompanyEmail>TracyMFaust@armyspy.com</CompanyEmail> <CompanyFax>484-741-9296</CompanyFax> <CompanyName>Tech Hifi</CompanyName> <CompanyPhone>214-298-8599</CompanyPhone> <CompanyPostalCode>75247</CompanyPostalCode> <CompanyState>Texas</CompanyState> </CompanyInfo> <ContactInfo> <Email>TracyMFaust@armyspy.com</Email> <Fax>484-741-9296</Fax> <FirstName>Tracy</FirstName> <LastName>Faust</LastName> <Phone>214-298-8599</Phone> </ContactInfo> <GeneralInfo> <CompanyExternalId>1234567890</CompanyExternalId> <EIN>1234567890</EIN> <Modules>Tokenization - Data Vault, Interchange Optimizer</Modules> <PaymentTypes>Credit Card, Cash, echeck</paymenttypes> <Surcharge>3.00</Surcharge> </GeneralInfo> <User> <UserAddress1>3889 Fancher Drive</UserAddress1> <UserAddress2>3809 Bastin Drive</UserAddress2> <UserCity>Dallas</UserCity> <UserCountry>United States</UserCountry> <UserDepartment>Department 1</UserDepartment> <UserEmail>TracyMFaust@armyspy.com</UserEmail> <UserFax>484-741-9296</UserFax> <UserFirstName>Tracy</UserFirstName> <UserLastName>Faust</UserLastName> <UserName>TracyMFaust</UserName> <UserPassword>adf5a4d6fad</UserPassword> <UserPhone>214-298-8599</UserPhone> <UserPostalCode>75247</UserPostalCode> <UserState>Texas</UserState> </User> </CompanyFields> <MerchantFields> <!--Valid elements of type: FirstData, Tsys--> <Merchant i:type="firstdata" xmlns:i="http://www.w3.org/2001/xmlschemainstance"> <BundleToken>FCE417B0E9B34723A349</BundleToken> <Company>Tech Hifi</Company> <CompanyUrl>TechHifiCompany.com</CompanyUrl> <Currency>USD</Currency> <DatawireId>00010815976101801280</DatawireId> <EnableMCP>false</EnableMCP> <EnableSwipeProcessing>true</EnableSwipeProcessing> <FeePlanToken>3DBEAC438EB74A2E9149</FeePlanToken> <GroupId>10001</GroupId> <Industry>Moto</Industry> <IntegrationMode>Live</IntegrationMode> <MerchantCategoryCode>code</MerchantCategoryCode> 10

<MerchantClass>RecurringBilling</MerchantClass> <MerchantId>RCTST0000000162</MerchantId> <MerchantName>FirstData 1</MerchantName> <PaymentDescriptor>Descriptor 1</PaymentDescriptor> <PaymentPhoneDescriptor>6789062345</PaymentPhoneDescriptor> <ServicePhoneNumber>6789062345</ServicePhoneNumber> <TerminalId>00000002</TerminalId> <TppId>R5T001</TppId> </Merchant> <!--Valid elements of type: FirstData, Tsys--> <Merchant i:type="tsys" xmlns:i="http://www.w3.org/2001/xmlschemainstance"> <AcquirerBIN>999995</AcquirerBIN> <AgentBankNumber>000000</AgentBankNumber> <AgentChainNumber>111111</AgentChainNumber> <BundleToken>FCE417B0E9B34723A349</BundleToken> <Company>Tech Hifi</Company> <Currency>USD</Currency> <EnableMCP>false</EnableMCP> <EnableSwipeProcessing>false</EnableSwipeProcessing> <FeePlanToken>3DBEAC438EB74A2E9149</FeePlanToken> <IntegrationMode>Live</IntegrationMode> <LocationNumber>00001</LocationNumber> <MerchantCategoryCode>5999</MerchantCategoryCode> <MerchantClass>RecurringBilling</MerchantClass> <MerchantName>TSYS 1</MerchantName> <MerchantNumber>888000003461</MerchantNumber> <PartialApprovalBehaviour>ApproveTransaction</PartialApprovalBehaviour> <PaymentDescriptor>Descryptor 2</PaymentDescriptor> <PaymentPhoneDescriptor>1234567890</PaymentPhoneDescriptor> <RefundBatchBehaviour>Multi Batch</RefundBatchBehaviour> <ServicePhone>800-1234567</ServicePhone> <StoreNumber>5999</StoreNumber> <TerminalNumber>1515</TerminalNumber> <TimeZone>112</TimeZone> <VNumber>71116105</VNumber> </Merchant> </MerchantFields> </Company> Request (creating two accounts for existing company): <?xml version="1.0" encoding="utf-8"?> <Company> <MerchantFields> <!--Valid elements of type: FirstData, Tsys--> <Merchant i:type="firstdata" xmlns:i="http://www.w3.org/2001/xmlschemainstance"> <BundleToken>FCE417B0E9B34723A349</BundleToken> <Company>Tech Hifi</Company> <CompanyUrl>TechHifiCompany.com</CompanyUrl> <Currency>USD</Currency> <DatawireId>00010815976101801280</DatawireId> <EnableMCP>false</EnableMCP> <EnableSwipeProcessing>true</EnableSwipeProcessing> 11

<FeePlanToken>3DBEAC438EB74A2E9149</FeePlanToken> <GroupId>10001</GroupId> <Industry>Moto</Industry> <IntegrationMode>Live</IntegrationMode> <MerchantCategoryCode>code</MerchantCategoryCode> <MerchantClass>RecurringBilling</MerchantClass> <MerchantId>RCTST0000000162</MerchantId> <MerchantName>FirstData 2</MerchantName> <PaymentDescriptor>Descriptor 1</PaymentDescriptor> <PaymentPhoneDescriptor>6789062345</PaymentPhoneDescriptor> <ServicePhoneNumber>6789062345</ServicePhoneNumber> <TerminalId>00000002</TerminalId> <TppId>ID123</TppId> </Merchant> <!--Valid elements of type: FirstData, Tsys--> <Merchant i:type="tsys" xmlns:i="http://www.w3.org/2001/xmlschemainstance"> <AcquirerBIN>999995</AcquirerBIN> <AgentBankNumber>000000</AgentBankNumber> <AgentChainNumber>111111</AgentChainNumber> <BundleToken>FCE417B0E9B34723A349</BundleToken> <Company>Tech Hifi</Company> <Currency>USD</Currency> <EnableMCP>false</EnableMCP> <EnableSwipeProcessing>true</EnableSwipeProcessing> <FeePlanToken>3DBEAC438EB74A2E9149</FeePlanToken> <IntegrationMode>Live</IntegrationMode> <LocationNumber>00001</LocationNumber> <MerchantCategoryCode>5999</MerchantCategoryCode> <MerchantClass>RecurringBilling</MerchantClass> <MerchantName>TSYS 2</MerchantName> <MerchantNumber>888000003461</MerchantNumber> <PartialApprovalBehaviour>Approve Transaction</PartialApprovalBehaviour> <PaymentDescriptor>Descryptor 1</PaymentDescriptor> <PaymentPhoneDescriptor>1234567890</PaymentPhoneDescriptor> <RefundBatchBehaviour>Multi Batch</RefundBatchBehaviour> <ServicePhone>800-1234567</ServicePhone> <StoreNumber>5999</StoreNumber> <TerminalNumber>1515</TerminalNumber> <TimeZone>112</TimeZone> <VNumber>71116105</VNumber> </Merchant> </MerchantFields> </Company> Response: <?xml version="1.0" encoding="utf-8"?> <Output> <ResultCode>2147483647</ResultCode> <Message>String content</message> <CompanyResult> <ErrorMessage>String</ErrorMessage> 12

</CompanyResult> <MerchantResult> <ErrorMessages> <ErrorMessage>String</ErrorMessage> </ErrorMessages> <MerchantErrors> <MerchantError> <MerchantName>String</MerchantName> <FieldsErrors> <FieldError>String</FieldError> </FieldsErrors> </MerchantError> <MerchantError> <MerchantName>String</MerchantName> <FieldsErrors> <FieldError>String</FieldError> </FieldsErrors> </MerchantError> </MerchantErrors> </MerchantResult> <Successfull>bool</Successfull> </Output> 13