Skip to main content
POST
Confirm or reject an announced operation between two non-liquidantes

Authorizations

Authorization
string
header
required

JWT bearer token issued by the identity provider.

Headers

X-Idempotency
string
required

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

Path Parameters

operationId
string
required

Announced non-liquidante operation id (UUID).

Example:

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

Body

application/json
announcedAmount
string
required

The announced amount you are answering for, as a decimal string. It must EQUAL the amount the câmara announced or the command is refused with 422. Compared as a decimal, so "100.1" and "100.10" are the same money.

Example:

"1234.56"

decision
string
required

CONFIRM or REJECT (case-insensitive). The câmara titles this event "confirmação ou rejeição", which is why REJECT is the word here and DIVERGE is the word on a result.

Example:

"CONFIRM"

Response

Accepted

commandId
string
required

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.

Example:

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

messageType
string
required

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

Example:

"LTR0002"

requestedAt
string
required

When the institution decided (RFC3339, UTC).

Example:

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

sourceAggregateId
string
required

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

Example:

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

sourceAggregateVersion
integer<int64>
required

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

Example:

1

status
string
required

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.

Example:

"REQUESTED"