Users
The Users section enables administrators to view, search, and manage user accounts in the Keshless system.
Screenshots
Users List

User Detail

Users List
Table Columns
| Column | Description |
|---|---|
| Name | User's full name |
| Phone | Primary phone number |
| Status | Active, Suspended, Blocked |
| KYC Status | Verified, Pending, Rejected |
| Balance | Current wallet balance |
| Created | Registration date |
| Actions | View, Edit, Suspend |
Search & Filters
| Filter | Options |
|---|---|
| Search | Name, phone, or email |
| Status | All, Active, Suspended, Blocked |
| KYC Status | All, Verified, Pending, Rejected, Not Started |
User Details
Profile Information
| Field | Description |
|---|---|
| Full Name | User's legal name |
| Phone | Primary phone number |
| Email address (if provided) | |
| Date of Birth | Birth date |
| Gender | Male, Female, Other |
| Nationality | Country of citizenship |
| Address | Residential address |
| Registered | Account creation date |
Detail Page Sections
| Section | Description |
|---|---|
| User Info | Personal information card |
| Cards | Linked NFC cards |
| Transactions | Recent transaction history |
| Actions | Available admin actions |
| Activity | Login and action history |
Card Linking
Link an NFC card to a user account.
| Field | Description |
|---|---|
| Card UID | NFC card unique identifier |
| User ID | Target user account |
Balance Adjustment
Credit or debit a user's wallet balance.
| Field | Description |
|---|---|
| Current Balance | Displayed for reference |
| Type | Credit (add) or Debit (remove) |
| Amount | Value to adjust |
| Reason | Required explanation for audit |
User Actions
| Action | Description | Permission |
|---|---|---|
| View | Open user details | All |
| Edit | Modify user info | Admin |
| Suspend | Temporarily disable | Admin |
| Block | Permanently disable | Super Admin |
| Reset PIN | Clear PIN for reset | Support |
| Adjust Balance | Credit/debit funds | Admin |
API Endpoints
| Endpoint | Method | Description |
|---|---|---|
/admin/users | GET | List users |
/admin/users/:id | GET | User details |
/admin/users/:id | PATCH | Update user |
/admin/users/:id/suspend | POST | Suspend user |
/admin/users/:id/unsuspend | POST | Unsuspend user |
/admin/users/:id/block | POST | Block user |
/admin/users/:id/balance | POST | Adjust balance |
/admin/users/:id/cards | GET | User's cards |
/admin/users/:id/cards | POST | Link card |
/admin/users/:id/transactions | GET | User's transactions |
Related Files
| File | Purpose |
|---|---|
src/pages/users/UsersPage.tsx | List page |
src/pages/users/UserDetailPage.tsx | Detail page |
src/components/users/ | User components |
src/services/userService.ts | API service |
src/types/user.ts | Type definitions |