What it consumes
From Núclea, over the RSFN:
- GEN0015 (a file is available for pickup, which starts the pull of the returns)
- SLC0001 (clearing preview and final)
- SLC0002
- PAG0101 (operational status)
- From Lerian SILOC, the SILOC cycle and funding messages: PAG0102, PAG0103, and LDL0021.
- From Lerian SILOC, the gross and bilateral settlement announcements: LTR0001, LTR0007, and LTR0012.
- The outcome of each settlement command that Lerian SLC sends.
What it emits
Lifecycle events and status relays are written in the same transaction as the state change they report.
- Operation lifecycle events: one for each state the operation enters, from
operation.createdtooperation.cancelled.operation.manually_advancedreports an audited override.operation.d1_rejectedreports a credit that the IF Domicílio refused after it settled. operation.status_relayed: the rail relayed the IF Domicílio’s answer to the credenciadora.operation.forward_rejected: an outbound submission was parked and needs operator action. The payload, not the event name, says which leg and why.stageidentifies the affected leg:forwardto the IF Domicílio ordispatchto Núclea. In both cases,parkReasonisattempt_budget_exhausted.operationIdsScopesays whetheroperationIdsis complete for the file or only a sample.GET /v1/operations?transmitHold=parkedlists every parked operation.operation.verdict_unresolved: Núclea’s verdict on a submission did not resolve into an acceptance or a refusal, so the operation did not move.- Schedule alerts:
operation.stuck_detected,d1.missing_confirmation,confirmation.overdue, andschedule.cutoff_approaching. cancellation.confirmed_by_domicile: the IF Domicílio confirmed a cancellation and the event carries the NUliquid.d1.value_mismatch: a D0-versus-D+1 value divergence.certificate.expiring: a certificate approaching expiry.- The
clearing.*family:cycle_opened,cycle_closed,cycle_recalculated,preview_available,final_available,deposit_required,deposit_deadline_approaching, anddivergence_reported. funding.deposit_failed: the client reported that it could not make a deposit.report.request_acknowledgedandreport.result_available: Núclea acknowledged a report request, or its result is available.
cancellation.confirmed_by_domicile and d1.value_mismatch. Consumers use it to correlate each operation’s merchant credit and its domicile-return evidence.
Midaz touchpoint
Lerian SLC is standalone. It does not post to a ledger itself. Midaz is an optional consumer. Midaz can subscribe to Lerian SLC’s events or call its API to mirror settlement into the ledger. Lerian SLC does not depend on Midaz.
Money-path boundary
Lerian SLC owns the card-settlement messaging with Núclea. It does not perform the monetary settlement itself. The netted position settles at the SLC and Núclea. The reserve leg settles at BACEN. The card-domain deferred-net settlement family reaches Lerian SLC relayed from Lerian SILOC, the participant-side SILOC connectivity.
API conventions
- Idempotent intake. Operation intake refuses an
externalIdthat another operation already uses, with409andSLC-0104. In a batch, a line with a duplicateexternalIdis refused alone, and its error names the existing operation. - Idempotent writes. Operation intake, batch intake, and the deposit acknowledgement accept an optional
X-Idempotencyheader. The signing-key and settlement-command operations require it and answer400without it. A retry that reuses the key within 24 hours receives the stored response, and the request does not run again. - Signed webhooks. Lerian SLC signs each webhook with HMAC-SHA256 and sends the signature in
X-Webhook-Signature. - Online auth. mTLS and a per-request JWS signature secure each individual online operation over REST.
- Certificates are references, not secrets. A registered certificate carries its public certificate and a custody reference, not the private key.

