> ## 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 o catálogo do provedor

> Retorna o esquema que você precisa preencher para criar uma conexão para um determinado provedor.

Retorna o esquema que você precisa preencher para criar uma conexão para um determinado provedor: quais meios de pagamento o provedor suporta e a lista recursiva de parâmetros (credenciais, chaves de ativação, opções) que o provedor exige.

Este é o endpoint de descoberta: chame-o primeiro para saber o que um provedor espera e, em seguida, use a resposta dele como entrada para [Criar uma conexão](https://docs.y.uno/pt-br/reference/organizations/connections/create-connection.md).

> [!NOTE]
>
> Este endpoint tem escopo de provedor, não de conexão. Ele retorna um esquema, não as suas conexões existentes.

### Parâmetros de caminho

**provider\_id** `string` *required*

Identificador do provedor na Yuno (`STRIPE`, `ADYEN`, `CYBERSOURCE`, …). Diferencia maiúsculas de minúsculas, UPPER\_SNAKE\_CASE.

### Resposta

**payment\_method\_type** `string[]`

Os enums de meio de pagamento da Yuno que este provedor suporta. Passe qualquer um desses valores em `payment_methods[]` em [Criar uma conexão](https://docs.y.uno/pt-br/reference/organizations/connections/create-connection.md).

**params** `object[]`

Esquema recursivo de parâmetros.

**item**

**param\_id** `string`

Identificador a ser repetido em `POST /v1/connections.params[].param_id`. Mantenha as maiúsculas e minúsculas **exatamente como estão**.

**field\_type** `enum`

Um de `string`, `boolean`, `array`, `number`.

**description** `string | object`

Rótulo de exibição. Pode ser uma string simples ou um objeto de localização `{ "EN": "...", "ES": "...", "PT": "..." }`.

**placeholder** `string | object`

Texto de placeholder opcional. Mesmas regras de formato de `description`.

**tooltip** `string | null`

Texto de ajuda opcional.

**editable\_field** `boolean`

Se `false`, o valor é fixo/somente leitura.

**secret** `boolean`

Se `true`, o valor é sensível: armazenado criptografado e exibido como `"***"` nas leituras seguintes.

**allow\_custom** `boolean`

Só tem efeito quando `options[]` está presente. Se `true`, você pode enviar um valor livre além das opções do catálogo (semântica de combobox).

**optional** `boolean`

Se `false`, você deve fornecer um valor.

**is\_hidden** `boolean`

Se `true`, o parâmetro existe, mas não deve ser exibido aos usuários finais.

**sdk\_required** `boolean`

Se `true`, o valor também é obrigatório ao configurar o Yuno SDK no lado do cliente.

**options** `string[] | object[]`

Presente quando o campo é um enum restrito. Com `field_type = "string"` → seleção única. Com `field_type = "array"` → seleção múltipla. Strings simples ou objetos `{value, params}` (estes quando uma opção traz seus próprios parâmetros aninhados).

**params** `object[]`

Filhos aninhados, ativados quando o valor deste nó é `true` (pai booleano) ou corresponde a uma das `options` (pai string/array).

```bash cURL theme={"theme":{"light":"github-dark","dark":"github-dark-dimmed"}}
curl -X GET 'https://api.y.uno/v1/connections/catalog/STRIPE' \
  -H 'public-api-key: <YOUR_PUBLIC_KEY>' \
  -H 'private-secret-key: <YOUR_SECRET_KEY>'
```

```json 200 OK — Stripe theme={"theme":{"light":"github-dark","dark":"github-dark-dimmed"}}
{
  "payment_method_type": [
    "CARD",
    "GOOGLE_PAY",
    "APPLE_PAY",
    "ACH",
    "KLARNA_PAY_NOW",
    "KLARNA_PAY_LATER",
    "IDEAL",
    "GIROPAY",
    "BANCONTACT",
    "SEPA_DEBIT"
  ],
  "params": [
    {
      "param_id": "API_KEY",
      "field_type": "string",
      "secret": true,
      "description": "Stripe Secret API Key",
      "editable_field": true,
      "optional": false
    },
    {
      "param_id": "PUBLISHABLE_KEY",
      "field_type": "string",
      "description": "Stripe Publishable Key",
      "editable_field": true,
      "optional": false
    },
    {
      "param_id": "INTEGRATION_TYPE",
      "field_type": "string",
      "description": "Stripe integration variant",
      "editable_field": true,
      "optional": false,
      "options": [
        "PAYMENT_INTENTS",
        "CHARGES",
        "CONNECT_DESTINATION"
      ]
    },
    {
      "param_id": "3DS_ENABLED",
      "field_type": "boolean",
      "description": "Enable 3DS validation flow",
      "editable_field": true,
      "optional": true,
      "params": [
        {
          "param_id": "ORIGIN_URL",
          "field_type": "string",
          "description": "Your checkout origin URL",
          "editable_field": true,
          "optional": true
        }
      ]
    }
  ]
}
```

```json 404 Not Found theme={"theme":{"light":"github-dark","dark":"github-dark-dimmed"}}
{
  "type": "not_found",
  "code": "PROVIDER_NOT_FOUND",
  "message": "Provider 'NOT_A_PROVIDER' is not in the Yuno provider catalog",
  "details": { "provider_id": "NOT_A_PROVIDER" }
}
```

```json 403 Forbidden theme={"theme":{"light":"github-dark","dark":"github-dark-dimmed"}}
{
  "type": "auth_error",
  "code": "INSUFFICIENT_SCOPE",
  "message": "API key is missing required scope 'connections:read'",
  "details": { "required_scope": "connections:read" }
}
```

### Como ler um nó

| O que você vê | O que significa |
| - | - |
| `field_type: "string"`, sem `options[]` | Entrada de texto livre. |
| `field_type: "string"`, `secret: true` | Senha / chave de API, somente escrita. Retornado como `"***"` em `GET`. |
| `field_type: "string"`, `options[]` presente | Enum de escolha única. O valor que você envia deve ser um de `options[]`. |
| `field_type: "string"`, `options[]` presente, `allow_custom: true` | Combobox. Envie um de `options[]` **ou** um valor livre. |
| `field_type: "boolean"` | Chave de ativação. Defini-la como `true` ativa os `params[]` aninhados e torna obrigatórios os filhos com `optional: false`. |
| `field_type: "array"`, `options[]` presente | Seleção múltipla. Envie um array JSON cujos elementos sejam um subconjunto de `options[]`. |
| `field_type: "array"`, sem `options[]` | Lista livre de strings. |

### Erros

| HTTP | `code` | Quando |
| - | - | - |
| `404` | `PROVIDER_NOT_FOUND` | O `provider_id` não está no catálogo de provedores da Yuno. |
| `403` | `INSUFFICIENT_SCOPE` | Sua chave de API não tem o escopo `connections:read`. |


## OpenAPI

````yaml openapi/pt-br/organizations/connections/get-provider-catalog.json GET /connections/catalog/{provider_id}
openapi: 3.1.0
info:
  title: Connections API - Get Provider Catalog
  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:
  /connections/catalog/{provider_id}:
    get:
      summary: Consultar o catálogo do provedor
      description: >-
        Retorna o schema que você precisa preencher para criar uma conexão para
        um determinado provedor.
      operationId: get-provider-catalog
      parameters:
        - name: provider_id
          in: path
          required: true
          schema:
            type: string
            example: ADYEN
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  payment_method_type:
                    type: array
                    items:
                      type: string
                    example:
                      - CARD
                      - GOOGLE_PAY
                      - APPLE_PAY
                      - ACH
                      - KLARNA_PAY_NOW
                      - KLARNA_PAY_LATER
                      - IDEAL
                      - GIROPAY
                      - BANCONTACT
                      - SEPA_DEBIT
                  params:
                    type: array
                    items:
                      type: object
                      properties:
                        param_id:
                          type: string
                          example: API_KEY
                        field_type:
                          type: string
                          example: string
                          enum:
                            - string
                            - boolean
                            - array
                            - number
                        description:
                          type: string
                          example: Stripe Secret API Key
                        editable_field:
                          type: boolean
                          example: true
                        optional:
                          type: boolean
                          example: false
                        secret:
                          type: boolean
                          example: true
        '403':
          description: Proibido
          content:
            application/json:
              schema:
                type: object
                properties:
                  type:
                    type: string
                    example: auth_error
                  code:
                    type: string
                    example: INSUFFICIENT_SCOPE
                  message:
                    type: string
                    example: API key is missing required scope 'connections:read'
        '404':
          description: Não encontrado
          content:
            application/json:
              schema:
                type: object
                properties:
                  type:
                    type: string
                    example: not_found
                  code:
                    type: string
                    example: PROVIDER_NOT_FOUND
                  message:
                    type: string
                    example: >-
                      Provider 'NOT_A_PROVIDER' is not in the Yuno provider
                      catalog
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.