Skip to main content
POST
Confirm or diverge from an announced settlement result

Autorizaciones

Authorization
string
header
requerido

JWT bearer token issued by the identity provider.

Encabezados

X-Idempotency
string
requerido

Required. Scopes this answer so a retry replays the stored response instead of sending a second command for the same result.

Parámetros de ruta

resultId
string
requerido

Announced result id (UUID).

Ejemplo:

"018f8a3e-4b2c-7c1a-9e5d-2f6a1b3c4d5e"

Cuerpo

application/json
announcedAmount
string
requerido

The announced amount you are answering for, as a decimal string (e.g. "1234.56"). It must EQUAL the amount the câmara announced or the command is refused with 422: a confirmation that does not say what it confirms is not auditable. Compared as a decimal, so "100.1" and "100.10" are the same money.

Ejemplo:

"1234.56"

decision
string
requerido

CONFIRM or DIVERGE (case-insensitive). CONFIRM accepts the announced result; DIVERGE disputes it. Both ride the same wire tag; the product words differ because the câmara's own event titles them differently.

Ejemplo:

"CONFIRM"

Respuesta

Accepted

commandId
string
requerido

The command's id (a UUIDv7 minted by this service). It is the key every later fact joins on and the id to read the command back by.

Ejemplo:

"0199a2e8-7a1c-7c1a-9e5d-2f6a1b3c4d5e"

messageType
string
requerido

The outbound message this command originates: LTR0002 (result answer), LTR0008 (non-liquidante answer) or LTR0009 (position query).

Ejemplo:

"LTR0002"

requestedAt
string
requerido

When the institution decided (RFC3339, UTC).

Ejemplo:

"2026-09-22T13:04:11Z"

sourceAggregateId
string
requerido

The announcement this command answers. For a position query it is the command's own id, because a query answers no announcement.

Ejemplo:

"018f8a3e-4b2c-7c1a-9e5d-2f6a1b3c4d5e"

sourceAggregateVersion
integer<int64>
requerido

The version of the announcement this command was authorised against, kept so a later reader can see which view of it was answered.

Ejemplo:

1

status
string
requerido

Always REQUESTED here: the command row and its outbound event are committed and nothing has been sent yet. Poll the command to see it reach ACCEPTED, ANSWERED, REFUSED or FAILED.

Ejemplo:

"REQUESTED"