Skip to main content
PUT
Amend a MED value recovery

Authorizations

Authorization
string
header
required

JWT Bearer token authentication. Obtain token from /v1/login/oauth/access_token endpoint using client credentials (clientId and clientSecret).

Include token in Authorization header: Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...

Token expires after 3600 seconds (1 hour).

Path Parameters

idRecValores
string
required

The value-recovery GUID.

Body

application/json
idempotencyKey
string
required

Business-derived idempotency key (Chave-Idempotencia).

tpSituacao
integer<int64>
required

New situation code (0..5).

contatoEmail
string

New creator-contact email.

contatoTelefone
string

New creator-contact phone.

detalhes
string

New free-text detail; required when tpSituacao=4 (Outros).

Response

OK

breached
boolean
required

True when the devolver deadline has been reached or passed (computed at read time); false when no deadline is set.

contatoEmail
string
required

Creator-contact email.

contatoTelefone
string
required

Creator-contact phone.

dtHrCriacao
string
required

Upstream creation timestamp (RFC 3339 UTC).

dtHrUltModificacao
string
required

Upstream last-modification timestamp (RFC 3339 UTC) — the watermark.

idRecValores
string
required

Value-recovery GUID (the natural key).

idTransacaoRaiz
string
required

EndToEndId of the root transaction being recovered.

pspCriador
string
required

ISPB of the recovery creator.

status
integer<int64>
required

stRecValores lifecycle code (0=Criada.. 6=Cancelada).

statusDescription
string
required

Human-readable stRecValores label.

tpSituacao
integer<int64>
required

Situation code (0..5).

tpSituacaoDescription
string
required

Human-readable tpSituacao label.

detalhes
string

Free-text detail (required when tpSituacao=4 Outros).

devolverDeadline
string

Creator-side 72h devolver deadline, from the Analise stage close; null unless this institution is the pspCriador on an Analisada recovery.