Pular para o conteúdo principal
GET
Get a notice received from the PCR

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Parâmetros de caminho

notice_id
string<uuid>
obrigatório

Identifier of the notice received from the PCR.

Exemplo:

"0192a3b4-5c6d-7e8f-9a0b-1c2d3e4f5a30"

Resposta

OK. The notice.

connectionId
string<uuid>
obrigatório

Connection to the PCR the notice arrived through.

Exemplo:

"0192a3b4-5c6d-7e8f-9a0b-1c2d3e4f5a20"

eventId
string<uuid>
obrigatório

Identifier of the PCR's event, the same in every delivery of it: a notice is stored once per connection and event.

Exemplo:

"0192a3b4-5c6d-7e8f-9a0b-1c2d3e4f5a31"

id
string<uuid>
obrigatório

Identifier of the notice.

Exemplo:

"0192a3b4-5c6d-7e8f-9a0b-1c2d3e4f5a30"

occurredAt
string<date-time>
obrigatório

When the event occurred at the PCR, RFC 3339 in UTC.

Exemplo:

"2026-11-10T11:59:58Z"

receivedAt
string<date-time>
obrigatório

When collections received and stored the notice, RFC 3339 in UTC. The list is ordered by it, and from and to bound it.

Exemplo:

"2026-11-10T12:00:00Z"

state
enum<string>
obrigatório

Where the notice stands. RECEIVED: stored and not applied yet. APPLIED: its effect was applied, at appliedAt. PENDING_ASSOCIATION: no title takes it yet, why is in stateReason; collections keeps it and never discards it on its own. CONFLICT: it contradicts the state of its title and is not applied silently, why is in conflictReason. DISCARDED: kept without effect, why is in stateReason.

Opções disponíveis:
RECEIVED,
APPLIED,
PENDING_ASSOCIATION,
CONFLICT,
DISCARDED
Exemplo:

"APPLIED"

type
string
obrigatório

The PCR's event type name. A type collections does not consume is stored and discarded at receipt, never refused.

Maximum string length: 64
Pattern: ^[a-z]+\.[a-z_]+$
Exemplo:

"boleto.writeoff_received"

appliedAt
string<date-time> | null

When the effect of the notice was applied, RFC 3339 in UTC, only in APPLIED; null in every other state.

Exemplo:

"2026-11-10T12:00:01Z"

conflictReason
enum<string> | null

Why the notice contradicts the state of its title, only in CONFLICT; null in every other state. LATE_REGISTRATION: a registration notice received after its title was already closed, failed or withdrawn.

Opções disponíveis:
LATE_REGISTRATION,
null
Exemplo:

"LATE_REGISTRATION"

correlation
object

What the notice carries to be matched with a title, and the title it was matched with.

organizationId
string<uuid> | null
read-only

Midaz organization of the title the notice was matched with; null while it is matched with none.

Exemplo:

"0192a3b4-5c6d-7e8f-9a0b-1c2d3e4f5a6b"

stateReason
enum<string> | null

Why the notice is pending association or discarded; null in every other state. NOTICE_NOT_CORRELATED: it matches no title of the connection, or cannot be applied to the one it names. EVENT_TYPE_NOT_CONSUMED: collections does not consume its type. STALE_VERSION: a registration notice older than the version already applied. DISCARDED_BY_OPERATOR: an operator discarded it. WRITTEN_OFF_AT_NUCLEA: a late registration resolved by a write-off requested at the Núclea.

Opções disponíveis:
NOTICE_NOT_CORRELATED,
EVENT_TYPE_NOT_CONSUMED,
STALE_VERSION,
DISCARDED_BY_OPERATOR,
WRITTEN_OFF_AT_NUCLEA,
null
Exemplo:

"NOTICE_NOT_CORRELATED"