---
title: "List payment batch alerts"
method: GET
path: "/payment-batches/{paymentBatchId}/alerts"
tags: ["Payment Batches"]
---

# List payment batch alerts

`GET /payment-batches/{paymentBatchId}/alerts`

Retrieve paginated list of all payment batch alerts filtered using the query parameters.

## Path parameters

- `paymentBatchId` string, uuid, required — The unique ID of the Payment Batch.

## Query parameters

- `accountId` string, required — The ID of the account to work with.
- `sort` 'asc' | 'desc' — Determines whether the page of items are sorted in ascending or descending order.
- `offset` integer — The number of items to skip before returning results.
- `limit` integer — The maximum number of results to return.
- `from` string, date-time
- `to` string, date-time
- `alertType` 'Error' | 'Warning'
- `alertCode` string

## Response `200`

OK

- object
  - `limit` integer — The maximum number of results to return.
  - `offset` integer — The number of items to skip before returning results.
  - `count` integer, required — The total amount of records matching the querying when "limit" is ignored.
  - `rows` object[], required — Array of all alerts for payment batch.
    - `timestamp` string, date-time, required
    - `type` 'Error' | 'Warning', required
    - `code` string, required
    - `inputIndex` integer, nullable, required
    - `message` string, nullable, required

---

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