Edit a payment on a test case (managing partner)
PUT/managed-cases/:id/payments/:paymentId
Edits a payment on a test case you submitted as managing partner.
Test-Only Restriction: like recording a payment, this only works on cases created with isTestCase: true. Production cases return a 400 — the assigned collection partner must edit via PUT /cases/{id}/payments/{paymentId}.
Invoiced payments are frozen: an already-invoiced payment cannot be edited and returns 422.
Reopen consent: if the edit 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
- 200
- 400
- 404
- 409
- 422
- 500
Payment updated successfully
Invalid request or production case
Case or payment not found / not submitted by you
Edit would reopen the case; resend with reopenCaseIfNeeded=true
Payment has already been invoiced and cannot be edited
Server error