Transaction.categorized
Emitted each time a Transaction is categorized.
Transaction.categorize emits Transaction.categorized when it completes on a Transaction.
| Property | Value |
|---|---|
| Emitted by | Transaction.categorize |
| Noun | Transaction |
| Wakes | None. |
Payload
Each delivery is an Event record. data holds what Transaction.categorize returns.
| Field | Type | Required | Description |
|---|---|---|---|
name | string | required | Transaction.categorized. |
at | datetime | required | When it happened. |
seq | integer | Its position in the namespace, one more than the Event before; any seq is a cursor into the history. | |
data | json | required | The Thing as the Action left it. |
data.transaction | Transaction | required | The coded Transaction. |
data.transaction.kind | string | required | One of charge, refund, payout, or transfer. |
data.transaction.amount | money | required | The amount moved. |
data.transaction.receipt | File | The receipt matched to a card Transaction. | |
data.transaction.settledAt | datetime | When the money became available in a cash Account. | |
data.account | string | required | The account code it was coded to. |
data.confidence | number | required | How sure the code is, from 0 to 1. |
Example
{
"$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
}