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

# Generate a UBO Face Verification Link for KYB

> Generate a face verification link for a business representative.

Generate a Sumsub face liveness verification link for a business representative (UBO). After calling this endpoint, redirect the representative to the returned `url` so they can complete the face liveness check as part of KYB verification. The link expires at the time indicated by `expiresAt` — if the representative has not completed liveness by that time, call this endpoint again to get a fresh link.

<Info>
  This endpoint targets a business representative, not a customer. Use the representative's ID (prefixed `associatedPerson_`) as the path parameter, not the parent business customer's ID.
</Info>


## OpenAPI

````yaml openapi/spherepay.yaml POST /v2/business-representative/{id}/face-verification-link
openapi: 3.0.0
info:
  title: ''
  description: ''
  version: 1.0.0
  contact: {}
servers:
  - url: https://api.spherepay.co
    description: Production
security:
  - bearer: []
tags: []
paths:
  /v2/business-representative/{id}/face-verification-link:
    post:
      summary: Generate Face Verification Link for Business Representative
      description: Generate a face verification link for a business representative.
      parameters:
        - name: id
          required: true
          in: path
          description: Business Representative ID
          schema:
            minLength: 1
            example: associatedPerson_d972d2f70b9f4d3c8d7cfb32593f395b
            type: string
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenerateFaceVerificationLinkResponseDto'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetailsDto'
              examples:
                Bad Request:
                  summary: Bad Request
                  value:
                    status: 400
                    detail: Invalid request parameters
                    code: address/invalid
                    correlationId: 28c61e885c6e5eaa78c1a2183a9b883c
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetailsDto'
              examples:
                Not Found:
                  summary: Not Found
                  value:
                    status: 404
                    detail: Resource not found
                    code: resource/not-found
                    correlationId: 28c61e885c6e5eaa78c1a2183a9b883c
        '422':
          description: Unprocessable Entity - Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetailsDto'
              examples:
                Validation Error:
                  summary: Validation Error
                  value:
                    status: 422
                    detail: Validation failed
                    code: validation/failed
                    correlationId: 28c61e885c6e5eaa78c1a2183a9b883c
                    errors:
                      - detail: Invalid email format
                        pointer: /email
                      - detail: Name is required
                        pointer: /name
components:
  schemas:
    GenerateFaceVerificationLinkResponseDto:
      type: object
      properties:
        url:
          description: Hosted face verification URL
          example: https://in.sumsub.com/websdk/p/sbx_uq30ag1ov7oHZhmx
          type: string
        expiresAt:
          description: >-
            ISO 8601 formatted date and time of the face verification URL
            expiration
          example: '2026-03-09T20:46:31.305Z'
          type: string
      required:
        - url
        - expiresAt
    ProblemDetailsDto:
      type: object
      properties:
        title:
          type: string
        status:
          type: integer
        detail:
          type: string
        code:
          type: string
        errors:
          type: array
          items:
            type: object
            properties:
              detail:
                type: string
              pointer:
                type: string
              parameter:
                type: string
              header:
                type: string
            required:
              - detail
        correlationId:
          type: string
      required:
        - status
        - detail
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http

````