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

# Listar destinos

> Obtenha os hosts de terceiros que estão atualmente na allowlist do seu PCI Proxy.

Retorna os destinos registrados para a sua conta. Somente esses hosts podem ser acessados pelo [forward proxy](https://docs.y.uno/pt-br/reference/pci-proxy/invoke-forward-proxy.md). Consulte o [guia de Allowlist de destinos](https://docs.y.uno/pt-br/docs/security-and-compliance/pci-proxy/allowlist.md) para mais detalhes.


## OpenAPI

````yaml openapi/pt-br/pci-proxy/manage-destinations.json GET /pci-proxy/destinations
openapi: 3.1.0
info:
  title: pci-proxy-manage-destinations
  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:
  /pci-proxy/destinations:
    get:
      summary: Listar destinos
      description: >-
        Retorna os destinos registrados na allowlist da sua conta. Somente os
        hosts dessa lista podem ser alcançados pelo [forward
        proxy](/pt-br/reference/pci-proxy/invoke-forward-proxy); uma requisição
        para qualquer outro host é rejeitada com `403 DESTINATION_NOT_ALLOWED`.
      operationId: listPciProxyDestinations
      parameters:
        - in: header
          name: X-Account-Code
          required: false
          schema:
            type: string
            format: uuid
          description: >-
            O `account_id` com que um destino foi registrado. Envie-o para ver
            os destinos com escopo nessa conta, além dos destinos de toda a
            organização (`account_id: null`). Se você omitir o cabeçalho,
            somente os destinos de toda a organização são retornados; os que têm
            escopo de conta não são incluídos.
      responses:
        '200':
          description: Os destinos registrados para a sua conta.
          content:
            application/json:
              schema:
                type: object
                properties:
                  destinations:
                    type: array
                    items:
                      $ref: '#/components/schemas/Destination'
              example:
                destinations:
                  - id: d7e8f9a0-1234-4b5c-8d6e-7f8091a2b3c4
                    hostname: api.example-processor.com
                    status: ENABLED
                    purpose: Direct acquiring — Processor X
                    created_at: '2026-07-09T13:05:36Z'
                    updated_at: '2026-07-09T13:05:36Z'
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  schemas:
    Destination:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: Identificador único do destino. Use-o para remover o destino.
          example: d7e8f9a0-1234-4b5c-8d6e-7f8091a2b3c4
        account_id:
          type: string
          nullable: true
          description: >-
            A conta à qual este destino está restrito, ou `null` quando ele se
            aplica a toda a organização.
          example: null
        hostname:
          type: string
          description: O hostname registrado.
          example: api.example-processor.com
        status:
          type: string
          enum:
            - ENABLED
            - DISABLED
          description: >-
            Indica se o destino está ativo. Somente destinos ENABLED são usados
            pelo caminho de encaminhamento.
          example: ENABLED
        purpose:
          type: string
          description: O rótulo que você informou ao registrar o destino.
          example: Direct acquiring — Processor X
        created_at:
          type: string
          format: date-time
          description: Quando o destino foi registrado.
          example: '2026-07-09T13:05:36Z'
        updated_at:
          type: string
          format: date-time
          description: Quando o destino foi alterado pela última vez.
          example: '2026-07-09T13:05:36Z'
    DestinationError:
      type: object
      properties:
        code:
          type: string
          description: Código de erro legível por máquina.
          enum:
            - NOT_AUTHENTICATED
            - AuthenticationFail
            - INVALID_REQUEST
            - INVALID_HOSTNAME
            - INVALID_ACCOUNT_ID
            - DESTINATION_EXISTS
            - NOT_FOUND
            - INTERNAL_ERROR
        messages:
          type: array
          items:
            type: string
  responses:
    Unauthorized:
      description: Falha na autenticação. Credenciais de API ausentes ou inválidas.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/DestinationError'
          examples:
            Not authenticated:
              value:
                code: NOT_AUTHENTICATED
                messages:
                  - not authenticated
  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.