This is an old revision of the document!


Pull a transaction report.


This method retrieves a report from the merchant console. Any reports, including custom reports, may be retrieved. The returned data is base 64 encoded. The format of the returned data can be HTML, comma separated (cvs), or tab separated (tab).

Names of built-in reports are prefaced with either “CreditCard:” or “Check:” For example, to pull “Sales by Date” for credit cards, the “Report” parameter would be set to “CreditCard:Sales by Date.”

To pull a custom credit card or check report, prefix the name with “Custom:” or “CustomCheck:” For example, to pull a custom report titled “Recurring Declines” set the “Report” parameter to “Custom:Recurring Declines.”

See also getTransactionStatus, getTransactionCustom, searchTransactions, searchTransactionsCustom, getTransaction


string getTransactionReport ( ueSecurityToken Token, string StartDate, string EndDate, string Report, string Format )


Type Name Description
ueSecurityToken Token Merchant security token: used to identify merchant and validate transaction.
string StartDate The earliest report date to retrieve.
string EndDate The latest report date to retrieve.
string Report Name of report to retrieve.
string Format Format of returned report data. Possible values are: html, cvs, or tab.

Return Value

string Returns specified report data according to parameters set in search.



For directions on how to set up the WSDL link, create “$token” and “$client”, go to PHP Soap How-to.

try { 
  $res=$client->getTransactionReport($token, $StartDate,$EndDate,$format);  
catch (SoapFault $e) { 
  die("Get Transaction failed :" .$e->getMessage()); 


string start = "2010-08-01";
            string end = "2010-08-09";
            string format = "html";
            string report = "CreditCard:Sales By Date";
                string response = client.getTransactionReport(token, start, end, report, format);
                byte[] decbuff = Convert.FromBase64String(response);
            catch (Exception err)
developer/soap-1.1/methods/gettransactionreport.1285795652.txt.gz · Last modified: 2010/09/29 14:27 by irina

Page Tools