# Account Event

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