---
title: "Delete a payment on a case"
method: DELETE
path: "/cases/{id}/payments/{paymentId}"
tags: ["Cases"]
---

# Delete a payment on a case

`DELETE /cases/{id}/payments/{paymentId}`

Deletes a payment from a collection case, reverting its effect on the case balance and cascading the payout deletion. A durable audit record of the deletion is retained.

**Invoiced payments are frozen:** a payment whose payout has already been invoiced (Stripe/QBO) cannot be deleted and returns **422 Unprocessable Entity**.

**Reopen consent:** if deleting the payment leaves a previously closed (Paid) case with a positive outstanding balance, the case must be reopened. By default this returns **409 Conflict**; resend with `reopenCaseIfNeeded=true` to confirm — the case is reopened to Active and a `case.updated` webhook fires.

## Path parameters

- `id` string, uuid, required
- `paymentId` string, uuid, required

## Query parameters

- `reopenCaseIfNeeded` boolean

## Response `204`

Payment deleted successfully

## Other responses

- `400` — Invalid request
- `404` — Case or payment not found / not assigned to you
- `409` — Deletion would reopen the case; resend with reopenCaseIfNeeded=true
- `422` — Payment has already been invoiced and cannot be deleted
- `500` — Server error occurred

---

[API](https://skmtc.net/debitura/apis/debitura-collection-partner-api.md) · [All operations](https://skmtc.net/debitura/apis/debitura-collection-partner-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/debitura/debitura-collection-partner-api/revisions/40bd25a4edaf/schema)
