> ## Documentation Index
> Fetch the complete documentation index at: https://developers.uvvipay.com.br/llms.txt
> Use this file to discover all available pages before exploring further.

# Consultar cliente

> Consulta um cliente pelo id interno.

Retorna um cliente da organizacao autenticada. Nao expoe documento, telefone nem dados de cartao.

Erros comuns: `400` (UUID invalido), `401`/`403` (auth/produto), `404` (nao encontrado ou outra organizacao), `429` (20 req/min).


## OpenAPI

````yaml GET /v1/customers/{customerId}
openapi: 3.0.0
info:
  title: UvviPay Public API
  description: >-
    Endpoints públicos da plataforma UvviPay para integração de subcontas
    (submerchants).
  version: 1.0.0
  contact: {}
servers:
  - url: https://api.uvvipay.com.br
    description: Produção
  - url: https://api-staging.uvvipay.com.br
    description: Staging
security:
  - client-id: []
    client-secret: []
tags: []
paths:
  /v1/customers/{customerId}:
    get:
      tags:
        - Clientes
      summary: Consultar cliente
      description: >-
        Retorna um cliente pelo id interno, restrito à organização das
        credenciais.
      operationId: getRecurrencyCustomer
      parameters:
        - name: client-id
          in: header
          description: ID público da credencial do merchant
          required: true
          schema:
            type: string
        - name: client-secret
          in: header
          description: Secret da credencial do merchant
          required: true
          schema:
            type: string
        - name: customerId
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Cliente
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RecurrencyCustomerDto'
        '400':
          description: UUID de path inválido
        '401':
          description: Credenciais inválidas ou ausentes
        '403':
          description: Produto `recurrency` não habilitado para o merchant
        '404':
          description: Cliente não encontrado
        '429':
          description: Limite de requisições excedido (20 requests per 60 seconds)
components:
  schemas:
    RecurrencyCustomerDto:
      type: object
      properties:
        id:
          type: string
          format: uuid
        external_customer_id:
          type: string
          nullable: true
        name:
          type: string
        email:
          type: string
          format: email
  securitySchemes:
    client-id:
      type: apiKey
      in: header
      name: client-id
    client-secret:
      type: apiKey
      in: header
      name: client-secret

````