Transaction Search & Reporting
In addition to processing payments, the E-xact API allows for the querying of historical data and the generation of structured reports.
Important: User Credentials RequiredThe Search & Reporting endpoints DO NOT use your standard Gateway ID and Terminal Password.
To use these features, we recommend using a special Read Only API user generated from the Realtime Payment Manager (RPM) portal.
Why use a Read Only API User?
- API-Only: This user has no access to the RPM portal's web interface.
- Non-Expiring Token: Instead of a password that requires rotation, this user generates a token that doesn't expire, making it ideal for continuous API integrations.
- Restricted Access: It is restricted strictly to search and reporting functions.
Creating a Read Only API User
To set up your API user and generate your token:
- Log into your RPM portal and navigate to the Users tab.
- Select the option to create a new user and go to the Login tab.
- In the Role dropdown menu, select Read Only API.
- Enter a username in the Login field.
- Click the Generate link next to the Token / Fingerprint (SHA-256) field to create your non-expiring token. (Note: Store this token securely; it acts as your password for API requests).
- Record the keys now. Once saved you will only see the key digest—the original key cannot be revealed.
- Click Create to save the user.
Once created, use this specific Login and Token to authenticate all your Transaction Search and Reporting API requests.
Searching Transactions
The /transaction/search endpoint allows you to filter your processing history by date, amount, status, or specific customer fields.
Try it Now: > View the Search API Reference & Interactive Console
Common Search Scenarios
| Goal | Parameters to Use |
|---|---|
| Find a specific transaction | search_field=refno + search=123456 |
| Find all declines today | start_date={today} + status=D |
| Find large transactions | amount_from=100.00 |
| Find a customer by name | search_field=cardholder + search=Smith |
Pagination
The API returns a maximum number of rows per request. Use the offset parameter to page through results.
- Request 1:
offset=0(Returns rows 0-49) - Request 2:
offset=50(Returns rows 50-99)
Generating Reports
The /transaction/report endpoint provides aggregated views of your data, useful for bank reconciliation and accounting.
| Report Type | Description |
|---|---|
activity | Full list of all transaction activity (Sales, Refunds, Voids). |
closed_batches | Summary of settled batches (useful for bank reconciliation). |
declined | A focused list of all failed transactions and their reasons. |
Developer Tip:If you are building an automated reconciliation tool, we recommend using the
closed_batchesreport via the API to automatically match Gateway totals with your bank deposits.
Updated 3 days ago
