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

# Create a Customer



## OpenAPI

````yaml POST /v1/customers
openapi: 3.1.0
info:
  title: Plexos Pay API
  description: Mobile Money Payment Gateway for African Markets
  version: 1.0.0
  contact:
    name: Plexos Pay
    url: https://plexospay.com
servers:
  - url: https://api.plexospay.com
    description: Production
security:
  - bearerAuth: []
paths:
  /v1/customers:
    post:
      tags:
        - Customers
      summary: Create a customer
      operationId: createCustomer
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - phone
                - operator
              properties:
                phone:
                  type: string
                  example: '+2389001234'
                operator:
                  $ref: '#/components/schemas/Operator'
                country:
                  $ref: '#/components/schemas/Country'
                name:
                  type: string
                email:
                  type: string
                metadata:
                  $ref: '#/components/schemas/Metadata'
      responses:
        '200':
          description: Customer created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Customer'
components:
  schemas:
    Operator:
      type: string
      enum:
        - CVMOVEL
        - UNITEL_TMAIS
        - MOCK
      description: Mobile money operator
    Country:
      type: string
      enum:
        - CV
        - AO
      description: ISO 3166-1 alpha-2 country code
    Metadata:
      type: object
      additionalProperties: true
      description: Arbitrary key-value metadata (max 50 keys)
      nullable: true
    Customer:
      type: object
      properties:
        id:
          type: string
          example: cu_abc123
        phone:
          type: string
          example: '+2389001234'
        operator:
          $ref: '#/components/schemas/Operator'
        country:
          $ref: '#/components/schemas/Country'
        name:
          type: string
          nullable: true
        email:
          type: string
          nullable: true
        metadata:
          $ref: '#/components/schemas/Metadata'
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key starting with `sk_live_` or `sk_test_`

````