Present a stuck entry to the ledger again
Presents again to the ledger a PENDING_CALL entry that collections could not post on its own. Use it after the operator solves a ledger refusal, such as balance or a blocked account (queue STUCK_CREDIT_ENTRY).
How it works
- It always uses the entry’s original key, never a new one.
- The key alone is not enough. The ledger keeps a key’s idempotency only for a window after the first presentation. After it, the same key would post again.
LEDGER_REFUSEDorINSUFFICIENT_FUNDS: the ledger refused and nothing was posted. The action opens a new presentation.LEDGER_NO_RESPONSE(no answer, outside the idempotency window; collections no longer presents it on its own): the action queries the ledger by the key. If the transaction exists, the entry moves toPOSTEDwith its id, without posting.- If the query finds nothing, the action is refused with
PBP-0802and the item stays in the queue. A new presentation opens only when the host proves the earlier one had no effect. - A chargeback refused after the release (write-off in
CHARGEBACK_PENDING): the new presentation takes the write-off toCHARGED_BACK. Only then does the client receive the charged-back notice.
Planned changes
- A write-off’s credit will have only two entries,
RELEASEandCHARGEBACK. - The ledger’s presentation window for a key becomes a per-tenant setting, 167 hours by default, instead of 300 seconds.
lastErrorbecomes a closed code, never the ledger’s text.
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
Resposta
OK. The action is recorded in the audit trail. outcome tells whether the effect is 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"

