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

# Gerar Link de Verificação Facial para Cliente

> Generate a face verification link for a customer.

Gere um link de verificação de vivacidade facial do Sumsub para um cliente individual. Este endpoint faz parte do modelo de onboarding KYC **Sphere-Managed**, onde o SpherePay hospeda a experiência de verificação de vivacidade. Após chamar este endpoint, redirecione seu cliente para a `url` retornada para que ele possa concluir a verificação de vivacidade facial no navegador. O link expira no momento indicado por `expiresAt` — gere um novo se tiver expirado antes que o cliente conclua a verificação.

> [!NOTE]
>
> Este endpoint é necessário apenas no modelo de onboarding Sphere-Managed. Se você estiver usando o modelo Platform-Managed, envie um documento de relatório de vivacidade diretamente pelo endpoint de [envio de documento](https://docs.spherepay.co/pt-BR/api-reference/document/post.md).


## OpenAPI

````yaml openapi/spherepay.yaml POST /v2/customer/{id}/face-verification-link
openapi: 3.0.0
info:
  contact: {}
  description: The Sphere REST API for payments, transfers, and accounts.
  title: Sphere API
  version: '2'
servers:
  - description: Production
    url: https://api.spherepay.co
security:
  - bearer: []
tags: []
paths:
  /v2/customer/{id}/face-verification-link:
    post:
      summary: Face Verification Link
      description: Generate a face verification link for a customer.
      operationId: postV2CustomerByIdFaceVerificationLink
      parameters:
        - description: Customer ID
          in: path
          name: id
          required: true
          schema:
            example: customer_f31121c389624d3697cbf3ea8830b7a4
            type: string
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenerateFaceVerificationLinkResponseDto'
          description: ''
        '400':
          content:
            application/json:
              examples:
                Bad Request:
                  summary: Bad Request
                  value:
                    code: address/invalid
                    correlationId: 28c61e885c6e5eaa78c1a2183a9b883c
                    detail: Invalid request parameters
                    status: 400
              schema:
                $ref: '#/components/schemas/ProblemDetailsDto'
          description: Bad Request
        '404':
          content:
            application/json:
              examples:
                Not Found:
                  summary: Not Found
                  value:
                    code: resource/not-found
                    correlationId: 28c61e885c6e5eaa78c1a2183a9b883c
                    detail: Resource not found
                    status: 404
              schema:
                $ref: '#/components/schemas/ProblemDetailsDto'
          description: Not Found
        '409':
          content:
            application/json:
              examples:
                Customer not available on this route:
                  summary: Customer not available on this route
                  value:
                    code: customer/onboarding-v3-managed
                    correlationId: 28c61e885c6e5eaa78c1a2183a9b883c
                    detail: This customer cannot be used with this route.
                    status: 409
              schema:
                $ref: '#/components/schemas/ProblemDetailsDto'
          description: Conflict - the customer cannot be used with this route
        '422':
          content:
            application/json:
              examples:
                Validation Error:
                  summary: Validation Error
                  value:
                    code: validation/failed
                    correlationId: 28c61e885c6e5eaa78c1a2183a9b883c
                    detail: Validation failed
                    errors:
                      - detail: Invalid email format
                        pointer: /email
                      - detail: Name is required
                        pointer: /name
                    status: 422
              schema:
                $ref: '#/components/schemas/ProblemDetailsDto'
          description: Unprocessable Entity - Validation Error
components:
  schemas:
    GenerateFaceVerificationLinkResponseDto:
      properties:
        expiresAt:
          description: >-
            ISO 8601 formatted date and time of the face verification URL
            expiration
          example: '2026-03-09T20:46:31.305Z'
          type: string
        url:
          description: Hosted face verification URL
          example: https://in.sumsub.com/websdk/p/sbx_uq30ag1ov7oHZhmx
          type: string
      required:
        - url
        - expiresAt
      type: object
    ProblemDetailsDto:
      properties:
        code:
          type: string
        correlationId:
          type: string
        detail:
          type: string
        errors:
          items:
            properties:
              detail:
                type: string
              header:
                type: string
              parameter:
                type: string
              pointer:
                type: string
            required:
              - detail
            type: object
          type: array
        status:
          type: integer
        title:
          type: string
      required:
        - status
        - detail
      type: object
  securitySchemes:
    bearer:
      bearerFormat: JWT
      scheme: bearer
      type: http

````

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