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

# Commissions Summary

> Admin: per-affiliate totals by status (powers the payout report).



## OpenAPI

````yaml https://api.vellaro.io/openapi.json get /api/v1/admin/affiliate-commissions/summary
openapi: 3.1.0
info:
  title: Vellaro API
  description: Vellaro 2026 — E-commerce API
  version: 0.1.0
servers:
  - url: https://api.vellaro.io
    description: Produzione
security: []
tags: []
paths:
  /api/v1/admin/affiliate-commissions/summary:
    get:
      tags:
        - admin:affiliates
      summary: Commissions Summary
      description: 'Admin: per-affiliate totals by status (powers the payout report).'
      operationId: commissions_summary_api_v1_admin_affiliate_commissions_summary_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse_list_AffiliateSummaryRow__'
      security:
        - HTTPBearer: []
components:
  schemas:
    ApiResponse_list_AffiliateSummaryRow__:
      properties:
        data:
          anyOf:
            - items:
                $ref: '#/components/schemas/AffiliateSummaryRow'
              type: array
            - type: 'null'
          title: Data
        meta:
          anyOf:
            - $ref: '#/components/schemas/PaginationMeta'
            - type: 'null'
        error:
          anyOf:
            - type: string
            - type: 'null'
          title: Error
        error_code:
          anyOf:
            - type: string
            - type: 'null'
          title: Error Code
      type: object
      title: ApiResponse[list[AffiliateSummaryRow]]
    AffiliateSummaryRow:
      properties:
        affiliate_id:
          type: string
          title: Affiliate Id
        tracking_code:
          type: string
          title: Tracking Code
        totals:
          $ref: '#/components/schemas/CommissionTotals'
      type: object
      required:
        - affiliate_id
        - tracking_code
        - totals
      title: AffiliateSummaryRow
    PaginationMeta:
      properties:
        page:
          type: integer
          title: Page
        page_size:
          type: integer
          title: Page Size
        total:
          type: integer
          title: Total
        total_pages:
          type: integer
          title: Total Pages
      type: object
      required:
        - page
        - page_size
        - total
        - total_pages
      title: PaginationMeta
    CommissionTotals:
      properties:
        pending:
          type: number
          title: Pending
          default: 0
        approved:
          type: number
          title: Approved
          default: 0
        paid:
          type: number
          title: Paid
          default: 0
        reversed:
          type: number
          title: Reversed
          default: 0
        count:
          type: integer
          title: Count
          default: 0
      type: object
      title: CommissionTotals
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````