Skip to main content
POST
Cancel a MED infraction

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

idRelatoInfracao
string
required

The infraction GUID.

Body

application/json
idempotencyKey
string
required

Business-derived idempotency key (Chave-Idempotencia).

Response

OK

dtHrCriacao
string
required

Upstream creation timestamp (RFC 3339 UTC).

dtHrUltModificacao
string
required

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

endToEndId
string
required

EndToEndId of the suspect payment.

idRelatoInfracao
string
required

Infraction GUID (the natural key).

motivo
integer<int64>
required

Infraction motivo code (1=Solicitacao de devolucao, 2=Cancelamento da devolucao).

motivoDescription
string
required

Human-readable infraction motivo label.

pspContraParte
string
required

ISPB of the counterparty.

pspCriador
string
required

ISPB of the infraction creator.

status
integer<int64>
required

stRelatoInfracao lifecycle code (0=Aberto, 1=Recebido, 2=Cancelado, 3=Analisado).

statusDescription
string
required

Human-readable stRelatoInfracao label.

tpSitOrigem
integer<int64>
required

Situation-origin code (0..5).

tpSitOrigemDescription
string
required

Human-readable tpSitOrigem label.

detalhes
string

Free-text detail to help the recebedor analyse.

detalhesAnalise
string

Analysis detail.

idMarcacaoFraude
string

Fraud-marker GUID, when analysis produced one.

idRecValores
string

Value-recovery GUID, when the infraction came from a recovery.

resultadoAnalise
integer<int64>

Infraction analysis result (0=Aceita, 1=Rejeitada); null until analysed.

resultadoAnaliseDescription
string

Human-readable infraction analysis-result label.

vlrInfracaoCents
integer<int64>

Amount to block on the account, in centavos; null when absent.