> For the complete documentation index, see [llms.txt](https://sway-technologies.gitbook.io/sway-charts-api-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sway-technologies.gitbook.io/sway-charts-api-documentation/rest-api-specification/cash-transaction/account-event.md).

# Account Event

| Field                  | Value                                                       | Type                                                                                                                          |
| ---------------------- | ----------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
| **account**            | Unique code of the account                                  | [Account code](/sway-charts-api-documentation/rest-api-specification/getting-started/data-types-and-formats.md), **required** |
| **eventType**          | One of the following values: `MARGIN_CALL` or `LIQUIDATION` | String, **required**                                                                                                          |
| **riskLevelThreshold** | Risk level threshold in fractional %                        | [Number](/sway-charts-api-documentation/rest-api-specification/getting-started/data-types-and-formats.md), **required**       |
| **actualRiskLevel**    | Actual risk level in fractional %                           | [Number](/sway-charts-api-documentation/rest-api-specification/getting-started/data-types-and-formats.md), **required**       |
