latestOpenAPI 3.0.42026-08-194977335.3 KB

40bd25a4edaf

Cases

Delete a payment on a case

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.

delete/cases/{id}/payments/{paymentId}

Path parameters

idstring uuid required
paymentIdstring uuid required

Query parameters

reopenCaseIfNeededboolean

Response

Payment deleted successfully