Skip to main content

Record a payment on a test case (managing partner)

POST 

/managed-cases/:id/payments

Records a payment on a test case you submitted as managing partner.

Test-Only Restriction: This endpoint only works on cases created with isTestCase: true. Attempting to record a payment on a production case returns a 400 error. For production cases, the assigned collection partner must use POST /cases/{id}/payments.

Purpose: Allows managing partners (e.g. Get-Systems) to test their full payment integration end-to-end — including webhook delivery, lifecycle transitions, and remainder updates — without involving the collection partner.

Payout Handling: A payout record is created automatically with the full payment amount going to the creditor and zero to the collection partner. CommissionPaymentStatus is set to Unpaid.

Webhooks: Payment webhooks fire normally, making this useful for end-to-end integration testing.

CloseCase: If closeCase=true and the payment amount is less than the outstanding balance, a 400 is returned.

Request

Responses

Payment recorded successfully