Agreement.terminated
Emitted each time an Agreement is terminated.
Agreement.terminate emits Agreement.terminated when it completes on an Agreement.
| Property | Value |
|---|---|
| Emitted by | Agreement.terminate |
| Noun | Agreement |
| Moves | Agreement signed to terminated |
| Wakes | None. |
Payload
Each delivery is an Event record. data holds what Agreement.terminate returns, and previous holds the state it left.
| Field | Type | Required | Description |
|---|---|---|---|
name | string | required | Agreement.terminated. |
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.agreement | Agreement | required | The terminated Agreement, kept forever. |
data.agreement.term | text | How long it runs and how it ends. | |
data.agreement.signedAt | datetime | When the last Party signed. | |
data.agreement.terminatedAt | datetime | When it ended under its term; it stays on record. | |
data.agreement.payoutSchedule | string | For a Supplier’s Agreement: how often the released earned balance pays out. | |
data.agreement.clearanceDays | integer | For a Supplier’s Agreement: days an Order’s earnings wait after confirmation before they can pay out. | |
data.agreement.status | string | required | One of draft, signed or terminated. |
data.previous.status | string | required | The status before this Event: signed. |
Example
{
"$id": "https: //api.sb/ quietcopy.com/ events/ event_1",
"$type": "Event",
"name": "Agreement.terminated",
"at": "2026-10-22T12: 00: 00Z",
"data": {
"agreement": {
"$id": "https: //api.sb/ quietcopy.com/ agreements/ agreement_1",
"$type": "Agreement",
"term": "Example term",
"signedAt": "2026-10-22T12: 00: 00Z",
"terminatedAt": "2026-10-22T12: 00: 00Z",
"payoutSchedule": "daily",
"clearanceDays": 1,
"status": "terminated"
},
"previous": {
"status": "signed"
}
},
"seq": 1
}