Close an agreement manually
Closes an agreement in CLOSURE_FAILED locally, without a new call to the PCR. Use it when the exclusion was already made another way, for example in the PCR administration interface.
How it works
- The agreement must be
CLOSURE_FAILED. These agreements wait in theAGREEMENT_CLOSURE_EXCEPTIONoperation queue. reasonandevidenceare required.- The next reconciliation with the beneficiary base confirms the closure or opens a divergence.
- The action is recorded in the audit trail with its reason.
Cabeçalhos
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"
Corpo
Action with a mandatory reason and evidence (lift a hold, reverse, close manually).
Resposta
OK. The action is recorded in the audit trail with its reason. outcome tells whether the effect is already applied or follows in the background.
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"

