Skip to content

Perform Action on Collection Case

Once a collection case is created and booked you operate on it through the /collection-batches/<id> sub-resources. Each action has its own right and most require the case to be in an open status (OPEN, RESUME, PAUSED, DISPUTED).

Example - dispute a case:

Terminal window
curl -X PUT "https://$HOST/collection-batches/$CB_ID/dispute" \
-H "Authorization: Bearer $JWT" -H "Content-Type: application/json" \
-d '{ "reasonCode": "DISPUTED_BY_DEBTOR" }'
ActionEndpointRightWhat it does
DisputePUT /collection-batches/<id>/disputeDisputeCollectionBatchMark the case disputed.
ResumePUT /collection-batches/<id>/resumeResumeCollectionBatchResume a paused/disputed case.
StopPUT /collection-batches/<id>/stopStopCollectionBatchStop the case.
ReprievePUT /collection-batches/<id>/reprieveReprieveCollectionBatchGrant a payment reprieve (pause ledger to a date).
Close reprievePUT /collection-batches/<id>/close-reprieveReprieveCollectionBatchEnd an active reprieve.
UpdatePUT /collection-batches/<id>UpdateCollectionBatchUpdate fields, including advancing the ledger status.
ActionEndpointRightWhat it does
Add fee / interestPOST /collection-batches/<id>/financial-eventsCreateCollectionBatchFinancialEventBook a COLLECTION_BATCH_FEE or interest event.
Reverse financial eventPUT /collection-batches/financial-events/<eventId>/reverseReversePaymentTransactionReverse a booked financial event.
Write offPUT /collection-batches/<id>/writeoffWriteOffOnCollectionBatchWrite off outstanding amounts.
Start part paymentPUT /collection-batches/<id>/part-payment/startPartPaymentStartCollectionBatchStart a part-payment plan on the case.
Stop part paymentPUT /collection-batches/<id>/part-payment/stopPartPaymentStopCollectionBatchStop the part-payment plan.
ActionEndpointRightWhat it does
Trigger ad-hoc eventPUT /collection-batches/events/<id>/triggerTriggerCollectionBatchEventSchedule an ad-hoc ledger event (notification, claim, …). It is performed via the reminder pipeline.
Replace profilePUT /collection-batches/<id>/replace-collection-profileChangeCollectionProfileSwap the collection profile.
Append profilePUT /collection-batches/<id>/append-collection-profileAppendCollectionProfileAppend a profile to the chain.
Postpone ledger eventsPUT /collection-batches/<id>/postpone-ledger-eventsUpdateCollectionBatchPush upcoming ledger events later.
Add / remove invoicePOST / DELETE /collection-batches/<id>/invoices/<invoiceId>UpdateCollectionBatchAdd or remove an invoice from the case.
Manage guarantorsPOST / PUT / DELETE /collection-batches/<id>/guarantors[/<guarantorId>]CreateCollectionBatchGuarantorMaintain guarantors on the case.

Bulk operations across many cases live under PUT /collection-batches/actions/bulk-update (and /create-note, /postpone-collection-batches). Read state with GET /collection-batches/<id>, /financial-events, /notes, and /events.