openapi: 3.0.3
info:
  title: Southend School API
  version: 1.0.0
servers:
  - url: /api
paths:
  /login:
    post:
      summary: Obtain Sanctum token
  /students:
    get:
      summary: List students
  /staff:
    get:
      summary: List staff
  /classes:
    get:
      summary: List classes
  /clubs:
    get:
      summary: List clubs
  /events:
    get:
      summary: List scheduled events
  /messages:
    get:
      summary: List sent messages
  /timetable:
    get:
      summary: List timetable slots
  /disciplinary-cases:
    get:
      summary: List disciplinary cases
  /invoices:
    get:
      summary: List invoices
  /receipts:
    get:
      summary: List receipts
  /payments:
    get:
      summary: List payments (supports status, gateway, gateway_status, payment_method filters)
  /payments/{id}:
    get:
      summary: Show payment with gateway fields and allocations
  /analytics/summary:
    get:
      summary: Analytics summary
