get:
  tags:
    - Service Proofs
  summary: Get service proof request details
  description: |
    Retrieves details of a service proof request.
    These are created when a buyer requests a refund and Digistore24 needs proof that the service was provided,
    especially for sales in Germany where the right to refund can be voided.
  security:
    - ApiKeyAuth: []
  parameters:
    - name: service_proof_id
      in: query
      required: true
      description: Numeric ID of the service proof request
      schema:
        type: integer
  responses:
    '200':
      description: Successful operation
      content:
        application/json:
          schema:
            type: object
            properties:
              service_proof_request:
                type: object
                properties:
                  id:
                    type: integer
                    description: Service proof request ID
                  purchase_id:
                    type: string
                    description: Associated purchase ID
                  status:
                    type: string
                    description: Current status of the service proof request
                  created_at:
                    type: string
                    format: date-time
                    description: When the request was created
                  due_date:
                    type: string
                    format: date
                    description: When the proof needs to be provided by
                  notes:
                    type: string
                    description: Additional notes about the request
    '401':
      description: Unauthorized - Invalid or missing API key
    '403':
      description: Forbidden - Insufficient access rights
    '404':
      description: Not found - Service proof request with specified ID does not exist
