> ## Documentation Index
> Fetch the complete documentation index at: https://docs.capedigital.co.ke/llms.txt
> Use this file to discover all available pages before exploring further.

# List Commissions

> Finance and CD see all applications. BM / CM see the pool of applications
in their assigned category(ies) — scoped via `sales:category:*` roles, not
limited to their own submissions. Non-oversight users (BSE) are always
clamped to their own applications regardless of what `applicant_id` is passed.



## OpenAPI

````yaml /openapi/payment.yaml get /api/v1/commissions
openapi: 3.1.0
info:
  title: Cape Media - Payment Service
  description: >-
    Invoice requests, invoice uploads, payment tracking, and commission
    management.
  version: 1.0.0
servers:
  - url: https://api.capedigital.co.ke/payment
    description: Production
  - url: http://localhost:8000
    description: Local
security: []
paths:
  /api/v1/commissions:
    get:
      tags:
        - Commissions
      summary: List Commissions
      description: >-
        Finance and CD see all applications. BM / CM see the pool of
        applications

        in their assigned category(ies) — scoped via `sales:category:*` roles,
        not

        limited to their own submissions. Non-oversight users (BSE) are always

        clamped to their own applications regardless of what `applicant_id` is
        passed.
      operationId: list_commissions_api_v1_commissions_get
      parameters:
        - name: status
          in: query
          required: false
          schema:
            anyOf:
              - $ref: '#/components/schemas/CommissionStatus'
              - type: 'null'
            title: Status
        - name: applicant_id
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                format: uuid
              - type: 'null'
            title: Applicant Id
        - name: cursor
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Cursor
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 100
            minimum: 1
            default: 20
            title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    CommissionStatus:
      type: string
      enum:
        - DRAFT
        - PENDING_BM
        - PENDING_CM
        - PENDING_CD
        - PENDING_FINANCE
        - PAID
        - REJECTED
      title: CommissionStatus
      description: >-
        Approval workflow state machine.


        DRAFT ──► PENDING_BM ──► PENDING_CM ──► PENDING_CD ──► PENDING_FINANCE
        ──► PAID
                             │               │               │
                             └──► REJECTED ◄─┘               └──► REJECTED
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````