---
title: "List Account Violations"
method: GET
path: "/accounts/{accountID}/violations"
tags: ["Violations"]
---

# List Account Violations

`GET /accounts/{accountID}/violations`

Retrives a list of Account Violations by accountID.

## Path parameters

- `accountID` string, required — The user's unique account identifier.

## Response `200`

Retrieving a list of Account Violations by accountID was Successful.

- ViolationDetailsRes
  - `goodFaithViolations` number — The total number of good faith violations.
  - `patternDayTrades` PatternDayTradesObj[] — An array of pattern day trade violations.
    - `id` string, uuid — A unique ID created by DriveWealth to identify a specific instrument.
    - `symbol` string, nullable — The ticker symbol of the Instrument. Debt Instruments and Global Mutual Funds do not have symbols and are referred to buy their `instrumentID` or `ISIN`.
    - `qty` number — The amount of the instrument in shares.
    - `amount` number — The amount of shares being transacted.
    - `side` 'B' | 'S' | 'BUY_OPEN' | 'BUY_CLOSE' | 'SELL_OPEN' | 'SELL_CLOSE' — The side of the order.
    - `createdWhen` string
    - `orderID` string — A unique DriveWealth order identifier created when an order is placed.
    - `orderNo` string — A unique, human-readable DriveWealth order number.
    - `violationSells` ViolationSells[] — An array which orders are in violation.
      - `qty` number — The amount of the instrument in shares.
      - `amount` number — The amount of shares being transacted.
      - `createdWhen` string
      - `orderID` string — A unique DriveWealth order identifier created when an order is placed.
      - `orderNo` string — A unique, human-readable DriveWealth order number.
      - `side` 'B' | 'S' | 'BUY_OPEN' | 'BUY_CLOSE' | 'SELL_OPEN' | 'SELL_CLOSE' — The side of the order.
    - `legacyGoodFaithViolations` number — NEEDS DESCRIPTION
    - `message` string — A description of the violation.
  - `accountEquityBreakdown` AccountEquityBreakdownObj
    - `longMarketValue` number — The current long market value.
    - `debitBalance` number — The current debit balance.
    - `accountEquity` number — The current total account equity (longMarketValue - debitBalance).

---

[API](https://skmtc.net/drivewealth/apis/authentication-apis.md) · [All operations](https://skmtc.net/drivewealth/apis/authentication-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/drivewealth/authentication-apis/revisions/9fced6d0ac41/schema)
