Pular para o conteúdo principal
GET
Get a MED infraction

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Parâmetros de caminho

idRelatoInfracao
string
obrigatório

The infraction GUID.

Exemplo:

"a1b2c3d4-e5f6-7890-abcd-ef1234567890"

Parâmetros de consulta

ispb
string

The ISPB of the direct participant this request acts for. OPTIONAL: omit it and the request is answered exactly as before. Named, the record has to be one that participant is a party to - either side of a dispute, the creator of a value recovery, the participant a refund credit was booked for - or the answer is 404 PIX-0147 and nothing is read from JDPI or changed. A record this deployment does not hold is 404 PIX-0147 too when an ispb is named. An ISPB this deployment does not act as is 422 PIX-0128, before any record is read. It is ROUTING DATA you supply, never a credential, and a token confined to one participant has to name it here. Sending it empty (ispb=) reads the same as omitting it.

Pattern: ^[0-9A-Z]{8}$
Exemplo:

"12345678"

indirectId
string<uuid>

The registered indirect participant (UUID) this request acts for. OPTIONAL: omit it and the request is answered exactly as before. Named, the infraction has to be over a payment this deployment recorded for that indirect - the rule GET /v1/med/infractions?indirectId= lists by - or the answer is 404 PIX-0147 and nothing is read from JDPI or changed; an infraction this deployment does not hold is 404 PIX-0147 too when an indirectId is named. It is ROUTING DATA you supply, never a credential, and a token confined to one indirect has to name it here. Not a valid UUID is 400 PIX-0061. Sending it empty (indirectId=) reads the same as omitting it.

Exemplo:

"3f2504e0-4f89-41d3-9a0c-0305e82c3301"

Resposta

OK

counterpartIspb
string
obrigatório

ISPB of the counterparty.

Exemplo:

"87654321"

createdAt
string
obrigatório

JDPI creation timestamp (RFC 3339 UTC).

Exemplo:

"2024-01-01T12:00:00.000Z"

creatorIspb
string
obrigatório

ISPB of the infraction creator.

Exemplo:

"12345678"

endToEndId
string
obrigatório

EndToEndId of the suspect payment.

Exemplo:

"E1234567820240101000000000000001"

infractionId
string
obrigatório

Infraction GUID (the natural key).

Exemplo:

"a1b2c3d4-e5f6-7890-abcd-ef1234567890"

reason
integer<int64>
obrigatório

Infraction reason code (1=refund request, 2=refund cancellation).

Exemplo:

1

reasonDescription
string
obrigatório

Human-readable infraction reason label.

Exemplo:

"Solicitacao de refund"

status
integer<int64>
obrigatório

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

Exemplo:

0

statusDescription
string
obrigatório

Human-readable stRelatoInfracao label.

Exemplo:

"Aberto"

tpSitOrigem
integer<int64>
obrigatório

Situation-origin code (0..5).

Exemplo:

0

tpSitOrigemDescription
string
obrigatório

Human-readable tpSitOrigem label.

Exemplo:

"Golpe/Estelionato"

updatedAt
string
obrigatório

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

Exemplo:

"2024-01-01T12:05:00.000Z"

analysisDetails
string

Analysis detail.

Exemplo:

"Confirmed."

analysisResult
integer<int64>

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

Exemplo:

0

analysisResultDescription
string

Human-readable infraction analysis-result label.

Exemplo:

"Aceita"

details
string

Free-text detail to help the receiving PSP analyse.

Exemplo:

"Suspected scam."

fraudMarkerId
string

Fraud-marker GUID, when analysis produced one.

Exemplo:

"c3d4e5f6-a7b8-9012-cdef-345678901234"

recoveryId
string

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

Exemplo:

"b2c3d4e5-f6a7-8901-bcde-f23456789012"

vlrInfracao
integer<int64>

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

Exemplo:

15000