ManagedCases

Delete a payment on a test case (managing partner)

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.

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

Request

  • Base URL
    https://collectionpartner-api.debitura.com
  • URL
    https://collectionpartner-api.debitura.com/managed-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.