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

# Submit KYC documents

> Submit identity documents for a customer.

Document files must be available at public HTTP or HTTPS URLs so Bumxpress can fetch them.


## OpenAPI

````yaml POST /customers/{customer_id}/kyc
openapi: 3.0.3
info:
  title: Bumxpress Business Merchant API
  version: 1.0.0
  description: >
    Merchant API for customers, KYC, quotes, payins, payouts, transfers, and
    webhooks.

    All merchant resources are scoped to the merchant attached to the API key.
  license:
    name: Proprietary
    url: https://business.bumxpress.com
servers:
  - url: https://api.business.bumxpress.com
    description: Production
security:
  - ApiKeyAuth: []
    ApiSecretAuth: []
tags:
  - name: Customers
    description: Create and retrieve merchant-scoped customer records.
  - name: Customer KYC
    description: Submit and retrieve customer identity document status.
  - name: Quotes
    description: Create and retrieve pricing and routing quotes.
  - name: Payins
    description: Create and retrieve payment collection resources.
  - name: Payouts
    description: Create and retrieve disbursement resources.
  - name: Transfers
    description: Create, retrieve, and relaunch two-leg transfer resources.
paths:
  /customers/{customer_id}/kyc:
    post:
      tags:
        - Customer KYC
      summary: Submit KYC documents
      description: >-
        Submit identity documents for a customer. Document file URLs must be
        public HTTP or HTTPS URLs that Bumxpress can fetch.
      operationId: submitCustomerKyc
      parameters:
        - $ref: '#/components/parameters/CustomerId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SubmitKycRequest'
            example:
              documents:
                - document_type: national_id
                  document_number: ID123456
                  issue_country_code: CM
                  issue_date: '2020-01-15'
                  expiry_date: '2030-01-15'
                  front_file_url: https://cdn.example.com/kyc/front.jpg
                  back_file_url: https://cdn.example.com/kyc/back.jpg
                  selfie_file_url: https://cdn.example.com/kyc/selfie.jpg
      responses:
        '201':
          description: KYC documents accepted.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KycStatus'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  parameters:
    CustomerId:
      name: customer_id
      in: path
      required: true
      schema:
        type: string
        format: uuid
  schemas:
    SubmitKycRequest:
      type: object
      required:
        - documents
      properties:
        documents:
          type: array
          minItems: 1
          items:
            $ref: '#/components/schemas/KycDocumentInput'
    KycStatus:
      type: object
      required:
        - customer_id
        - kyc_status
        - documents
      properties:
        customer_id:
          type: string
          format: uuid
        kyc_status:
          type: string
          enum:
            - not_started
            - pending
            - approved
            - rejected
        documents:
          type: array
          items:
            allOf:
              - $ref: '#/components/schemas/KycDocumentInput'
              - type: object
                properties:
                  id:
                    type: string
                    format: uuid
                  status:
                    type: string
                    example: uploaded
                  created_at:
                    type: string
                    format: date-time
    KycDocumentInput:
      type: object
      required:
        - document_type
      properties:
        document_type:
          type: string
          example: national_id
        document_number:
          type: string
        issue_country_code:
          $ref: '#/components/schemas/CountryCode'
        issue_date:
          type: string
          format: date
        expiry_date:
          type: string
          format: date
        front_file_url:
          type: string
          format: uri
        back_file_url:
          type: string
          format: uri
        selfie_file_url:
          type: string
          format: uri
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
              example: bad_request
            message:
              type: string
              example: quote_id is required
    CountryCode:
      type: string
      minLength: 2
      maxLength: 2
      example: CM
  responses:
    BadRequest:
      description: >-
        Invalid body, missing field, expired quote, quote mismatch, or
        insufficient balance.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Unauthorized:
      description: Missing, invalid, expired, or inactive API credentials.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    NotFound:
      description: Resource not found for the authenticated merchant.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-Api-Key
      description: Public API key from the merchant dashboard.
    ApiSecretAuth:
      type: apiKey
      in: header
      name: X-Api-Secret
      description: Secret shown once when the API key is created.

````