Merchant Daily Account Statement Report
Description
Provides transaction details for a specific day and the amount that will be deposited into the merchants bank account.
Report Parameters
Report Name: DailyAccountStatement
Name | Type | Max. Length | Required | Description |
---|---|---|---|---|
OrigComp | String | 10 | Yes | Company Number |
EffDate | DateTime |
| Yes | The date the transaction is effective. This is typically the business day following today’s date. |
TodaysDate | DateTime |
| Yes | The date the report is being requested. |
If you pass in EffDate of 1900-01-01 you will trigger the test response. This is useful for testing, if you have a new merchant with no data, we will return a sample set of data to you.
Example Request
/EpnAPI/ActiveReports/GetReport.aspx?&Token={YourToken}&Action=Report&OutputType=HTML&ReportPermDesc=DailyAccountStatement&Parameter_OrigComp={OrigComp}&Parameter_TodaysDate=2017-07-27&Parameter_EffDate=2017-07-28&ReportXSLTPermDesc=DailyAccountStatement
SDK Example
string token = Token.GetToken("{MerchantNumber}", "{MerchantPassword}"); Console.WriteLine(token); //Set parameters for report D.ReportDefinition.Parameter[] reportParams = new D.ReportDefinition.Parameter[] { new D.ReportDefinition.Parameter { PermDesc = "OrigComp", ParamValue = "{MerchantNumber}" }, new D.ReportDefinition.Parameter { PermDesc = "EffDate", ParamValue = "2017-01-01" }, new D.ReportDefinition.Parameter { PermDesc = "TodaysDate", ParamValue = "2017-01-02" } }; //Run report Response resp = GetReport.RunReport(token, "DailyAccountStatement", reportParams, D.ReportDefinition.OutputType.HTML); Console.WriteLine(resp.I.SData);