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

# List Pix Automático Charges by Authorization

> List the charges belonging to one authorization, scoped to the authenticated payer — charges owned by another payer are never returned. Supports page/limit pagination plus status and createdAt date-range filters. Each item carries the sanitized attempts array; the internal debit result code is never exposed.



## OpenAPI

````yaml en/openapi/v3-current/indirect-pix.yaml GET /v1/recurrences/payer/authorizations/{authorizationId}/charges
openapi: 3.0.3
info:
  title: Plugin BR Pix Indirect - Complete API
  description: |
    Complete API for Brazilian Pix instant payment system including
    Pix key dictionary operations, QR code generation/decoding, transactions and
    transaction limits.
  version: 1.7.6
servers:
  - url: https://plugin-pix-indirect.api.lerian.net
security:
  - bearerAuth: []
paths:
  /v1/recurrences/payer/authorizations/{authorizationId}/charges:
    get:
      tags:
        - Pix Automático API
      summary: List Pix Automático Charges by Authorization
      description: >-
        List the charges belonging to one authorization, scoped to the
        authenticated payer — charges owned by another payer are never returned.
        Supports page/limit pagination plus status and createdAt date-range
        filters. Each item carries the sanitized attempts array; the internal
        debit result code is never exposed.
      parameters:
        - $ref: '#/components/parameters/XAccountId'
        - name: authorizationId
          in: path
          description: Authorization ID (UUID format)
          required: true
          schema:
            type: string
          example: 019cf6ef-e418-7ced-80c0-7b9816faa798
        - $ref: '#/components/parameters/Limit'
        - $ref: '#/components/parameters/Page'
        - name: status
          in: query
          description: Filter by status
          schema:
            type: string
            enum:
              - RECEIVED
              - SCHEDULED
              - EXECUTED
              - FAILED
              - CANCELLED
        - name: start_date
          in: query
          description: ISO 8601 UTC lower bound on createdAt
          schema:
            format: date-time
            type: string
        - name: end_date
          in: query
          description: ISO 8601 UTC upper bound on createdAt
          schema:
            format: date-time
            type: string
        - $ref: '#/components/parameters/SortOrder'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListChargesByAuthorizationOutput'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorFormat'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorFormat'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorFormat'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorFormat'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorFormat'
      security:
        - bearerAuth: []
components:
  parameters:
    XAccountId:
      name: X-Account-Id
      in: header
      description: Unique identifier of the Midaz Ledger Account (UUID format).
      required: true
      example: 019c96a0-0a98-7287-9a31-786e0809c769
      schema:
        type: string
    Limit:
      name: limit
      in: query
      description: Maximum number of items per page.
      required: false
      example: 10
      schema:
        type: integer
        minimum: 1
        maximum: 100
        default: 10
    Page:
      name: page
      in: query
      description: Page number for pagination.
      required: false
      example: 1
      schema:
        type: integer
        minimum: 1
        default: 1
    SortOrder:
      name: sort_order
      in: query
      description: 'Sort direction: asc or desc.'
      required: false
      example: asc
      schema:
        type: string
        enum:
          - asc
          - desc
        default: asc
  schemas:
    ListChargesByAuthorizationOutput:
      properties:
        items:
          items:
            $ref: '#/components/schemas/ChargeOutput'
          type: array
        limit:
          type: integer
          example: 10
        page:
          type: integer
          example: 1
        total:
          type: integer
          example: 42
      type: object
    ErrorFormat:
      type: object
      description: The response message error.
      required:
        - code
        - title
        - message
      properties:
        code:
          type: string
          description: A unique, stable identifier for the error.
        title:
          type: string
          description: A brief summary of the issue.
        message:
          type: string
          description: Detailed guidance for resolving the error.
    ChargeOutput:
      properties:
        accountId:
          example: 019cf6ef-e418-7ced-80c0-7b9816faa798
          type: string
        amount:
          example: '29.90'
          type: string
        attemptCount:
          type: integer
          example: 1
        attempts:
          items:
            $ref: '#/components/schemas/ChargeAttemptOutput'
          type: array
        authorizationId:
          example: 019cf6ef-e418-7ced-80c0-7b9816faa798
          type: string
        authorizationRequestId:
          example: 019cf6ef-e418-7ced-80c0-7b9816faa798
          type: string
        cancelledAt:
          format: date-time
          type: string
        createdAt:
          format: date-time
          type: string
        currentDayIndex:
          type: integer
          example: 0
        currentScheduleId:
          example: 019cf6ef-e418-7ced-80c0-7b9816faa798
          type: string
        dueDate:
          example: '2026-04-25'
          format: date
          type: string
        executedAt:
          format: date-time
          type: string
        externalChargeId:
          example: 90d0b9e1551447f695985409bf9b7fb5
          type: string
        failedAt:
          format: date-time
          type: string
        failureCode:
          description: >-
            FailureCode is the privacy-preserving generic code reported to the

            receiver for the charge's current outcome (e.g. CHARGE_REJECTED,

            OVER_LIMIT, ACCEPTED, DEBIT_FAILED). It is the ONLY code surfaced on
            the

            read API and outbound payload — the internal financial reason is
            never

            carried here (T-33 privacy boundary, rev. 10 rule #6).
          example: CHARGE_REJECTED
          type: string
        id:
          example: 019cf6ef-e418-7ced-80c0-7b9816faa798
          type: string
        journey:
          enum:
            - J1
            - J2
            - J3
            - J4
          example: J4
          type: string
        maxAttempts:
          example: 4
          type: integer
        recurrenceId:
          example: 019cf6ef-e418-7ced-80c0-7b9816faa798
          type: string
        status:
          enum:
            - RECEIVED
            - SCHEDULED
            - EXECUTED
            - FAILED
            - CANCELLED
          example: SCHEDULED
          type: string
        updatedAt:
          format: date-time
          type: string
      type: object
    ChargeAttemptOutput:
      properties:
        attemptedAt:
          description: >-
            AttemptedAt is the attempt's outcome-observation instant — the
            canonical

            attempt instant (glossary §1), ISO 8601 UTC. Omitted while the
            attempt is

            still open (no terminal outcome observed yet). Distinct from
            ScheduledFor,

            the planned-fire instant.
          format: date-time
          type: string
        dayIndex:
          type: integer
          example: 0
        endToEndId:
          description: >-
            EndToEndID is the cashout end-to-end id minted for this attempt,
            used to

            reconcile settlement. Omitted for a legacy attempt that has none.
          example: E30306294202606241200abcdef00001
          type: string
        failureCode:
          description: >-
            FailureCode is the privacy-preserving code already reported to the

            receiver for this attempt (e.g. DEBIT_FAILED). Empty when nothing
            has

            been reported yet. The internal financial reason is never carried
            here.
          example: DEBIT_FAILED
          type: string
        failureMessage:
          description: >-
            FailureMessage is a coarse, channel-safe description of the outcome.
            It

            never reveals the internal result code.
          example: The debit attempt could not be completed.
          type: string
        outcome:
          enum:
            - EXECUTED
            - FAILED
            - CANCELLED
          example: EXECUTED
          type: string
        scheduleId:
          example: 019cf6ef-e418-7ced-80c0-7b9816faa798
          type: string
        scheduledFor:
          example: '2026-04-24T03:00:00Z'
          format: date-time
          type: string
      type: object
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````