Pular para o conteúdo principal
POST
Release a write-off's credit manually

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Cabeçalhos

Idempotency-Key
string<uuid>
obrigatório

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.

Exemplo:

"5f2b8a8e-3c1d-4f7a-9b2e-6d4c1a0e9f11"

Parâmetros de caminho

write_off_id
string<uuid>
obrigatório

Identifier of the write-off in collections.

Corpo

application/json
reason
string
obrigatório

Reason for the action, required. Text of the operator; must not carry personal data.

Required string length: 10 - 500
Exemplo:

"STR credit checked on the reserves account statement of 11/10."

settlementConfirmation
object
obrigatório

The operator's attestation that the write-off settled on the route.

Resposta

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.

action
enum<string>
obrigatório

What the action did.

Opções disponíveis:
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
Exemplo:

"REDELIVER_PCR_NOTICE"

auditActionId
string<uuid>
obrigatório

Entry created in the audit trail.

Exemplo:

"3fa85f64-5717-4562-b3fc-2c963f66afa6"

outcome
enum<string>
obrigatório

APPLIED: the local effect is written and, when there is an external effect, it is confirmed. ENQUEUED: the action is recorded under a stable key and its effect follows asynchronously, at the PCR or the ledger.

Opções disponíveis:
APPLIED,
ENQUEUED
Exemplo:

"ENQUEUED"

targetId
string<uuid>
obrigatório

Identifier of the resource the action acted on.

Exemplo:

"7c9e6679-7425-40de-944b-e07fc1f90ae7"

targetState
string
obrigatório

State of the target after the action, as far as collections knows it when it answers.

Maximum string length: 64
Exemplo:

"FAILED"

targetType
enum<string>
obrigatório

Kind of resource the action acted on.

Opções disponíveis:
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
Exemplo:

"PCR_WEBHOOK_DELIVERY"