Downloading Merchant Account Reports
This chapter covers downloading the following reports via a query API or requesting reports using a client application.
Requesting a Report with a Client Application
To connect to the report server, your client application must support HTTPS connections. Your client application must support HTTP/1.0 or HTTP/1.1 and TLS 1.0, 1.1 or 1.2 connections. HTTPS libraries are available for many programming languages, including Java, C/C++, Perl, and Visual Basic. You can implement a client in any language that allows you to use HTTPS to communicate with the report server.
Your client application must use Basic Access Authentication to send the user name and password. Many HTTPS client libraries implement this authentication method. For information about Basic Access Authentication, see http://www.ietf.org/rfc/rfc2617.txt.
To send an API request with an HTML form or any script, you need this URL:
https://ebc.cybersource.com/ebc/DownloadAcquiringReports
HTML Format
To use the HTML format, you write an HTML form with the same URL as below. The sample below shows the form tag with the action to send a report request to the production URL. The form includes the required fields and a Submit button.
If you use an HTML form to request a report, the form will look similar to the example below.
When you post this form to the download URL, you first authenticate with your username and password. After successful authentication and authorization of the report contents based on user credentials and the parameters, the report streams back to you in the requested format.
Java Stand-Alone Application
You can also write scripts or small programs to download these reports. The sample shows a Java stand-alone application that downloads the report in the requested format.