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}

Request

  • Base URL
    https://collectionpartner-api.debitura.com
  • URL
    https://collectionpartner-api.debitura.com/cases/{id}/payments/{paymentId}
  • Auth
    API key in header XApiKey

Path parameters

idstring uuid required
paymentIdstring uuid required

Query parameters

reopenCaseIfNeededboolean

Response

Payment deleted successfully

Changes

No recorded changes to this operation across all 13 revisions of this API.