Skip to main content
POST
Command a compulsory-account movement

Autorizaciones

Authorization
string
header
requerido

JWT bearer token issued by the identity provider.

Encabezados

X-Idempotency
string
requerido

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

X-TTL
string

Idempotency key TTL in seconds.

Cuerpo

application/json
amount
string
requerido

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}$
Ejemplo:

"1500000.00"

compulsoryCode
string
requerido

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

Ejemplo:

"9"

kind
enum<string>
requerido

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.

Opciones disponibles:
withdrawal,
deposit
Ejemplo:

"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}$
Ejemplo:

"12345678000199"

modality
string

CodMod — the optional modality of the reserve.

Ejemplo:

"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.

Ejemplo:

"B"

Respuesta

Accepted

amount
string
requerido

Amount commanded, verbatim.

Ejemplo:

"1500000.00"

id
string
requerido

Durable identifier of the commanded movement.

kind
string
requerido

Direction commanded.

Ejemplo:

"deposit"

messageCode
string
requerido

BACEN message code derived from the direction.

Ejemplo:

"RCO0011"

status
string
requerido

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

Ejemplo:

"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}$
Ejemplo:

"12345678202609150000001"

numCtrlIF
string

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