---
updatedAt: 2026-10-28T23:37:17.000Z
agentTools:
  projectIndex: https://docs.paymentlabs.io/llms.txt
---

# batch-deleted

Sent when a batch is deleted from your payor account.

<Callout icon="📘" theme="info">
  Every event is sent in the same request body, with the same headers and HMAC signature. See [Webhook Events](https://docs.paymentlabs.io/reference/webhooks-events) for how to verify, acknowledge and de-duplicate deliveries.
</Callout>

`batch-deleted` tells you that a batch no longer exists.

## When it fires

* Once, when a batch is deleted.

## What to do

* Remove the batch from your system or mark it as deleted.
* Calls for this batch, such as [Get Batch](https://docs.paymentlabs.io/reference/get-batch-endpoint-1), now return `404`.

## Payload

The batch no longer exists, so `data` carries only its identifiers. Note that the field is `batchId` here, not `id` as in the other batch events.

| Field     | Type   | Description              |
| --------- | ------ | ------------------------ |
| `batchId` | string | ID of the deleted batch. |
| `payorId` | string | Your payor ID.           |

## Example

The full request body Payment Labs sends:

```json
{
  "payorId": "C-01JBX2Q8F4H6K8M0N2P4R6T8VW",
  "event": "batch-deleted",
  "timestamp": "2026-03-20T08:15:44.903Z",
  "data": {
    "batchId": "B-01JC8Z1B2C3D4E5F6G7H8J9K0M",
    "payorId": "C-01JBX2Q8F4H6K8M0N2P4R6T8VW"
  }
}
```