Skip to content

Transaction.settled

The money in a Transaction became available in a cash Account.

PropertyValue
Raised byNo Verb: the rail raises it
NounTransaction
WakesNone.

Payload

Each delivery is an Event record. data holds the Transaction as it stands.

FieldTypeRequiredDescription
namestringrequiredTransaction.settled.
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 Transaction as the change left it.
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.accountAccountrequiredThe cash Account the money is in.
data.availableAtdatetimerequiredWhen the money became available.

Example

JSON
{
  "$id": "https://api.sb/leaseline.app/events/evt_niNfr87NzT",
  "$type": "Event",
  "name": "Transaction.settled",
  "at": "2026-10-22T12:00:00Z",
  "data": {
    "transaction": {
      "$id": "https://api.sb/leaseline.app/transactions/txn_XoxtZe3CQI",
      "$type": "Transaction",
      "kind": "charge",
      "amount": {
        "amount": 29,
        "currency": "USD"
      },
      "receipt": "file_V1AuhyCTsH",
      "settledAt": "2026-10-22T12:00:00Z"
    },
    "account": {
      "$id": "https://api.sb/leaseline.app/accounts/acct_nV4f0K7dTw",
      "$type": "Account",
      "class": "cash"
    },
    "availableAt": "2026-10-22T12:00:00Z"
  },
  "seq": 1348
}