> ## Documentation Index
> Fetch the complete documentation index at: https://developer.mogl.online/llms.txt
> Use this file to discover all available pages before exploring further.

# List all transactions (Dashboard)

> Returns paginated transaction list. Used by the compliance dashboard with Filter (athlete status) and Date filter controls.



## OpenAPI

````yaml /storage/api-docs/university-api-docs.json get /transactions
openapi: 3.0.0
info:
  title: MOGL University API
  description: "University / Compliance API — managing institution compliance workflows, eligibility checks, athlete disclosures, transactions, analytics, and university-related NIL operations.\r\n *\r\n * ## Authentication\r\n * - **JWT Bearer Token**: Most endpoints require a Bearer token obtained via `/compliance/login`.\r\n *\r\n * ## Base Path\r\n * All endpoints are prefixed with `/api/compliance`."
  version: 1.0.0
servers:
  - url: http://localhost/mogl/mogl-compliance-backend/api/compliance
    description: Local
  - url: https://dev-compliance-api.mogl.online/api/compliance
    description: Dev
  - url: https://staging-compliance-api.mogl.online/api/compliance
    description: Staging
  - url: https://compliance-api.mogl.online/api/compliance
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Authentication
    description: Login, registration, password management
  - name: Transactions
    description: Transaction listing, summary, top athletes/teams, export
  - name: Athletes
    description: Athlete management, job details, exports, contract downloads
  - name: Fans
    description: Fan listing
  - name: Analytics
    description: NIL analytics by sport, payment, athletes, types
  - name: College
    description: College users, settings management
  - name: Athlete Agent Disclosures
    description: Agent disclosure CRUD and document downloads
  - name: Notification Preferences
    description: User notification preference management
  - name: Filters
    description: 'Public filter data: dates, sports, gender, roles'
  - name: Colleges
    description: Public college listing
paths:
  /transactions:
    get:
      tags:
        - Transactions
      summary: List all transactions (Dashboard)
      description: >-
        Returns paginated transaction list. Used by the compliance dashboard
        with Filter (athlete status) and Date filter controls.
      operationId: complianceTransactionsList
      parameters:
        - name: start_date
          in: query
          description: >-
            Start date (YYYY-MM-DD). Date filter presets: **All time** = empty,
            **Last 30 days** = today-30 (default), **Last week** = previous
            Mon-Sun, **This week** = current Mon-Sun, **Custom Range** =
            user-selected date.
          required: false
          schema:
            type: string
            format: date
            example: '2026-02-16'
        - name: end_date
          in: query
          description: End date (YYYY-MM-DD).
          required: false
          schema:
            type: string
            format: date
            example: '2026-03-18'
        - name: q
          in: query
          description: Search query string (athlete name, etc.)
          required: false
          schema:
            type: string
            example: ''
        - name: is_current_athlete
          in: query
          description: >-
            Filter by athlete status: **Y** = Current Athletes, **N** = Former
            Athletes, **A** = All Athletes (default).
          required: false
          schema:
            type: string
            enum:
              - 'Y'
              - 'N'
              - A
            example: 'Y'
        - name: mogl_deals_only
          in: query
          description: Show only MOGL deals (excludes disclosed/third-party jobs).
          required: false
          schema:
            type: boolean
            example: true
        - name: page
          in: query
          description: Page number for pagination.
          required: false
          schema:
            type: integer
            example: 1
        - name: items
          in: query
          description: Number of items per page (default 10).
          required: false
          schema:
            type: integer
            example: 10
        - name: college_id
          in: query
          description: Filter by specific university/college ID.
          required: false
          schema:
            type: integer
      responses:
        '200':
          description: Transaction list
          content:
            application/json:
              schema:
                properties:
                  status:
                    type: boolean
                    example: true
                  message:
                    type: string
                    example: Successfully retrieved transactions.
                  data:
                    properties:
                      total:
                        type: integer
                        example: 150
                      transactions:
                        type: array
                        items:
                          type: object
                    type: object
                type: object
        '400':
          description: Bad Request
        '401':
          description: Unauthenticated
        '500':
          description: Server Error
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      description: >-
        JWT Bearer token authentication. Use the /api/login endpoint to obtain a
        token.
      scheme: bearer
      bearerFormat: JWT

````