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

# Create business client

> Creates a client for the authenticated business and starts the Persona onboarding process.



## OpenAPI

````yaml /openapi-v2.en.yaml post /v2/business-clients
openapi: 3.0.0
info:
  title: YP API Partner
  description: Integration documentation for YP API partners.
  version: v2
  contact: {}
servers:
  - url: https://sandbox-rampa.mesadepagos.com/api
    description: Sandbox
security: []
tags:
  - name: Auth
    description: ''
  - name: Quotes
    description: ''
  - name: Payin
    description: ''
  - name: Payout
    description: ''
  - name: Wallet
    description: ''
  - name: Queries
    description: ''
  - name: Webhooks
    description: ''
  - name: Fees
    description: ''
  - name: Clients
    description: ''
paths:
  /v2/business-clients:
    post:
      tags:
        - Clients
      summary: Create business client
      description: >-
        Creates a client for the authenticated business and starts the Persona
        onboarding process.
      operationId: createBusinessClient
      parameters: []
      requestBody:
        required: true
        description: Client data to create.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateBusinessClientRequestDoc'
      responses:
        '201':
          description: Client created and onboarding started.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateBusinessClientResponseDoc'
        '400':
          description: Invalid request body.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationErrorResponseDoc'
        '401':
          description: Missing, invalid, or expired token.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnauthorizedResponseDoc'
      security:
        - bearer: []
components:
  schemas:
    CreateBusinessClientRequestDoc:
      type: object
      properties:
        name:
          type: string
          example: Acme Bolivia
          description: Client name.
        email:
          type: string
          example: client@example.com
          description: Client email address.
          format: email
        type:
          type: string
          enum:
            - individual
            - company
          example: company
          description: Client type.
        country:
          type: string
          example: BO
          description: Client country code, between 2 and 4 characters.
          minLength: 2
          maxLength: 4
      required:
        - name
        - email
        - type
        - country
    CreateBusinessClientResponseDoc:
      type: object
      properties:
        clientId:
          type: string
          example: 550e8400-e29b-41d4-a716-446655440000
          description: Internal client identifier.
          format: uuid
        clientLink:
          type: string
          example: https://withpersona.com/verify/example
          description: One-time link used to complete Persona onboarding.
          format: uri
      required:
        - clientId
        - clientLink
    ValidationErrorResponseDoc:
      type: object
      properties:
        statusCode:
          type: number
          example: 400
        message:
          type: string
          example: Validation failed
        error:
          type: string
          example: Bad Request
      required:
        - statusCode
        - message
        - error
    UnauthorizedResponseDoc:
      type: object
      properties:
        statusCode:
          type: number
          example: 401
        message:
          type: string
          example: Unauthorized
      required:
        - statusCode
        - message
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http
      description: JWT obtained from /v2/auth/login

````