Saltar al contenido principal
POST
Quote the fee and total of a TED with no financial effect

Autorizaciones

Authorization
string
header
requerido

JWT token that the Lerian Access Manager issues for your institution. Send it in Authorization: Bearer <token> on every call (except the public health probes). The tenant never comes from the body, the query, or the path. Each operation requires a role with the matching permission (see the API overview). Without it, 403 TED-0071. Missing, invalid, or expired token: 401 TED-0070.

Encabezados

X-Account-Id
string<uuid>
requerido

Identifier (UUID) of the customer account in your own institution that starts the operation: the debited account in a send request or a quote. It goes in the header, never in the body. The account must belong to the organization that the token resolves. A missing or malformed value returns 400 TED-0008; an account from another organization returns 403 TED-0009.

X-Request-Id
string<uuid>

Correlation identifier of this request (UUID). Optional: when you omit it, or when the value is not a well-formed UUID, the platform creates a UUID and returns it in the X-Request-Id header of the response. The resolved identifier goes to the logs, spans, and audit events of this request. Keep it to open a support ticket.

Cuerpo

application/json

Quote request: the same financial fields as a send request (recipient, amount, and purpose code), with no effect.

amount
string
requerido

Amount in BRL as a decimal string, not a JSON number: digits only, with a dot as the decimal separator, up to 16 significant integer digits and at most 2 significant decimal places, with no sign or exponent. Leading and trailing spaces are ignored (e.g., "1500.00"; "1500.000" is equal to 1500.00).

Ejemplo:

"1500.00"

purposeCode
string
requerido

Purpose code of the TED (FinlddCli Domain Dictionary, 5 digits).

Pattern: ^[0-9]{5}$
Ejemplo:

"00001"

recipient
object
requerido

Recipient, exactly as it would be sent in the transfer request.

Respuesta

Calculated quote: the feeAmount and totalAmount that this same request would put on hold now. No financial effect.

Quote result: the fee and total that the same request would put on hold at this instant, and whether the operating window is open. The quote does not hold balance or limit.

amount
string
requerido

Amount sent, in BRL.

Pattern: ^(0\.(0[1-9]|[1-9][0-9])|[1-9][0-9]{0,11}\.[0-9]{2})$
Ejemplo:

"1500.00"

feeAmount
string
requerido

Fee that a send request would hold now (0.00 when exempt).

Pattern: ^(0|[1-9][0-9]{0,11})\.[0-9]{2}$
Ejemplo:

"3.25"

quotedAt
string<date-time>
requerido

Time (UTC) of the quote.

totalAmount
string
requerido

Amount + fee: the total that would be debited from the source account.

Pattern: ^(0|[1-9][0-9]{0,11})\.[0-9]{2}$
Ejemplo:

"1503.25"

type
enum<string>
requerido

Path the send would take: TED (another institution, through the STR) or INTERNAL (your own institution, in the ledger).

Opciones disponibles:
TED,
INTERNAL
feePackageId
string

Identifier of the fee package applied in the ledger

nextWindowOpensAt
string<date-time>

Next opening of the effective window (UTC), given when the window is closed at this moment.

windowOpen
boolean

Whether the effective window is open at this moment. Missing when the window could not be read — it never means closed.