latestOpenAPI 3.0.42026-08-194977335.3 KB
40bd25a4edaf
ManagedCases
Edit a payment on a test case (managing partner)
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.
put/managed-cases/{id}/payments/{paymentId}
Path parameters
idstring uuid required
paymentIdstring uuid required
Request body
Example request
{
"date": "2025-11-19",
"paymentAmount": 5000,
"payoutCreditor": 4000,
"payoutCollectionPartner": 1000,
"paymentRecipient": "Creditor",
"commissionPaymentStatus": "Paid"
}Response
Payment updated successfully