Skip to main content
POST
Submit a rediscount query

Authorizations

Authorization
string
header
required

JWT bearer token issued by the identity provider.

Headers

X-Idempotency
string
required

Idempotency key. Required on every mutation.

X-TTL
string

Idempotency key TTL in seconds.

Body

application/json
kind
enum<string>
required

Operator-facing consulta kind. The server derives the wire code: eligibleTitlePrice -> RDC0001 (what is one eligible security worth), openPositions -> RDC0006 (what rediscounts does this institution still have open today).

Available options:
eligibleTitlePrice,
openPositions
Example:

"openPositions"

maturityDate
string

Maturity of that security (DtVenc). Required by kind=eligibleTitlePrice, refused by kind=openPositions.

Example:

"2027-01-01"

startTime
string

Optional window start (HrIni) narrowing the answer. kind=openPositions only; BACEN defaults an absent value to the system's opening time.

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

"09:00:00"

titleId
string

Selic identifier of the security whose unit price is asked for (IdentdTitSEL). Required by kind=eligibleTitlePrice, refused by kind=openPositions.

Example:

"100000"

Response

Accepted

correlationId
string
required

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

Example:

"req-7a3f9c2e"

id
string
required

Correlation id (the outbound NUOp). Poll GET /v1/str/rediscount-queries/{nuOp} with it.

Example:

"12345678202606150000014"

kind
string
required

Consulta kind, echoed back.

Example:

"openPositions"

movementDate
string
required

BACEN business date (DtMovto) the consulta was sent for, derived server-side.

Example:

"2026-06-15"

status
string
required

Projection state: PENDING until the answer arrives.

Example:

"PENDING"

submittedAt
string
required

RFC3339 UTC timestamp the consulta was submitted.

Example:

"2026-06-15T12:00:00Z"

wireCode
string
required

RDC message code the server derived and put on the wire.

Example:

"RDC0006"