Tesouro emits the following event types for embedded banking. Every delivery uses the common envelope; each event type below documents theDocumentation Index
Fetch the complete documentation index at: https://docs.tesouro.com/llms.txt
Use this file to discover all available pages before exploring further.
attributes shape and includes an example payload.
LEDGER_TRANSACTION
A monetary transaction posted to the ledger.Attributes
| Field | Type | Description |
|---|---|---|
businessCustomerId | string (UUID) | Tesouro organization id of the business customer this event applies to. |
businessCustomer | string | Display name of the business customer. |
accountNumber | string | Account number associated with the event. |
routingNumber | string | Routing number (ABA). |
eventType | string | Mirrors the envelope eventType. Always "LEDGER_TRANSACTION". |
rawData | object | The original event payload from the upstream banking core, passed through unchanged. |
Example
ALEDGER_TRANSACTION delivery for a $50 ACH incoming credit:
LEDGER_POSTING_EXCEPTION
Posting a transaction raised an exception.Attributes
Same shape as LEDGER_TRANSACTION, with one difference:eventType is always "LEDGER_POSTING_EXCEPTION". rawData carries the upstream exception payload instead of a successful posting.
Example
LEDGER_ACCOUNT_EXCEPTION
A ledger account raised an exception.Attributes
Same shape as LEDGER_TRANSACTION, with two differences:eventType is always "LEDGER_ACCOUNT_EXCEPTION", and routingNumber may be empty. rawData carries the upstream exception payload.
Example
ACCOUNT_STATUS_CHANGED
A ledger account’s status changed (for example, opened, closed, dormant, or charged off).Attributes
Same shape as LEDGER_TRANSACTION, with two differences:eventType is always "ACCOUNT_STATUS_CHANGED", and routingNumber is empty. rawData carries the upstream status-change payload, including the new primary and secondary status values.
Example
ACCOUNT_RESTRICTION_CHANGED
A ledger account’s restrictions changed (for example, an account freeze was added for suspected fraud).Attributes
Same shape as LEDGER_TRANSACTION, witheventType always "ACCOUNT_RESTRICTION_CHANGED". rawData carries the upstream restriction payload, including the action (actnCde is ADD, CHANGE, or DELETE) and the restriction detail.