# Get Dispute Stats

GET /api/v2/projects/{projectId}/dispute-stats

Counts and amounts for the project's disputes: open, won, lost, and the last 30 days and 12 months.

## Request

- projectId: string, path, required — ID of the project.

## Response

- 200: Successful response
  - amountDisputedLast12moCents: integer, required — Amount disputed in the last 12 months, in the smallest currency unit.
  - amountDisputedLast30dCents: integer, required — Amount disputed in the last 30 days, in the smallest currency unit.
  - countLast12mo: integer, required — Disputes opened in the last 12 months.
  - countLast30d: integer, required — Disputes opened in the last 30 days.
  - lost: integer, required — Disputes lost.
  - pending: integer, required — Disputes still open.
  - total: integer, required — Disputes stored for this project.
  - totalAmountDisputedCents: integer, required — Amount disputed across every stored dispute, in the smallest currency unit.
  - won: integer, required — Disputes won.
- 400: Invalid input data
- 401: Authorization not provided
- 403: Insufficient access
- 404: Not found
- 500: Internal server error
