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

> Retrieve a single authorization by id. Scoped to the authenticated payer.



## OpenAPI

````yaml /pt/openapi/v3-current/indirect-pix.yaml get /v1/recurrences/payer/authorizations/{id}
openapi: 3.1.0
info:
  description: >-
    API for Pix Indirect via BTG. It covers DICT keys and claims; MED infraction
    reports, fraud markers, refund requests, and funds recoveries; DICT
    statistics and reconciliation; Pix transfers, refunds, and schedules; static
    QR codes and QR code decoding; immediate and due-date collections; Pix
    Automático for the payer; transaction reports and TemposTransacoes
    statistics; and inbound and outbound webhook records.
  title: Pix BTG API
  version: 1.12.0
servers:
  - url: https://api.example.com
    description: >-
      Replace the example host with the URL provided during environment
      onboarding.
security:
  - BearerAuth: []
paths:
  /v1/recurrences/payer/authorizations/{id}:
    get:
      tags:
        - Pix Automático
      summary: Get a Pix Automático Authorization
      description: >-
        Retrieve a single authorization by id. Scoped to the authenticated
        payer.
      operationId: recurring-get-authorization
      parameters:
        - description: Authorization ID (UUID format)
          in: path
          name: id
          required: true
          schema:
            description: Authorization ID (UUID format)
            format: uuid
            type: string
        - description: Account ID (UUID format)
          in: header
          name: X-Account-Id
          required: true
          schema:
            description: Account ID (UUID format)
            format: uuid
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthorizationOutput'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LegacyErrorBody'
          description: Bad Request
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LegacyErrorBody'
          description: Internal Server Error
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LegacyErrorBody'
          description: Error
components:
  schemas:
    AuthorizationOutput:
      additionalProperties: false
      properties:
        accountId:
          examples:
            - 019cf6ef-e418-7ced-80c0-7b9816faa798
          type: string
        amount:
          $ref: '#/components/schemas/AuthorizationRequestAmountProfile'
        approvedAt:
          format: date-time
          type: string
        authorizationRequestId:
          examples:
            - 019cf6ef-e418-7ced-80c0-7b9816faa798
          type: string
        cancelReason:
          enum:
            - PAYER
            - FRAUD
            - EXPIRED
            - RECEIVER
          type: string
        cancellationReason:
          examples:
            - Customer reported unauthorized charge
          type: string
        cancellationReasonKind:
          enum:
            - PAYER
            - FRAUD
            - EXPIRED
            - RECEIVER
          examples:
            - FRAUD
          type: string
        cancelledAt:
          format: date-time
          type: string
        cancelledByOperatorId:
          examples:
            - op-9
          type: string
        createdAt:
          format: date-time
          type: string
        destination:
          $ref: '#/components/schemas/AuthorizationRequestDestination'
        expiredAt:
          format: date-time
          type: string
        externalAuthorizationId:
          examples:
            - AUT-2026-04-001
          type: string
        id:
          examples:
            - 019cf6ef-e418-7ced-80c0-7b9816faa798
          type: string
        nextChargeAmount:
          examples:
            - '29.90'
          type: string
        nextChargeAt:
          format: date-time
          type: string
        periodicity:
          $ref: '#/components/schemas/AuthorizationRequestPeriodicity'
        receiverMaxAmount:
          examples:
            - '500.00'
          type: string
        retryPolicy:
          examples:
            - RETRY_3X_7D
          type: string
        status:
          enum:
            - AUTHORIZED
            - CANCELLED
            - EXPIRED
          examples:
            - AUTHORIZED
          type: string
        updatedAt:
          format: date-time
          type: string
      required:
        - id
        - authorizationRequestId
        - accountId
        - externalAuthorizationId
        - destination
        - periodicity
        - amount
        - retryPolicy
        - status
        - approvedAt
        - createdAt
        - updatedAt
      type: object
    LegacyErrorBody:
      additionalProperties: false
      properties:
        fields:
          additionalProperties:
            type: string
          type: object
        headers:
          additionalProperties:
            type: string
          type: object
        message:
          type: string
        paths:
          additionalProperties:
            type: string
          type: object
        queryParams:
          additionalProperties:
            type: string
          type: object
        raw:
          type: string
        code:
          type: string
        title:
          type: string
      required:
        - code
        - title
        - message
      type: object
    AuthorizationRequestAmountProfile:
      additionalProperties: false
      properties:
        fixed:
          examples:
            - '29.90'
          type: string
        max:
          examples:
            - '500.00'
          type: string
        min:
          examples:
            - '10.00'
          type: string
      type: object
    AuthorizationRequestDestination:
      additionalProperties: false
      properties:
        account:
          examples:
            - '123456'
          type: string
        accountType:
          enum:
            - CACC
            - SVGS
            - TRAN
            - OTHR
          examples:
            - CACC
          type: string
        bank:
          examples:
            - '30306294'
          type: string
        branch:
          examples:
            - '0001'
          type: string
        document:
          examples:
            - '11222333000181'
          type: string
        key:
          examples:
            - contato@streaming.co
          type: string
        name:
          examples:
            - Streaming Co
          type: string
        personType:
          enum:
            - NATURAL_PERSON
            - LEGAL_PERSON
          examples:
            - LEGAL_PERSON
          type: string
      type: object
    AuthorizationRequestPeriodicity:
      additionalProperties: false
      properties:
        customDays:
          examples:
            - 30
          format: int64
          type: integer
        type:
          enum:
            - WEEKLY
            - MONTHLY
            - QUARTERLY
            - SEMIANNUAL
            - ANNUAL
            - CUSTOM
          examples:
            - MONTHLY
          type: string
      required:
        - type
      type: object
  securitySchemes:
    BearerAuth:
      bearerFormat: JWT
      description: JWT bearer token issued by the identity provider.
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.