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

> ## Agent Instructions
> Test in the sandbox first: base URL https://api-sandbox.y.uno (Test Mode in the Dashboard). Production is https://api.y.uno (Live Mode).
> Every API request needs the public-api-key and private-secret-key headers. Get them in the Dashboard at https://dashboard.y.uno/developers (Developers > Credentials); sandbox and production keys are different.
> Send an X-Idempotency-Key (a UUID) when creating payments, refunds and cancels, so retries do not create duplicates.
> Start with the Quickstart (https://docs.y.uno/docs/quickstart.md) and the agent guide (https://docs.y.uno/agents.md). To search these docs from a coding agent, connect the docs MCP server at https://docs.y.uno/mcp.

# Consultar notificação de pré-débito por ID

> Consulte uma notificação de pré-débito criada com Criar notificação de pré-débito, pelo ID dela na Yuno.

Consulta uma notificação de pré-débito criada com [Criar notificação de pré-débito](https://docs.y.uno/pt-br/reference/pre-debit-notifications/create-pre-debit-notification.md). As notificações são restritas à sua conta.


## OpenAPI

````yaml openapi/pt-br/pre-debit-notifications/retrieve-pre-debit-notification-by-id.json GET /predebit-notify/{pre_debit_notification_id}
openapi: 3.1.0
info:
  title: pre-debit-notifications
  version: 1.0.0
servers:
  - url: https://api-sandbox.y.uno/v1
    description: Sandbox
  - url: https://api.y.uno/v1
    description: Production (US)
security:
  - sec0: []
    sec1: []
paths:
  /predebit-notify/{pre_debit_notification_id}:
    get:
      summary: Consultar notificação de pré-débito por ID
      description: Consulta uma notificação de pré-débito pelo seu ID na Yuno.
      operationId: retrieve-pre-debit-notification-by-id
      parameters:
        - name: X-Account-Code
          in: header
          required: true
          description: UUID da conta à qual a notificação pertence.
          schema:
            type: string
            format: uuid
        - name: pre_debit_notification_id
          in: path
          required: true
          description: ID retornado pelo endpoint Criar notificação de pré-débito.
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: A notificação de pré-débito.
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    format: uuid
                    description: >-
                      Identificador único da notificação de pré-débito. Faça
                      referência a ele no débito recorrente como
                      payment_method.detail.bank_transfer.pre_debit_notification_id.
                  account_id:
                    type: string
                    format: uuid
                    description: O ID da sua conta na Yuno.
                  status:
                    type: string
                    enum:
                      - SENT
                      - REJECTED
                      - ERROR
                    description: >-
                      SENT: o provedor aceitou e entregou a notificação.
                      REJECTED: o provedor a recusou. ERROR: não foi possível
                      repassar a notificação.
                  merchant_reference:
                    type: string
                    description: >-
                      Sua referência única para esta notificação (idempotente
                      por conta).
                  description:
                    type: string
                    description: Texto exibido ao cliente na notificação.
                  amount:
                    type: object
                    required:
                      - currency
                      - value
                    properties:
                      currency:
                        type: string
                        description: >-
                          Código de moeda ISO 4217 do próximo débito (para UPI
                          Autopay, INR).
                        example: INR
                      value:
                        type: string
                        description: Valor do próximo débito.
                        example: '499.00'
                  billing_date:
                    type: string
                    format: date
                    description: Data do próximo débito (YYYY-MM-DD).
                  origin_payment_id:
                    type: string
                    format: uuid
                    description: >-
                      O pagamento de criação do mandato usado para derivar o
                      provedor e a conexão, quando informado.
                  provider_data:
                    type: object
                    properties:
                      id:
                        type: string
                        description: >-
                          Provedor que processou a notificação (por exemplo,
                          EBANX).
                      connection_id:
                        type: string
                        format: uuid
                        description: Conexão usada para enviar a notificação.
                      provider_transaction_id:
                        type: string
                        description: >-
                          Referência da transação no provedor, quando
                          disponível.
                      provider_notification_id:
                        type: string
                        description: >-
                          Referência no provedor da notificação entregue. A Yuno
                          a resolve e a encaminha automaticamente ao provedor
                          quando o débito recorrente faz referência a esta
                          notificação.
                      raw_request:
                        type: object
                        description: >-
                          Requisição ao provedor, ofuscada. Retornada apenas
                          para organizações na allowlist.
                      raw_response:
                        type: object
                        description: >-
                          Resposta do provedor, ofuscada. Retornada apenas para
                          organizações na allowlist.
                  created_at:
                    type: string
                    format: date-time
                  updated_at:
                    type: string
                    format: date-time
        '404':
          description: Não existe nenhuma notificação com este ID para a sua conta.
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                    example: PRE_DEBIT_NOTIFICATION_NOT_FOUND
                  messages:
                    type: array
                    items:
                      type: string
                      example: Pre-debit notification not found.
              example:
                code: PRE_DEBIT_NOTIFICATION_NOT_FOUND
                messages:
                  - Pre-debit notification not found.
components:
  securitySchemes:
    sec0:
      type: apiKey
      in: header
      name: public-api-key
      x-default: <Your public-api-key>
    sec1:
      type: apiKey
      in: header
      name: private-secret-key
      x-default: <Your private-secret-key>

````

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