post https://api.banking.netevia.dev/api/Widget/transfersACH
This API endpoint POST /api/Widget/transfersACH returns the total number of deposits and withdrawals made through external transfers such as ACH (Automated Clearing House). The API should accept agent IDs, ISO ID, profile IDs, and report dates as input parameters and return the total count of deposits and withdrawals based on these filters.
Filters:
- The API should filter and return the total number of deposits and withdrawals made via external transfers (e.g., ACH) based on the provided agentsId, isoId, profileIds, and reportDates in the request body.
Response: - The API should return the total counts for both deposits and withdrawals.
Acceptance Criteria: - The API returns the correct total number of ACH transfers (deposits and withdrawals).
- The response includes separate fields for total deposits and total withdrawals.
- The filtering by agents, ISO, profiles, and dates works as expected.
- The response is provided in JSON format.
Notes:
- Ensure the API handles large data sets efficiently.
- Properly handle cases where no deposits or withdrawals are found and return appropriate results (e.g., zero counts).
- Ensure accurate filtering by date range based on reportDates provided.