Skip to main content
POST
Create 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).

Body

application/json
contatoEmail
string
required

Creator-contact email (required).

contatoTelefone
string
required

Creator-contact phone (required).

idTransacaoRaiz
string
required

EndToEndId of the root transaction being recovered.

idempotencyKey
string
required

Business-derived idempotency key (Chave-Idempotencia).

tpSituacao
integer<int64>
required

Situation code (0=Golpe, 1=Nao autorizada, 2=Coercao, 3=Acesso fraudulento, 4=Outros, 5=Desconhecida).

detalhes
string

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

grafoRastreamento
object

Response

Accepted

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.