---
title: "Delete payments in bulk"
method: DELETE
path: "/payments/{companyId}"
tags: ["Payments"]
---

# Delete payments in bulk

`DELETE /payments/{companyId}`

Deletes several payments in a single call, identified by `customId`.

## Path parameters

- `companyId` string, required

## Request body

- BulkDeletePaymentsRequestSchema
  - `data` DeletePaymentsRequestSchema[], required — Payments to delete, identified by `customId`.
    - `customId` string, required — Custom ID of the payment to delete.

## Response `200`

Successful Response

- BulkModifyPaymentsResponseSchema
  - `data` ModifyPaymentsResponseSchema[], required — Result of the bulk operation, one entry per payment.
    - `id` string, required — Embat payment ID

## Other responses

- `401` — Unauthorized. The bearer token is missing, invalid or expired.
- `404` — Company not found, or none of the given `customId` values match a payment.
- `422` — Validation Error
- `500` — Unexpected error. Contact support if it persists.

---

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