---
title: "Collects all ACH batches."
method: GET
path: "/ach/batches"
tags: ["ACH Payment"]
---

# Collects all ACH batches.

`GET /ach/batches`

## Response `200`

All ACH Batches.

- AchBatch[]
  - `batchId` integer — The id for the ACH batch.
  - `batchReference` string — The reference identifier for the ACH batch.
  - `merchantId` integer — The id of the merchant associated with this batch.
  - `statusBatch` 1 | 2 — The current state of the batch. Valid values: 1 (Open), 2 (Closed).
  - `amountWithdrawals` number, float — The total monetary amount withdrawn.
  - `countWithdrawals` number — The number of withdrawn transactions.
  - `amountDeposits` number, float — The total monetary amount deposited.
  - `countDeposits` number — The number of deposited transactions.
  - `amountReversed` number, float — The total monetary amount reversed.
  - `countReversed` number — The number of reversed transactions.
  - `amountRefunded` number, float — The total monetary amount refunded.
  - `countRefunded` number — The number of refunded transactions.
  - `dateOpened` string — The timestamp indicating when the batch was opened.
  - `dateClosed` string — The timestamp indicating when the batch was closed.

## Other responses

- `400` — Invalid request.
- `403` — User does not have valid permissions.
- `500` — Unexpected internal error.

---

[API](https://skmtc.net/helcim/apis/the-helcim-api.md) · [All operations](https://skmtc.net/helcim/apis/the-helcim-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/helcim/the-helcim-api/versions/345052ca6578/schema)
