Skip to main content
POST
Command a compulsory-account movement

Authorizations

Authorization
string
header
required

JWT bearer token issued by the identity provider.

Headers

X-Idempotency
string
required

Idempotency key. Required on every mutation — replaying it produces one outbound frame, never two.

X-TTL
string

Idempotency key TTL in seconds.

Body

application/json
amount
string
required

Movement amount in decimal reais, two places. Forwarded to BACEN verbatim — this rail performs no arithmetic on it and holds no compulsory position.

Pattern: ^(0|[1-9][0-9]*)\.[0-9]{2}$
Example:

"1500000.00"

compulsoryCode
string
required

CodRCO — which compulsory reserve the movement is against. The demand-deposit compulsory is refused on both directions (RRCO0005).

Example:

"9"

kind
enum<string>
required

Direction of the movement. withdrawal takes value OUT of the compulsory deposits into Reservas Bancárias (RCO0010); deposit funds the compulsory deposits from Reservas Bancárias (RCO0011). The BACEN message code is derived from this server-side.

Available options:
withdrawal,
deposit
Example:

"deposit"

beneficiaryCNPJ
string

CNPJIF — carried by a DEPOSIT only (RRCO0004): the institution whose compulsory deposits this movement funds, when that institution holds neither a Reservas Bancárias nor a settlement account. Supplying it on a withdrawal is refused, not ignored.

Pattern: ^[0-9]{14}$
Example:

"12345678000199"

modality
string

CodMod — the optional modality of the reserve.

Example:

"1"

preferenceLevel
string

NivelPref — the optional settlement priority the participant asks for. A letter (A/B/C/D) on the official type, not a digit.

Example:

"B"

Response

Accepted

amount
string
required

Amount commanded, verbatim.

Example:

"1500000.00"

id
string
required

Durable identifier of the commanded movement.

kind
string
required

Direction commanded.

Example:

"deposit"

messageCode
string
required

BACEN message code derived from the direction.

Example:

"RCO0011"

status
string
required

Projection state. PENDING until the R1 answer arrives: having sent the command is never a settlement.

Example:

"PENDING"

correlationId
string

Request-scoped correlation identifier echoing X-Request-ID.

nuOp
string

Outbound operation number, once the frame is accepted onto the rail.

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

"12345678202609150000001"

numCtrlIF
string

Participant control number — the handle the BACEN answer echoes, and the key this movement is read back by.