> ## 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.

# Get a Pix Automático Charge

> Retrieve a single charge by id. Scoped to the authenticated payer — a charge owned by another payer is reported as not-found. The response 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/charges/{id}
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/charges/{id}:
    get:
      tags:
        - Pix Automático API
      summary: Get a Pix Automático Charge
      description: >-
        Retrieve a single charge by id. Scoped to the authenticated payer — a
        charge owned by another payer is reported as not-found. The response
        carries the sanitized attempts array; the internal debit result code is
        never exposed.
      parameters:
        - $ref: '#/components/parameters/XAccountId'
        - name: id
          in: path
          description: Charge ID (UUID format)
          required: true
          schema:
            type: string
          example: 019cf6ef-e418-7ced-80c0-7b9816faa798
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChargeOutput'
        '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'
      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
  schemas:
    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
    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.
    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

````