---
title: "Get all Batch Payments"
method: GET
path: "/payroll/paygroups/paycycles/paybatches/payments"
tags: ["PayCycles"]
---

# Get all Batch Payments

`GET /payroll/paygroups/paycycles/paybatches/payments`

Gets all payments for the specified pay group Id and pay cycle Id and pay batch Id / specified pay group id and pay cycle Id and pay batch Id and payment status filter

## Query parameters

- `payGroupId` string, uuid
- `payCycleId` string, uuid
- `payBatchId` string, uuid
- `status` string
- `pageNumber` integer
- `pageSize` integer

## Response `200`

OK

- EmployeePaymentPagedResponse — class represents paged response.
  - `succeeded` boolean — Gets or sets a value indicating whether this Keka.API.Web.Core.Response`1 is succeeded.
  - `message` string, nullable — Gets or sets the message.
  - `errors` string[], nullable — Gets or sets the errors.
  - `data` KekaAPIModelPayrollEmployeePayment[], nullable — Gets or sets the data.
    - `id` string, nullable
    - `identifier` string, nullable
    - `employeeId` string, nullable
    - `employeeNumber` string, nullable
    - `employeeName` string, nullable
    - `forPeriod` string, nullable
    - `amount` number, double
    - `salaryPaymentMode` string, nullable
    - `bankName` string, nullable
    - `ifscCode` string, nullable
    - `accountNumber` string, nullable
    - `status` 0 | 1
    - `debitBankDetails` KekaAPIModelPayrollDebitBankDetails
      - `name` string, nullable
      - `accountNumber` string, nullable
      - `ifscCode` string, nullable
      - `branch` string, nullable
  - `pageNumber` integer — Gets or sets the page number.
  - `pageSize` integer — Gets or sets the size of the page.
  - `firstPage` string, uri, nullable — Gets or sets the first page.
  - `lastPage` string, uri, nullable — Gets or sets the last page.
  - `totalPages` integer — Gets or sets the total pages.
  - `totalRecords` integer — Gets or sets the total records.
  - `nextPage` string, uri, nullable — Gets or sets the next page.
  - `previousPage` string, uri, nullable — Gets or sets the previous page.

## Other responses

- `401` — Unauthorized
- `403` — Forbidden

---

[API](https://skmtc.net/keka/apis/keka-api.md) · [All operations](https://skmtc.net/keka/apis/keka-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/keka/keka-api/revisions/907ea395c885/schema)
