Skip to main content

Delete a payment on a test case (managing partner)

DELETE 

/managed-cases/:id/payments/:paymentId

Deletes a payment from a test case you submitted as managing partner, reverting its effect on the case balance and cascading the payout deletion. A durable audit record is retained.

Test-Only Restriction: only works on cases created with isTestCase: true. Production cases return a 400 — the assigned collection partner must delete via DELETE /cases/{id}/payments/{paymentId}.

Invoiced payments are frozen: an already-invoiced payment cannot be deleted and returns 422.

Reopen consent: if the deletion leaves a previously closed (Paid) case with an outstanding balance, the case is reopened only when reopenCaseIfNeeded=true; otherwise the request returns 409 Conflict.

Request

Responses

Payment deleted successfully