Authenticate and receive JWT token
system_admin, compliance_user, super_agent| Role | Access Level |
|---|---|
system_admin | Full system access |
compliance_user | Compliance monitoring |
support_user | Customer support |
sales_user | Sales operations |
audit_user | Read-only audit access |
super_agent | Agent network management |
sub_agent | Field agent operations |
processor | POS merchant dashboard |
| Code | Error | Description |
|---|---|---|
| 400 | INVALID_REQUEST | Missing email or password |
| 401 | INVALID_CREDENTIALS | Wrong email or password |
| 401 | ACCOUNT_INACTIVE | User account is not active |
| 500 | INTERNAL_ERROR | Server error |