Skip to main content
TED Lerian publishes an event at each lifecycle step of sent transfers, of the incoming TEDs it records, and of their returns, on the platform event backbone. Streaming Hub delivers them to your institution’s systems.

How delivery works


  • At least once. An event can arrive more than once. Once TED Lerian records the status change, it never loses the event.
  • Only after the change commits. TED Lerian writes the event in the same transaction as the status. No event describes a status that later disappears.
  • Deduplicate on the (ce-source, ce-id) pair. The ce-id is a UUIDv7 derived from the lifecycle step, so a redelivery repeats it. Read the ce-id from the event and never rebuild it.
  • Do not rely on arrival order. Order events by the lifecycle and by the timestamps inside each event.
  • CloudEvents 1.0. The type is studio.lerian.br-ted.<resource>.<event>. ce-subject is the id of the transfer, the incoming TED or the return.
  • Money comes as a string ("1500.00"). Timestamps are in UTC.

Catalog


“Reconciled” has no event of its own. It is a transfer.settled or transfer.rejected whose previousStatus is AWAITING_RECONCILIATION or EXHAUSTED. A subscriber of transfer.settled also receives the settlements resolved by reconciliation or by an operator.
The events transfer.fraud_analysis, transfer.submitted, transfer.settled, transfer.pending_str, transfer.rejected, transfer.cancelled and transfer.awaiting_reconciliation carry fraudCheck, the same block that the transfer reads return. So do incoming_transfer.credited and incoming_transfer.manual_review, and incoming_return.requested when an antifraud denial caused the return. The block is null on a sent transfer created with every antifraud flow off, and on a received TED while no answer is recorded. It holds decideBy and one check for each flow. See the antifraud check. incoming_transfer.received carries numCtrlStr, the 20-character STR control number, only when the rail sent one in that format. incoming_transfer.credited, incoming_transfer.recorded and incoming_transfer.manual_review carry previousStatus, the status that the incoming TED left. incoming_return.returned and incoming_return.failed carry previousStatus REQUESTED, the status of the return.