---
updatedAt: 2026-07-28T06:33:05.000Z
agentTools:
  projectIndex: https://docs.payplus.co.il/llms.txt
---

# Login

Login to the API and get jwt token

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Wittix Cards",
    "version": "0.1.1",
    "description": "Public Wittix Cards API definition.\nThis definition is scoped to card and transaction routes only."
  },
  "servers": [
    {
      "url": "https://api-dev.wittix.com/v1",
      "description": "Wittix Staging API"
    }
  ],
  "security": [
    {
      "AuthorizationHeader": []
    }
  ],
  "components": {
    "securitySchemes": {
      "AuthorizationHeader": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization"
      }
    }
  },
  "tags": [
    {
      "name": "Authentication"
    }
  ],
  "paths": {
    "/identity/login": {
      "post": {
        "tags": [
          "Authentication"
        ],
        "summary": "Login",
        "description": "Login to the API and get jwt token",
        "operationId": "wittix-identity-login",
        "security": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "username",
                  "password",
                  "user_type"
                ],
                "properties": {
                  "username": {
                    "type": "string",
                    "description": "Email address"
                  },
                  "password": {
                    "type": "string",
                    "description": "Password"
                  },
                  "user_type": {
                    "type": "string",
                    "description": "User type. Supported values: user",
                    "enum": [
                      "user"
                    ]
                  }
                }
              },
              "examples": {
                "Login": {
                  "value": {
                    "email": "test@example.com",
                    "password": "password"
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
```