Release a write-off's credit manually
Releases a write-offβs amount to release to the available balance (RELEASE), when a human decision is needed. Two cases qualify: an STR route without the PCR confirming the credit (queue STR_RELEASE_PENDING), and a write-off not settled in the cycle (queue NOT_SETTLED_IN_CYCLE).
How it works
- The operator attests the settlement in
settlementConfirmation. The amount is never released before it settled on the route. - Not settled in the cycle: collections first runs an automatic check at the PCR on its own. The manual release is accepted only after that check ends unresolved (
lastAutomaticCheck.resultUNRESOLVEDorFAILED). Before that, the action is refused withPBP-0819. - There is no operation to trigger the automatic check.
- If the agreementβs credit date has not arrived, the release is scheduled for it (
outcome: ENQUEUED).WriteOff.scheduledReleaseshows the date and the author. Cancel it before that date withcancelScheduledRelease. - The entry uses a stable key: title, write-off and
RELEASE. Repeating the action, under the same or anotherIdempotency-Key, never credits twice. A second run is refused withPBP-0802.
Planned changes
RELEASEbecomes the only entry of the credit, from the counterparty to the default balance of the titleβs account. There is no earlier entry.- The release also follows the agreementβs
releasePolicy. UnderAFTER_CANCELLATION_WINDOW, it waits for the write-offβs cancellation deadline.
Headers
Idempotency key of the client, a UUID. Missing or invalid: 400 PBP-0012; an earlier request with the same key still running: 409 PBP-0007; the same key with another body: 422 PBP-0013. Afterwards, the same key returns the stored answer.
"5f2b8a8e-3c1d-4f7a-9b2e-6d4c1a0e9f11"
Body
Response
OK. The action is recorded in the audit trail. outcome tells whether the effect is applied or follows in the background. A scheduled release returns ENQUEUED.
What the action did.
RELEASE_WRITE_OFF, CANCEL_SCHEDULED_RELEASE, UNHOLD_WRITE_OFF, REVERSE_WRITE_OFF, REPROCESS_CREDIT_ENTRY, REPROCESS_PCR_COMMAND, CLOSE_PCR_COMMAND, SETTLE_SUBMISSION_FAILURE, ASSOCIATE_PCR_NOTICE, DISCARD_PCR_NOTICE, APPLY_PCR_NOTICE, WRITE_OFF_LATE_REGISTRATION, ENABLE_ACCOUNT, CREATE_ENABLEMENT_BATCH, APPROVE_ENABLEMENT, REJECT_ENABLEMENT, DISABLE_BENEFICIARY, CORRECT_AGREEMENT_DIVERGENCE, ADOPT_AGREEMENT_DIVERGENCE, BULK_ADOPT_AGREEMENT_DIVERGENCES, CREATE_AGREEMENT, UPDATE_AGREEMENT, CLOSE_AGREEMENT, REPROCESS_AGREEMENT_CLOSURE, FORCE_CLOSE_AGREEMENT, LINK_POOLED_ACCOUNT, REMOVE_POOLED_ACCOUNT_LINK, PUT_PCR_CONNECTION, PUT_COLLECTIONS_SETTINGS, SYNC_PCR_SUBSCRIPTION, ROTATE_PCR_NOTICE_SECRET, REDELIVER_PCR_NOTICE "REDELIVER_PCR_NOTICE"
Kind of resource the action acted on.
TITLE, WRITE_OFF, CREDIT_ENTRY, PCR_COMMAND, PCR_NOTICE, BENEFICIARY, ENABLEMENT_BATCH, AGREEMENT, AGREEMENT_DIVERGENCE, POOLED_ACCOUNT_LINK, PCR_CONNECTION, PCR_SUBSCRIPTION, PCR_WEBHOOK_DELIVERY, COLLECTIONS_SETTINGS, ACCOUNT "PCR_WEBHOOK_DELIVERY"

