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

# Create Card User



## OpenAPI

````yaml post /card-users/create
openapi: 3.1.0
info:
  title: ALAL APIs
  version: 1.0.0
servers:
  - url: https://api.sandbox.saalal.com/v1
security: []
tags:
  - name: Cards
  - name: Transactions
  - name: CardUsers
  - name: Disputes
paths:
  /card-users/create:
    post:
      tags:
        - Cards
      summary: Create Card User
      parameters:
        - name: Content-Type
          in: header
          schema:
            type: string
          example: application/json
        - name: Accept
          in: header
          schema:
            type: string
          example: application/json
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                first_name:
                  type: string
                  example: your-firstname
                last_name:
                  type: string
                  example: your-lastname
                address:
                  type: string
                  example: your-address
                phone:
                  type: string
                  example: '774964996'
                email:
                  type: string
                  example: your@mail.com
                id_no:
                  type: string
                  example: '20119991010000621'
                selfie_image:
                  type: string
                  example: https://example.com/selfie.png
                id_image:
                  type: string
                  example: https://example.com/id.png
                back_id_image:
                  type: string
                  example: https://example.com/backid.png
              example:
                first_name: your-firstname
                last_name: your-lastname
                address: your-address
                phone: '774964996'
                email: your@mail.com
                id_no: '20119991010000621'
                selfie_image: https://your-image.com
                id_image: https://your-image.com
                back_id_image: https://your-image.com
      responses:
        '200':
          description: OK
          headers:
            Host:
              schema:
                type: string
                example: localhost:8090
            Date:
              schema:
                type: string
                example: Thu, 22 Jun 2023 10:02:42 GMT
            Connection:
              schema:
                type: string
                example: close
            X-Powered-By:
              schema:
                type: string
                example: PHP/8.2.4
            Cache-Control:
              schema:
                type: string
                example: no-cache, private
            Content-Type:
              schema:
                type: string
                example: application/json
            X-RateLimit-Limit:
              schema:
                type: integer
                example: '60'
            X-RateLimit-Remaining:
              schema:
                type: integer
                example: '59'
            Access-Control-Allow-Origin:
              schema:
                type: string
                example: '*'
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: Card User verification in progress
                  statusCode:
                    type: integer
                    example: 200
                  userCard:
                    type: object
                    properties:
                      reference:
                        type: string
                        example: 88c2f29c-2fba-40f1-a303-b33008e42fe9
                      first_name:
                        type: string
                        example: your-firstname
                      last_name:
                        type: string
                        example: your-lastname
                      address:
                        type: string
                        example: your-address
                      phone:
                        type: string
                        example: '774964996'
                      email:
                        type: string
                        example: your@mail.com
                      id_no:
                        type: string
                        example: '20119991010000621'
              example:
                message: OK
                statusCode: 200
                data:
                  message: Card User verification in progress
                  userCard:
                    reference: 88c2f29c-2fba-40f1-a303-b33008e42fe9
                    first_name: Testeur
                    last_name: glock
                    address: Pikine Texaco 11
                    id_no: '17521999133211635'
                    phone: '221776854872'
                    email: testingboy@gmail.com
        '422':
          description: Unprocessable Content
          headers:
            Host:
              schema:
                type: string
                example: localhost:8090
            Date:
              schema:
                type: string
                example: Thu, 22 Jun 2023 10:00:54 GMT
            Connection:
              schema:
                type: string
                example: close
            X-Powered-By:
              schema:
                type: string
                example: PHP/8.2.4
            Cache-Control:
              schema:
                type: string
                example: no-cache, private
            Content-Type:
              schema:
                type: string
                example: application/json
            X-RateLimit-Limit:
              schema:
                type: integer
                example: '60'
            X-RateLimit-Remaining:
              schema:
                type: integer
                example: '59'
            Access-Control-Allow-Origin:
              schema:
                type: string
                example: '*'
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: La valeur du champ id no est déjà utilisée.
                  errors:
                    type: object
                    properties:
                      id_no:
                        type: string
                        example: La valeur du champ id no est déjà utilisée.
              example:
                message: La valeur du champ id no est déjà utilisée.
                errors:
                  id_no:
                    - La valeur du champ id no est déjà utilisée.
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````