{
    "openapi": "3.0.0",
    "info": {
        "title": "Borsa NOW API Documentation",
        "description": "API documentation for a Borsa NOW application.",
        "version": "1.0.0"
    },
    "servers": [
        {
            "url": "https://closecnx.com/BorsaNow/public/api",
            "description": "Local API Server"
        }
    ],
    "paths": {
        "/api/v1/customer/register/{lang}": {
            "post": {
                "tags": [
                    "Customers"
                ],
                "summary": "Create a new customer",
                "description": "Create a new customer in the system",
                "operationId": "3c913571485ce201cf504259e261a4a8",
                "parameters": [
                    {
                        "name": "lang",
                        "in": "path",
                        "description": "Language code (e.g. en, ar)",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "name",
                                    "email",
                                    "password"
                                ],
                                "properties": {
                                    "name": {
                                        "type": "string",
                                        "example": "John Doe"
                                    },
                                    "email": {
                                        "type": "string",
                                        "example": "johnexample.com"
                                    },
                                    "password": {
                                        "type": "string",
                                        "example": "123456789x"
                                    },
                                    "gender": {
                                        "type": "string",
                                        "example": "male"
                                    },
                                    "phone": {
                                        "type": "string",
                                        "example": "0096650412368"
                                    },
                                    "birthdate": {
                                        "type": "string",
                                        "format": "date",
                                        "example": "2025-12-12"
                                    },
                                    "picture": {
                                        "description": "Profile picture file",
                                        "type": "string",
                                        "format": "binary"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "User created successfully"
                    },
                    "400": {
                        "description": "Bad request"
                    }
                }
            }
        },
        "/api/v1/customer/login/{lang}": {
            "post": {
                "tags": [
                    "Customers"
                ],
                "summary": "Login customer",
                "description": "Login customer",
                "operationId": "d226c2f7a82921aad43cd8907157be28",
                "parameters": [
                    {
                        "name": "lang",
                        "in": "path",
                        "description": "Language code (e.g. en, ar)",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "email",
                                    "password"
                                ],
                                "properties": {
                                    "email": {
                                        "type": "string",
                                        "example": "johnexample.com"
                                    },
                                    "password": {
                                        "type": "string",
                                        "example": "123456789x"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "User authenticated successfully"
                    },
                    "400": {
                        "description": "Bad request"
                    }
                }
            }
        },
        "/api/v1/customer/logout/{lang}": {
            "get": {
                "tags": [
                    "Customers"
                ],
                "summary": "Logout customer",
                "description": "Login customer",
                "operationId": "2085649a7c21e6e17f1282ad81487884",
                "parameters": [
                    {
                        "name": "lang",
                        "in": "path",
                        "description": "Language code (e.g. en, ar)",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "token"
                                ],
                                "properties": {
                                    "token": {
                                        "type": "token",
                                        "example": "123456789x"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "User authenticated successfully"
                    },
                    "400": {
                        "description": "Bad request"
                    }
                }
            }
        },
        "/api/v1/customer/information/update/{lang}": {
            "post": {
                "tags": [
                    "Customers"
                ],
                "summary": "Update Personnal information customer",
                "description": "Update personnal information of customer in the system",
                "operationId": "46af11955f1c8c422374fca6c4dca041",
                "parameters": [
                    {
                        "name": "lang",
                        "in": "path",
                        "description": "Language code (e.g. en, ar)",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "name",
                                    "email",
                                    "password"
                                ],
                                "properties": {
                                    "name": {
                                        "type": "string",
                                        "example": "John Doe"
                                    },
                                    "email": {
                                        "type": "string",
                                        "example": "johnexample.com"
                                    },
                                    "gender": {
                                        "type": "string",
                                        "example": "male"
                                    },
                                    "phone": {
                                        "type": "string",
                                        "example": "0096650412368"
                                    },
                                    "birthdate": {
                                        "type": "string",
                                        "format": "date",
                                        "example": "2025-12-12"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "User updated successfully"
                    },
                    "400": {
                        "description": "Bad request"
                    }
                }
            }
        },
        "/api/v1/customer/{lang}": {
            "get": {
                "tags": [
                    "Customers"
                ],
                "summary": "Profil customer",
                "description": "Profil customer",
                "operationId": "75b27edba7c5c8b01dd25349f883a1e4",
                "parameters": [
                    {
                        "name": "lang",
                        "in": "path",
                        "description": "Language code (e.g. en, ar)",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "token"
                                ],
                                "properties": {
                                    "token": {
                                        "type": "token",
                                        "example": "123456789x"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "User authenticated successfully"
                    },
                    "400": {
                        "description": "Bad request"
                    }
                }
            }
        },
        "/api/v1/cities/{lang}": {
            "get": {
                "tags": [
                    "General"
                ],
                "summary": "List Cities",
                "description": "List Cities",
                "operationId": "af44af0d73709a3e7e6b29e13668a4eb",
                "parameters": [
                    {
                        "name": "lang",
                        "in": "path",
                        "description": "Language code (e.g. en, ar)",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "201": {
                        "description": "Success request"
                    },
                    "400": {
                        "description": "Bad request"
                    }
                }
            }
        },
        "/api/v1/banks/{lang}": {
            "get": {
                "tags": [
                    "General"
                ],
                "summary": "List Banks",
                "description": "List Banks",
                "operationId": "02811ebc3b208640828be2fac844ae9a",
                "parameters": [
                    {
                        "name": "lang",
                        "in": "path",
                        "description": "Language code (e.g. en, ar)",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "201": {
                        "description": "Success request"
                    },
                    "400": {
                        "description": "Bad request"
                    }
                }
            }
        },
        "/api/v1/categories/{lang}": {
            "get": {
                "tags": [
                    "General"
                ],
                "summary": "List categories",
                "description": "List Merchant categories",
                "operationId": "daae8d5dd3cda7cf08a3f1dec095e576",
                "parameters": [
                    {
                        "name": "lang",
                        "in": "path",
                        "description": "Language code (e.g. en, ar)",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "201": {
                        "description": "Success request"
                    },
                    "400": {
                        "description": "Bad request"
                    }
                }
            }
        },
        "/api/v1/product/categories/{lang}": {
            "get": {
                "tags": [
                    "General"
                ],
                "summary": "List product categories",
                "description": "List product categories",
                "operationId": "79bae8d50531f8392bc9f2cb5fa73c7e",
                "parameters": [
                    {
                        "name": "lang",
                        "in": "path",
                        "description": "Language code (e.g. en, ar)",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "201": {
                        "description": "Success Request"
                    },
                    "400": {
                        "description": "Bad request"
                    }
                }
            }
        },
        "/api/v1/investor/register/{lang}": {
            "post": {
                "tags": [
                    "Investors"
                ],
                "summary": "Create a new investor",
                "description": "Create a new investor in the system",
                "operationId": "ed980158ff5db645568e54c66de12292",
                "parameters": [
                    {
                        "name": "lang",
                        "in": "path",
                        "description": "Language code (e.g. en, ar)",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "name",
                                    "email",
                                    "password",
                                    "gender",
                                    "city_id",
                                    "bank_id"
                                ],
                                "properties": {
                                    "name": {
                                        "type": "string",
                                        "example": "John Doe"
                                    },
                                    "email": {
                                        "type": "string",
                                        "example": "johnexample.com"
                                    },
                                    "password": {
                                        "type": "string",
                                        "example": "123456789x"
                                    },
                                    "bank_id": {
                                        "type": "intger",
                                        "example": "123"
                                    },
                                    "city_id": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "gender": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "phone": {
                                        "type": "string",
                                        "example": "0096650412368"
                                    },
                                    "birthdate": {
                                        "type": "string",
                                        "format": "date",
                                        "example": "2025-12-12"
                                    },
                                    "building_number": {
                                        "type": "string",
                                        "example": "7"
                                    },
                                    "unit_number": {
                                        "type": "string",
                                        "example": "7"
                                    },
                                    "street": {
                                        "type": "string",
                                        "example": "King Fahd Road, Olaya Street"
                                    },
                                    "district": {
                                        "type": "string",
                                        "example": "Al-Neseem"
                                    },
                                    "postal_code": {
                                        "type": "string",
                                        "example": "13251"
                                    },
                                    "id_number": {
                                        "type": "string",
                                        "example": "123412345"
                                    },
                                    "account_number": {
                                        "type": "string",
                                        "example": "SA9874563211987456321"
                                    },
                                    "iban_number": {
                                        "type": "string",
                                        "example": "SA9874563211987456321"
                                    },
                                    "picture": {
                                        "description": "Profile picture file",
                                        "type": "string",
                                        "format": "binary"
                                    },
                                    "id_document_path": {
                                        "description": "ID document file",
                                        "type": "string",
                                        "format": "binary"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "User created successfully"
                    },
                    "400": {
                        "description": "Bad request"
                    }
                }
            }
        },
        "/api/v1/investor/login/{lang}": {
            "post": {
                "tags": [
                    "Investors"
                ],
                "summary": "Login investor",
                "description": "Login investor",
                "operationId": "b7a88f933b26873ae1f1e9ae599aa6fe",
                "parameters": [
                    {
                        "name": "lang",
                        "in": "path",
                        "description": "Language code (e.g. en, ar)",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "email",
                                    "password"
                                ],
                                "properties": {
                                    "email": {
                                        "type": "string",
                                        "example": "johnexample.com"
                                    },
                                    "password": {
                                        "type": "string",
                                        "example": "123456789x"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "User authenticated successfully"
                    },
                    "400": {
                        "description": "Bad request"
                    }
                }
            }
        },
        "/api/v1/investor/logout/{lang}": {
            "get": {
                "tags": [
                    "Investors"
                ],
                "summary": "Logout investor",
                "description": "Login investor",
                "operationId": "4d9b1e048da03958585790fa30a5673c",
                "parameters": [
                    {
                        "name": "lang",
                        "in": "path",
                        "description": "Language code (e.g. en, ar)",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "token"
                                ],
                                "properties": {
                                    "token": {
                                        "type": "token",
                                        "example": "123456789x"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "User authenticated successfully"
                    },
                    "400": {
                        "description": "Bad request"
                    }
                }
            }
        },
        "/api/v1/investor/{lang}": {
            "get": {
                "tags": [
                    "Investors"
                ],
                "summary": "Profil investor",
                "description": "Profil investor",
                "operationId": "e17202cb58d65b1cbd050888a4f07d63",
                "parameters": [
                    {
                        "name": "lang",
                        "in": "path",
                        "description": "Language code (e.g. en, ar)",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "token"
                                ],
                                "properties": {
                                    "token": {
                                        "type": "token",
                                        "example": "123456789x"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "User authenticated successfully"
                    },
                    "400": {
                        "description": "Bad request"
                    }
                }
            }
        },
        "/api/v1/product/add/{lang}": {
            "post": {
                "tags": [
                    "Products"
                ],
                "summary": "add new  product",
                "description": "add new product",
                "operationId": "10783d850ceaf4e8d4b5ec159bc11cbd",
                "parameters": [
                    {
                        "name": "lang",
                        "in": "path",
                        "description": "Language code (e.g. en, ar)",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "name",
                                    "sku",
                                    "description",
                                    "product_categorie_id",
                                    "token"
                                ],
                                "properties": {
                                    "name": {
                                        "type": "string",
                                        "example": "prod"
                                    },
                                    "sku": {
                                        "type": "string",
                                        "example": "prod_1_78"
                                    },
                                    "description": {
                                        "type": "string",
                                        "example": "lorem upsom"
                                    },
                                    "product_categorie_id": {
                                        "type": "integer",
                                        "example": "1"
                                    },
                                    "token": {
                                        "type": "string",
                                        "example": "xxxxxxxx"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "Success request"
                    },
                    "400": {
                        "description": "Bad request"
                    }
                }
            }
        },
        "/api/v1/product/edit/{lang}": {
            "put": {
                "tags": [
                    "Products"
                ],
                "summary": "edit product",
                "description": "edit product",
                "operationId": "907144f70888787a5b22d9922e149291",
                "parameters": [
                    {
                        "name": "lang",
                        "in": "path",
                        "description": "Language code (e.g. en, ar)",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "name",
                                    "sku",
                                    "description",
                                    "product_categorie_id",
                                    "token"
                                ],
                                "properties": {
                                    "name": {
                                        "type": "string",
                                        "example": "prod"
                                    },
                                    "sku": {
                                        "type": "string",
                                        "example": "prod_1_78"
                                    },
                                    "description": {
                                        "type": "string",
                                        "example": "lorem upsom"
                                    },
                                    "product_categorie_id": {
                                        "type": "integer",
                                        "example": "1"
                                    },
                                    "token": {
                                        "type": "string",
                                        "example": "xxxxxxxx"
                                    },
                                    "product_id": {
                                        "type": "integer",
                                        "example": "1"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "Success request"
                    },
                    "400": {
                        "description": "Bad request"
                    }
                }
            }
        },
        "/api/v1/product/picture/add/{lang}": {
            "post": {
                "tags": [
                    "Products"
                ],
                "summary": "add picture product",
                "description": "add picture product",
                "operationId": "9194645af7ccfcd09be03501cd4db74d",
                "parameters": [
                    {
                        "name": "lang",
                        "in": "path",
                        "description": "Language code (e.g. en, ar)",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "name",
                                    "sku",
                                    "description",
                                    "product_categorie_id",
                                    "token"
                                ],
                                "properties": {
                                    "picture": {
                                        "description": "product picture file",
                                        "type": "string",
                                        "format": "binary"
                                    },
                                    "token": {
                                        "type": "string",
                                        "example": "xxxxxxxx"
                                    },
                                    "product_id": {
                                        "type": "integer",
                                        "example": "1"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "Success request"
                    },
                    "400": {
                        "description": "Bad request"
                    }
                }
            }
        },
        "/api/v1/product/delete/{lang}": {
            "post": {
                "tags": [
                    "Products"
                ],
                "summary": "delete picture of  product",
                "description": "delete picture of product",
                "operationId": "90421eea56395930d1c2269cf29b457b",
                "parameters": [
                    {
                        "name": "lang",
                        "in": "path",
                        "description": "Language code (e.g. en, ar)",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "product_picture_id",
                                    "token"
                                ],
                                "properties": {
                                    "product_picture_id": {
                                        "type": "integer",
                                        "example": "1"
                                    },
                                    "token": {
                                        "type": "string",
                                        "example": "xxxxxxxx"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "Success request"
                    },
                    "400": {
                        "description": "Bad request"
                    }
                }
            }
        },
        "/api/v1/product/{lang}": {
            "get": {
                "tags": [
                    "Products"
                ],
                "summary": "Details product",
                "description": "Details product",
                "operationId": "974f6654641d0671913b8875ad271af9",
                "parameters": [
                    {
                        "name": "lang",
                        "in": "path",
                        "description": "Language code (e.g. en, ar)",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "token",
                                    "product_id"
                                ],
                                "properties": {
                                    "token": {
                                        "type": "string",
                                        "example": "123456789x"
                                    },
                                    "product_id": {
                                        "type": "integer",
                                        "example": "1"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "User authenticated successfully"
                    },
                    "400": {
                        "description": "Bad request"
                    }
                }
            }
        },
        "/api/v1/products/{lang}": {
            "get": {
                "tags": [
                    "Products"
                ],
                "summary": "List of my product",
                "description": "List of my product",
                "operationId": "8a4ff7e63d38c582ce217e08ff5d725c",
                "parameters": [
                    {
                        "name": "lang",
                        "in": "path",
                        "description": "Language code (e.g. en, ar)",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "token",
                                    "product_id"
                                ],
                                "properties": {
                                    "token": {
                                        "type": "string",
                                        "example": "123456789x"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "User authenticated successfully"
                    },
                    "400": {
                        "description": "Bad request"
                    }
                }
            }
        },
        "/api/v1/merchant/register/{lang}": {
            "post": {
                "tags": [
                    "Merchants"
                ],
                "summary": "Create a new merchant",
                "description": "Create a new merchant in the system",
                "operationId": "26d64434c640ecfca8fb623d43481893",
                "parameters": [
                    {
                        "name": "lang",
                        "in": "path",
                        "description": "Language code (e.g. en, ar)",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "name",
                                    "email",
                                    "password",
                                    "gender",
                                    "city_id",
                                    "bank_id"
                                ],
                                "properties": {
                                    "name": {
                                        "type": "string",
                                        "example": "John Doe"
                                    },
                                    "email": {
                                        "type": "string",
                                        "example": "johnexample.com"
                                    },
                                    "password": {
                                        "type": "string",
                                        "example": "123456789x"
                                    },
                                    "gender": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "phone": {
                                        "type": "string",
                                        "example": "0096650412368"
                                    },
                                    "birthdate": {
                                        "type": "string",
                                        "format": "date",
                                        "example": "2025-12-12"
                                    },
                                    "category_id": {
                                        "type": "intger",
                                        "example": "123"
                                    },
                                    "company_name": {
                                        "type": "string",
                                        "example": "7"
                                    },
                                    "trade_license_number": {
                                        "type": "string",
                                        "example": "7"
                                    },
                                    "Address": {
                                        "type": "string",
                                        "example": "King Fahd Road, Olaya Street"
                                    },
                                    "tax_certificate": {
                                        "type": "string",
                                        "example": "Al-Neseem"
                                    },
                                    "picture": {
                                        "description": "Brand picture file",
                                        "type": "string",
                                        "format": "binary"
                                    },
                                    "copy_trade_license": {
                                        "description": "Copy Trade License",
                                        "type": "string",
                                        "format": "binary"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "User created successfully"
                    },
                    "400": {
                        "description": "Bad request"
                    }
                }
            }
        },
        "/api/v1/merchant/login/{lang}": {
            "post": {
                "tags": [
                    "Merchants"
                ],
                "summary": "Login merchant",
                "description": "Login merchant",
                "operationId": "ff15185c3547e92ff2a4d46ab3a60d4c",
                "parameters": [
                    {
                        "name": "lang",
                        "in": "path",
                        "description": "Language code (e.g. en, ar)",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "email",
                                    "password"
                                ],
                                "properties": {
                                    "email": {
                                        "type": "string",
                                        "example": "johnexample.com"
                                    },
                                    "password": {
                                        "type": "string",
                                        "example": "123456789x"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "User authenticated successfully"
                    },
                    "400": {
                        "description": "Bad request"
                    }
                }
            }
        },
        "/api/v1/merchant/logout/{lang}": {
            "get": {
                "tags": [
                    "Merchants"
                ],
                "summary": "Logout merchant",
                "description": "Login merchant",
                "operationId": "734b8ef30ea714e961e76c16a3d29777",
                "parameters": [
                    {
                        "name": "lang",
                        "in": "path",
                        "description": "Language code (e.g. en, ar)",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "token"
                                ],
                                "properties": {
                                    "token": {
                                        "type": "token",
                                        "example": "123456789x"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "User authenticated successfully"
                    },
                    "400": {
                        "description": "Bad request"
                    }
                }
            }
        },
        "/api/v1/merchant/information/update/{lang}": {
            "put": {
                "tags": [
                    "Merchants"
                ],
                "summary": "Update merchant",
                "description": "Update Personnel Information of Merchant",
                "operationId": "3dbefbac76f7d2f6c15edc326f36d8ce",
                "parameters": [
                    {
                        "name": "lang",
                        "in": "path",
                        "description": "Language code (e.g. en, ar)",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "name",
                                    "email",
                                    "password",
                                    "gender",
                                    "city_id",
                                    "bank_id"
                                ],
                                "properties": {
                                    "name": {
                                        "type": "string",
                                        "example": "John Doe"
                                    },
                                    "email": {
                                        "type": "string",
                                        "example": "johnexample.com"
                                    },
                                    "password": {
                                        "type": "string",
                                        "example": "123456789x"
                                    },
                                    "gender": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "phone": {
                                        "type": "string",
                                        "example": "0096650412368"
                                    },
                                    "birthdate": {
                                        "type": "string",
                                        "format": "date",
                                        "example": "2025-12-12"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "User created successfully"
                    },
                    "400": {
                        "description": "Bad request"
                    }
                }
            }
        },
        "/api/v1/merchant/{lang}": {
            "get": {
                "tags": [
                    "Merchants"
                ],
                "summary": "Profil merchant",
                "description": "Profil merchant",
                "operationId": "76c9225969dc72007b6dfca2e1bc12c3",
                "parameters": [
                    {
                        "name": "lang",
                        "in": "path",
                        "description": "Language code (e.g. en, ar)",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "required": [
                                    "token"
                                ],
                                "properties": {
                                    "token": {
                                        "type": "token",
                                        "example": "123456789x"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "User authenticated successfully"
                    },
                    "400": {
                        "description": "Bad request"
                    }
                }
            }
        }
    },
    "tags": [
        {
            "name": "Investors",
            "description": "API endpoints related to Investors"
        },
        {
            "name": "Merchants",
            "description": "API endpoints related to Merchants"
        },
        {
            "name": "General",
            "description": "API endpoints related to General"
        },
        {
            "name": "Customers",
            "description": "Customers"
        },
        {
            "name": "Products",
            "description": "Products"
        }
    ]
}