/jsp/reports/report_api.jspGenerate Report
Generate Report
Universal endpoint for generating all MerchantE reports. The dsReportId parameter determines
which report type is generated. Each report type has its own required and optional parameters.
Report Types by dsReportId
- 1: Batch Summary Report
- 2: Settlement Summary Report
- 3: Deposit Summary Report
- 5: Chargeback Adjustments Report
- 7: Retrieval Requests Report
- 8: Daily Interchange Summary Report
- 9: Custom Queries (requires queryId)
- 10: FX Batch Summary Report
- 11: International Chargebacks Report
- 12: International Retrieval Requests Report
- 13: FX Interchange Summary Report
- 14: International Settlement Summary Report
- 15: Authorization Log Report
- 21: Payment Gateway Unsettled Transactions Report
- 22: Payment Gateway Settled Transactions Report
- 23: Payment Gateway Rejected Transactions Report
Report Versions
Most reports support two versions:
- Summary (reportType=0): Aggregated totals by card type
- Detail (reportType=1): Transaction-level data
Authentication
This API uses form-based authentication. Include the following parameters in every request:
userId— Your ME web reporting login IDuserPass— Your ME web reporting password
Only reports enabled for your user account will be accessible.
Request Body
Content type: application/x-www-form-urlencoded
Required6 fields
Date range and node ID required for most reports. Payment Gateway reports (21-23) use profileId instead of nodeId.
userIdstringuserPassstringdsReportIdstringenumreportDateBeginstringreportDateEndstringnodeIdstringRecommended4 fields
reportType=1 for transaction-level details; profileId for Payment Gateway reports; queryId for custom queries; xmlEncoding for XML format
reportTypestringenumprofileIdstringqueryIdstringenumxmlEncodingstringenumOthers10 fields
Optional search and date filter fields for specific report types
searchCriteriastringenumsearchValuestringencodingstringenumincludeTridentTranIdbooleanincludePurchaseIdbooleanincludeClientRefNumbooleanbatchDateFromstringbatchDateTostringfromDatestringtoDatestringAvailable Reports
| Report ID | Report Name | Description |
|---|---|---|
| 1 | Batch Summary | Pre-settlement card totals by date and batch |
| 2 | Settlement Summary | Settled transactions to merchant's bank |
| 3 | Deposit Summary | ACH entries to merchant's account |
| 5 | Chargeback Adjustments | Individual chargebacks with status |
| 7 | Retrieval Requests | Retrieval request tracking |
| 8 | Daily Interchange | Interchange qualification categories |
| 9 | Custom Queries | Visa/MC/Discover ARDEF tables |
| 10 | FX Batch Summary | International FX transactions |
| 12 | International Retrieval Requests | International retrieval tracking |
| 13 | FX Interchange Summary | FX interchange rates |
| 14 | International Settlement Summary | Settled international transactions |
| 15 | Authorization Log | Real-time authorization attempts |
| 21 | Payment Gateway Unsettled | Pending settlement transactions |
| 22 | Payment Gateway Settled | Settled gateway transactions |
| 23 | Payment Gateway Rejected | Declined transactions |
Example Request (Batch Summary Detail)
userId=YOUR_USER_ID&userPass=YOUR_PASSWORD&dsReportId=1&reportDateBegin=04/06/2024&reportDateEnd=04/09/2024&nodeId=941000123456&reportType=1&includeTridentTranId=true&includePurchaseId=trueResponses
Successful report generation
Example Response (CSV)
"Merchant Id","DBA Name","Term Num","Batch Num","Batch Date","Tran Date","Card Type","Card Number","Reference","Purchase Id","Client Reference","Auth Code","Entry Mode","Tran Amount","Digital Wallet"
941000060005,"PAUL'S TEST ACCOUNT","1",765,05/03/2023,04/20/2023,"AM","341111xxxxxx1000","'3891738407","3891738407","","000000","KEYED",56.0,"APPLE"
Bad Request - Invalid parameters
Unauthorized - Invalid credentials
Forbidden - User does not have access to requested report
Response Formats
CSV (Default)
Reports are returned in CSV format by default, with a header row containing column names.
XML
Use the xmlEncoding parameter to receive XML output:
xmlEncoding=0— Name/value attribute stylexmlEncoding=1— Element name style
API Information
Version: 4.3
Servers:
https://test.merchante-solutions.com— Test Server
Contact: MerchantE Support — https://www.merchante.com
Code samples
Copy-paste ready code in your preferred language.
API call
curl -X POST "https://test.merchante-solutions.com/jsp/reports/report_api.jsp" \
-H "Content-Type: application/x-www-form-urlencoded" \
--data-urlencode "userId=YOUR_USER_ID" \
--data-urlencode "userPass=YOUR_PASSWORD" \
--data-urlencode "dsReportId=1" \
--data-urlencode "reportDateBegin=04/06/2024" \
--data-urlencode "reportDateEnd=04/09/2024" \
--data-urlencode "nodeId=941000123456" \
--data-urlencode "reportType=1" \
--data-urlencode "includeTridentTranId=true" \
--data-urlencode "includePurchaseId=true"