Set usage limits (editor; audited)
Sets the usage limits for each source account, fee included: perTransactionMax, dailyMax (calendar day, Brasília time), and monthlyMax, with perTransactionMax ≤ dailyMax ≤ monthlyMax. An omitted ceiling sets no limit. enabled=false turns off the count.
Required before the first transfer. Usage is put on hold when you create a transfer and released if the transfer is rejected or cancelled. If a limit is exceeded, 422 TED-0030. Audited. Requires X-Idempotency.
If the audit trail cannot record the change, TED Lerian refuses it with 503 TED-9002 and changes nothing: only the audit trail keeps the previous value. Reads stay available.
Autorizações
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.
Cabeçalhos
Replay window of the idempotency key, in seconds. Default 300 (5 minutes) when missing or invalid. Values outside 30 s to 7 days are adjusted to these limits. Only the value of the FIRST request for a key counts. A change to X-TTL on retries has no effect. The window sets how long the response is replayed.
x >= 1Idempotency key of the change. Required: a request without it is refused with 400 TED-0011.
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.
Corpo
Usage limits of the institution per account: maximum amount per transfer, per business day, and per month. A missing limit sets no cap.
If the limits apply. With false, the service does not count or refuse send requests.
Maximum amount (BRL, two decimal places) per source account per calendar day (Brasília time). Absent = no cap.
^(0|[1-9][0-9]{0,11})\.[0-9]{2}$"1500.00"
Maximum amount (BRL, two decimal places) for each source account per calendar month (Brasília time). Missing = no ceiling.
^(0|[1-9][0-9]{0,11})\.[0-9]{2}$"1500.00"
Maximum amount (BRL, two decimal places) of one transfer, fee included. Absent = no cap.
^(0|[1-9][0-9]{0,11})\.[0-9]{2}$"1500.00"
Resposta
Configuration saved and audited; the body returns the current configuration.
Usage limits of the institution per account: maximum amount per transfer, per business day, and per month. A missing limit sets no cap.
If the limits apply. With false, the service does not count or refuse send requests.
Maximum amount (BRL, two decimal places) per source account per calendar day (Brasília time). Absent = no cap.
^(0|[1-9][0-9]{0,11})\.[0-9]{2}$"1500.00"
Maximum amount (BRL, two decimal places) for each source account per calendar month (Brasília time). Missing = no ceiling.
^(0|[1-9][0-9]{0,11})\.[0-9]{2}$"1500.00"
Maximum amount (BRL, two decimal places) of one transfer, fee included. Absent = no cap.
^(0|[1-9][0-9]{0,11})\.[0-9]{2}$"1500.00"
Instant (UTC) of the last write. Ignored on write.
Who wrote it last. Ignored on write; it comes from the authenticated identity.

