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

# Get partner commission summary



## OpenAPI

````yaml https://api-partner.houdiniswap.com/v2/openapi.json get /commissions/summary
openapi: 3.0.0
info:
  title: houdiniswap-backend
  version: 2.1.1
  description: Houdiniswap Backend
  license:
    name: ISC
  contact: {}
servers:
  - url: https://api-partner.houdiniswap.com/v2
security: []
paths:
  /commissions/summary:
    get:
      tags:
        - Commissions
      summary: Get partner commission summary
      operationId: GetCommissionSummary
      parameters:
        - description: >-
            Optional YYYY-MM filter. When provided,
            totalEarnings/pendingCommissions/processedCommissions/commissionCount

            are scoped to that month. thisMonthEarnings and lastMonthEarnings
            always reflect the current and previous calendar months.
          in: query
          name: month
          required: false
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommissionSummaryResponse'
        '403':
          description: Access Denied
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: Validation Failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationError'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - apiKey: []
components:
  schemas:
    CommissionSummaryResponse:
      properties:
        totalEarnings:
          type: number
          format: double
        pendingCommissions:
          type: number
          format: double
        processedCommissions:
          type: number
          format: double
        thisMonthEarnings:
          type: number
          format: double
        lastMonthEarnings:
          type: number
          format: double
        commissionCount:
          type: number
          format: double
      required:
        - totalEarnings
        - pendingCommissions
        - processedCommissions
        - thisMonthEarnings
        - lastMonthEarnings
        - commissionCount
      type: object
      additionalProperties: false
    ErrorResponse:
      properties:
        message:
          type: string
        code:
          type: string
        requestId:
          type: string
      required:
        - message
        - code
      type: object
      additionalProperties: false
    ValidationError:
      properties:
        message:
          type: string
        code:
          type: string
        requestId:
          type: string
        fields:
          $ref: '#/components/schemas/FieldErrors'
      required:
        - message
        - code
        - fields
      type: object
      additionalProperties: false
    FieldErrors:
      properties: {}
      type: object
      additionalProperties:
        properties:
          value: {}
          message:
            type: string
        required:
          - message
        type: object
  securitySchemes:
    apiKey:
      type: apiKey
      name: Authorization
      in: header

````