Mandate.spent
Emitted each time a Mandate is spent.
Mandate.spend emits Mandate.spent when it completes on a Mandate.
| Property | Value |
|---|---|
| Emitted by | Mandate.spend |
| Noun | Mandate |
| Moves | Card active to closed when this Card is single-use and paid its Task |
| Wakes | Approve spend |
Payload
Each delivery is an Event record. data holds what Mandate.spend returns.
| Field | Type | Required | Description |
|---|---|---|---|
name | string | required | Mandate.spent. |
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 card Transaction. |
data.mandate | Mandate | required | The Mandate with its remaining Limit. |
data.mandate.expiresAt | datetime | required | When it lapses. |
data.mandate.limit | Limit | The Limit that bounds it. | |
data.mandate.verb | string | The Verb it covers, as Noun.verb. | |
data.mandate.topics | string[] | What it may act on; an Action outside them becomes an Approval. | |
data.mandate.channels | list of Channel | The Channels it may send through. | |
data.mandate.status | string | required | One of active, paused, revoked or expired. |
Example
{
"$id": "https: //api.sb/ tutorloop.com/ events/ event_1",
"$type": "Event",
"name": "Mandate.spent",
"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"
}
},
"mandate": {
"$id": "https: //api.sb/ tutorloop.com/ mandates/ mandate_1",
"$type": "Mandate",
"expiresAt": "2026-10-22T12: 00: 00Z",
"limit": "limit_1",
"verb": "Example verb",
"topics": [
"Example topics"
],
"channels": [
"channel_1"
],
"status": "active"
}
},
"seq": 1
}