---
title: "Processes a batch of Payments."
method: PUT
path: "/v1/payments/batch"
tags: ["Payments"]
---

# Processes a batch of Payments.

`PUT /v1/payments/batch`

## Request body

- BatchItemPaymentDto[]
  - `opCode` 1 | 2 | 3 — 1 - Create 2 - Update 3 - Delete
  - `item` PaymentDto
    - `bankAccountId` integer
    - `bankAccountCode` string
    - `reference` string
    - `supplierId` integer
    - `transferBankId` integer
    - `transferBankCode` string
    - `discount` number, double
    - `unallocated` number, double
    - `detailCollection` string[]
    - `acEntries` AcEntryDto[]
      - `id` integer
      - `accountCode` string
      - `analysisCategoryId` integer
      - `description` string
      - `value` number, double
    - `plaidTransactionId` string
    - `id` integer
    - `bookTranTypeId` integer
    - `acCode` string
    - `note` string
    - `entryDate` string, date-time
    - `procDate` string, date-time
    - `total` number, double
    - `timestamp` string, byte
    - `customFields` AcudfValueDto[]
      - `id` integer
      - `userDefinedFieldId` integer
      - `description` string
      - `value` string

## Response `200`

OK

- object

---

[API](https://skmtc.dev/bigredcloud/apis/big-red-cloud-api.md) · [All operations](https://skmtc.dev/bigredcloud/apis/big-red-cloud-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/bigredcloud/big-red-cloud-api/revisions/e1d97979e906/schema)
