Skip to content

Transaction.categorized

Emitted each time a Transaction is categorized.

Transaction.categorize emits Transaction.categorized when it completes on a Transaction.

PropertyValue
Emitted byTransaction.categorize
NounTransaction
WakesNone.

Payload

Each delivery is an Event record. data holds what Transaction.categorize returns.

FieldTypeRequiredDescription
namestringrequiredTransaction.categorized.
atdatetimerequiredWhen it happened.
seqintegerIts position in the namespace, one more than the Event before; any seq is a cursor into the history.
datajsonrequiredThe Thing as the Action left it.
data.transactionTransactionrequiredThe coded Transaction.
data.transaction.kindstringrequiredOne of charge, refund, payout, or transfer.
data.transaction.amountmoneyrequiredThe amount moved.
data.transaction.receiptFileThe receipt matched to a card Transaction.
data.transaction.settledAtdatetimeWhen the money became available in a cash Account.
data.accountstringrequiredThe account code it was coded to.
data.confidencenumberrequiredHow sure the code is, from 0 to 1.

Example

JSON
{
  "$id": "https://api.sb/tutorloop.com/events/event_1",
  "$type": "Event",
  "name": "Transaction.categorized",
  "at": "2026-10-22T12:00:00Z",
  "data": {
    "transaction": {
      "$id": "https://api.sb/tutorloop.com/transactions/transaction_1",
      "$type": "Transaction",
      "kind": "charge",
      "amount": {
        "amount": 60,
        "currency": "USD"
      },
      "receipt": "file_1",
      "settledAt": "2026-10-22T12:00:00Z"
    },
    "account": "Example account",
    "confidence": 1
  },
  "seq": 1
}