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



Similar documents
SPARROW Gateway. Developer API. Version 2.00

Durango Merchant Services Customer Vault API

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

Programming Autodesk PLM 360 Using REST. Doug Redmond Software Engineer, Autodesk

Capturx for SharePoint 2.0: Notification Workflows

Customize Bluefin Payment Processing app to meet the needs of your business. Click here for detailed documentation on customizing your application

PaperCut Payment Gateway Module CyberSource Quick Start Guide

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

Salesforce Opportunities Portlet Documentation v2

Shopping Cart Setup & Configuration Guide

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

Configuration Guide - OneDesk to SalesForce Connector

INSTALLATION AND SETUP HANDBOOK OF PAYU LATAM s PLUGIN FOR WOOCOMMERCE

Three Step Redirect API V2.0 Patent Pending

API Integration Payment21 Button

Netswipe Processing Implementation

Ciphermail Gateway PDF Encryption Setup Guide

CREDIT / DEBIT CARD PROCESSING FOR ONLINE APPLICATIONS. Step 1: Customer connects to agency s web storefront via the Internet.

OAuth 2.0 Developers Guide. Ping Identity, Inc th Street, Suite 100, Denver, CO

Server based signature service. Overview

Enterprise Access Control Patterns For REST and Web APIs

Methodology Three-Step

Credomatic Integration Resources. Browser Redirect API Documentation June 2007

Group Administrator User Guide

Token Payment Web Services

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

Notification messages

Web Services Credit Card Errors A Troubleshooter

HireDesk API V1.0 Developer s Guide

API Integration Payment21 Recurring Billing

MyMobileAPI. mymobileapi.com

Secure Payment Form User s Guide

Netsuite Integration Guide

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

ipayment Gateway API (IPG API)

StreamServe Job Gateway

Hands-on MESH Network Exercise Workbook

Address Phone & Fax Internet

Element. Payment Processing. Integration of Element. using N-Site Applications 7/12/2011

Fairsail REST API: Guide for Developers

Tenrox. Single Sign-On (SSO) Setup Guide. January, Tenrox. All rights reserved.

Operation of Qvidian Proposal Automation (QPA) CRM APIs

Single Sign On Guide. Table of Contents

Interwise Connect. Working with Reverse Proxy Version 7.x

For details about using automatic user provisioning with Salesforce, see Configuring user provisioning for Salesforce.

dinero Documentation Release Fusionbox

This manual will illustrate how to integrate your WordPress Blog or website with the Docebo Learning Management System.

1. Summary Recording triggered by SIP INFO Configurations on the phone How the SIP INFO works... 2

Cloud Elements! Marketing Hub Provisioning and Usage Guide!

Paynow 3rd Party Shopping Cart or Link Integration Guide

Configuring Salesforce

Secure Web Service - Hybrid. Policy Server Setup. Release Manual Version 1.01

Global Transport Secure ecommerce. Web Service Implementation Guide

Shaw Business. Auto-Attendant User Guide

CONFIGURING VIRTUAL TERMINAL: This is the screen you will see when you first open Virtual Terminal

Designing a CA Single Sign-On Architecture for Enhanced Security

Flask-SSO Documentation

CPAY MERCHANT INTEGRATION SPECIFICATION

Adobe EchoSign API Guide

Swedbank Payment Portal Implementation Overview

Sage e-businessvision and Sage Exchange

INSTALLATION AND SETUP HANDBOOK OF PAYU LATAM s PLUGIN FOR WOOCOMMERCE

Installation Guide MAGENTO PAYMENT PLUGIN. release 1.0.1

Cloud Elements ecommerce Hub Provisioning Guide API Version 2.0 BETA

Monitoring Oracle Enterprise Performance Management System Release Deployments from Oracle Enterprise Manager 12c

Setting up your Moneris Payment Gateway

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

vcommander will use SSL and session-based authentication to secure REST web services.

Batch Processing Version 2.0 Revision Date: April 29, 2014

Using SAML for Single Sign-On in the SOA Software Platform

Three Step Redirect API

NMS300 Network Management System

PathwayLINK Recurring Billing Document Version 1.7 Published NOV 2011

The Wells Fargo Payment Gateway Business Center. User Guide

Integration Guide. SafeNet Authentication Service. Using SAS as an Identity Provider for Salesforce

Webdrive: installation, activation and configuration of Webdav or SFTP. Windows WWW

OpenSSO: Cross Domain Single Sign On

How To Install An Aneka Cloud On A Windows 7 Computer (For Free)

Gateway Direct Post API

GoCoin: Merchant integration guide

Gateway Developer Guide and Reference

Electronic Payments: ACH and Card Processing

Integrating IBM Cognos 8 BI with 3rd Party Auhtentication Proxies

AccountView. Single Sign-On Guide

Cardsave Payment Gateway

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

Payment Response Guide. Version 4.3 September 2012 Business Gateway

How to set up Outlook Anywhere on your home system

OpenLDAP Oracle Enterprise Gateway Integration Guide

MAGENTO - SETUP PAYMENT PLANS

How To Use Saml 2.0 Single Sign On With Qualysguard

Setting up single signon with Zendesk Remote Authentication

Business Online Banking ACH Reference Guide

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

Cofred Automated Payments Interface (API) Guide

ACH Bank Debit Setup Overview of ACH Bank Debit

Creating Basic Custom Monitoring Dashboards Antonio Mangiacotti, Stefania Oliverio & Randy Allen

Office365Mon Developer API

Transcription:

SPARROW Gateway Developer Data Vault Payment Type API Version 2.7 (6293) Released July 2015

Table of Contents SPARROW Gateway... 1 Developer Data Vault Payment Type API... 1 Overview... 3 Architecture... 3 Merchant Private Key and Payment Types... 3 Integration... 3 Setting up the redirect settings... 3 Data Vault payment type API Process... 5 Getting Callback Result... 9 Appendix A Return Values... 10 Return Message... 10 2

Overview The Data Vault payment type API allows merchants to add and update Data Vault customer payment type. Architecture Service for integration is available at the following URL: https://secure.5thdl.com/services/paymenttyperedirecttokenhandler.ashx Interaction with the service should be performed through the POST Http Request. Merchant Private Key and Payment Types When sending a payment transaction request to Sparrow (on either implementation) a Merchant Private Key is required. A sample Merchant Private Key follows: +ubfjspqwat65uo1xcnsuq6bgkf16166 Further, each Private Key represents the payment type (e.g. ACH, Credit Card, etc.) and merchant account targeted for processing the transaction. This methodology allows merchants to have multiple merchant accounts and payment types for processing payments. To generate a private key, select Add Transaction Routing and enter the appropriate information on the Transaction Routing Management page. The following image shows the Transaction Routing Management page available from the Administration menu: Integration Setting up the redirect settings Before attempting to use the Data Vault payment type API, the merchant account which will be used, must be additionally setup. Merchant account type (e.g. ACH, Credit Card, etc.) should be the same as a type of the payment type that merchant wants to create or update. To set redirect settings for the account go to the Redirect Settings page available from the Administration menu. 3

To integrate the account: 1. Press Edit for the Merchant Account from the list 2. Check the Redirect Enabled setting 3. Enter the Return URL (after the payment information is saved Sparrow system will redirect user to the Return URL) 4. Enter the Callback URL (After the payment information is saved Sparrow system will send the POST request to the Callback URL) 5. Press Save or Exit 4

Data Vault payment type API Process First, merchants posts PaymentTypeRedirectTokenHandler.ashx and received a token which can be used to redirect customer to the EditTitanPaymentInfo.aspx. The purpose of this token is to be used for redirect only if customer is not created. Please note that this token may not be used for payments. 5

Interaction with the service should be performed through the POST Http Request with following parameters: Parameter Required Format Description mkey Required String Secured merchant account key customertoken Required String Secured Data Vault Customer key paymenttoken Optional String Secured payment type key. if paymenttoken is not provided in the request, new payment type will be created if paymenttoken is provided in the request, corresponding payment type will be updated The returned request consists of the following fields: Parameter Required Format Description token Required String Redirect token for add or edit customer payment type. Empty when some error occurred. status Required String Successful/Error message Required String Message describing the result of this operation You can find the full list of result messages in the Appendix A. After the token is generated, merchant system should redirect user to the EditTitanPaymentInfo.aspx page. Here is an example of the resulting URL: https://secure.5thdl.com/users/edittitanpaymentinfo.aspx?token={0} ({0} token from response from API) There are two ways how the merchant may force customer to update his payment info: 1. If customer doesn t exists, redirect customer to EditTitanPaymentInfo.aspx with a onetime token retrieved from PaymentTypeRedirectTokenHandler.ashx 2. If customer exists, redirect customer to EditTitanPaymentInfo.aspx with a customertoken or paymenttoken. (see input usage for EditTitanPaymentInfo.aspx) 6

On the EditTitanPaymentInfo.aspx page user will be able to create/update payment type: Second, once customer updates his payment info on EditTitanPaymentInfo.aspx, we perform two actions: 1. Send callback request to the merchant with all necessary data including customertoken, paymenttoken, maskedcreditcardnumber etc.( see callback output format). 2. Redirect customer to the merchant s website. Since this action interact with the customer, we DO NOT PASS any payment information and tokens in this request (see customer redirect format). After the payment information is saved, Sparrow system will send the POST request to the Callback URL (which user entered in the Account Redirect settings). Then Sparrow system will redirect user to the Return URL. 7

The following table describes request content for different types: Payment Type Content Credit Card / Star Card firstname={0} lastname={1} maskedcreditcardnumber={2} customertoken={3} paymenttoken={4} customerid={5} ACH / Check Account type Business company={0} maskedaccountnumber={1} customertoken={2} paymenttoken={3} customerid={4} Account type Personal firstname={0} lastname={1} maskedaccountnumber={2} customertoken={3} paymenttoken={4} customerid={5} The Return URL will be passed with a get variable of: token={0}. This token will be the token that was generated for the redirect. This allows the merchant to store it in their DB and link the returning customer to the proper page. Redirect and callback URLs are configured in the merchant portal, you can access this page from menu: Administration > Redirect Settings or use a direct link (as described above): https://secure.5thdl.com/users/administration/redirectsettings.aspx Third, to perform a tokenized payment, the merchant needs to send in the token field a value from customertoken or a paymenttoken that are returned in the callback result. Example 1: POST: services_api.aspx mkey={mkey}&transtype=sale&amount=1&token={customertoken} Example 2: POST: services_api.aspx mkey={mkey}&transtype=sale&amount=1&token={paymenttoken} 8

Getting Callback Result To get callback result the request with transtype= getpaymentonfocallbackresult should be sent. The table below describes parameters of this request: Parameter Required Format Description mkey Required String Secured merchant account key transtype Required getpaymentonfocallbackresult token Required String Redirect token for adding or editing customer payment type The example of the request: mkey=xtz18puhgptkzf0cpeu3kji1&transtype=getpaymentinfocallbackresult&token=xch KY4OWF6SS1I3G The returned response consists of the following fields: Parameter Required Format Description response Required numeric See the table below for possible responses list textresponse Required String Textual response postdata Required String Callback data in URL encoded format Response field can have the following values: Value Description 1 OK, postdata is filled 2 Decline, callback data is not found, postdata is empty 3 Error, postdata is empty The example of returned response: response=1&textresponse=processed&postdata=firstname%3djohn%26lastname%3ddoe%2 6maskedaccountnumber%3d********1111%26customertoken%3dSPYWOB10G718TQIP%26payme nttoken%3djt86msw6rk26pk8w%26customerid%3d 9

Appendix A Return Values Return Message Values of message field for response with Successful status is: Token has been created successfully. Possible values of message field for response with Error status are described below: Required field 'mkey' is missing. Required field 'customertoken' is missing. Routing with specified '{0}' was not found. ({0} = mkey) Routing must be enabled. Merchant account is not configured for redirect. Customer with specified '{0}' was not found. ({0} = customertoken) Payment information with specified '{0}' was not found. ({0} = paymenttoken) Payment information does not belong to the customer. Payment information is not active. Payment type does not match the type from routing info. 10