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

# Create customer



## OpenAPI

````yaml /openAPI.json post /api/v2/customers
openapi: 3.0.2
info:
  title: Laravel
  version: 2.0.0
servers:
  - url: https://rcur.app
security:
  - '': []
tags:
  - name: Customers
  - name: Payment Links
  - name: Subscriptions
  - name: Follow-ups
  - name: Orders
  - name: Payments
  - name: Mandates
  - name: Products
  - name: Organization
paths:
  /api/v2/customers:
    post:
      tags:
        - Customers
      summary: Create customer
      requestBody:
        description: Customer data
        content:
          application/json:
            schema:
              type: object
              required:
                - first_name
                - last_name
                - email
              properties:
                number:
                  description: Customer number
                  type: string
                  example: CUST-001
                first_name:
                  description: First name
                  type: string
                  example: John
                last_name:
                  description: Last name
                  type: string
                  example: Doe
                email:
                  description: Email address
                  type: string
                  example: john@example.com
                organization_name:
                  description: Organization name
                  type: string
                  example: Acme B.V.
                phone:
                  description: Phone number
                  type: string
                  example: '+31612345678'
                address:
                  description: Street address
                  type: string
                  example: Keizersgracht 1
                postal_code:
                  description: Postal code
                  type: string
                  example: 1015AA
                city:
                  description: City
                  type: string
                  example: Amsterdam
                country:
                  description: ISO 3166-1 alpha-2 country code
                  type: string
                  example: NL
                vat_number:
                  description: VAT number
                  type: string
                  example: NL123456789B01
                locale:
                  enum:
                    - nl
                    - en
                    - fr
                    - de
                    - es
                  type: string
                  example: nl
        required: true
      responses:
        '200':
          description: Customer details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Customer'
        '201':
          description: Customer created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Customer'
        '422':
          $ref: '#/components/responses/'
components:
  schemas:
    Customer:
      type: object
      required:
        - id
        - first_name
        - last_name
        - email
        - created_at
      properties:
        id:
          type: string
          example: abc123def456
        number:
          type: string
          nullable: true
          example: CUST-001
        first_name:
          type: string
          example: John
        last_name:
          type: string
          example: Doe
        email:
          type: string
          example: john@example.com
        phone:
          type: string
          nullable: true
          example: '+31612345678'
        organization_name:
          type: string
          nullable: true
          example: Acme B.V.
        address:
          type: string
          nullable: true
          example: Keizersgracht 1
        postal_code:
          type: string
          nullable: true
          example: 1015AA
        city:
          type: string
          nullable: true
          example: Amsterdam
        country:
          type: string
          nullable: true
          example: NL
        vat_number:
          type: string
          nullable: true
          example: NL123456789B01
        locale:
          enum:
            - nl
            - en
            - fr
            - de
            - es
          type: string
          nullable: true
          example: nl
        mollie_customer_id:
          type: string
          nullable: true
          example: cst_abc123
        created_at:
          type: string
          example: '2025-01-15 10:30:00'

````