get:
  tags:
    - Payouts
  summary: List payouts
  description: Returns a list of your credit notes as a vendor and affiliate on Digistore24
  operationId: listPayouts
  responses:
    '200':
      description: Successful operation
      content:
        application/json:
          schema:
            type: object
            properties:
              data:
                type: object
                properties:
                  payout_list:
                    type: array
                    items:
                      type: object
                      properties:
                        credit_note_url:
                          type: string
                          example: "https://www.digistor24.com/creditnote/12345/AABBCCDDEEFFGG.pdf"
                        commission_list_url:
                          type: string
                          example: "https://www.digistor24.com/commissions/12345/AABBCCDDEEFFGG.csv"
                        reseller_name:
                          type: string
                          example: "Digistore24 GmbH, Germany"
                        reseller_id:
                          type: integer
                          example: 1
                        id:
                          type: integer
                          example: 12345
                        created_at:
                          type: string
                          format: date-time
                          example: "2019-01-31 07:53:37"
                        processed_at:
                          type: string
                          format: date-time
                          nullable: true
                        vat_rate:
                          type: number
                          format: float
                          example: 0.00
                        vat_regulation:
                          type: string
                          example: "germany_no_vat"
                        currency:
                          type: string
                          example: "EUR"
                        payout_method:
                          type: string
                          example: "paypal"
                        vendor_gross_amount:
                          type: number
                          format: float
                          example: 1190.00
                        vendor_net_amount:
                          type: number
                          format: float
                          example: 1000.00
                        vendor_vat_amount:
                          type: number
                          format: float
                          example: 190.00
                        affiliate_gross_amount:
                          type: number
                          format: float
                          example: 0.00
                        affiliate_net_amount:
                          type: number
                          format: float
                          example: 0.00
                        affiliate_vat_amount:
                          type: number
                          format: float
                          example: 0.00
                        fee_amount:
                          type: number
                          format: float
                          example: 0
                        fee_vat_amount:
                          type: number
                          format: float
                          example: 0
  security:
    - ApiKeyAuth: []
