Juspay Tenant User Management Guide
A guide to managing users, roles, and access across your Juspay tenant.
This guide covers creating and managing users at the tenant, reseller, and merchant levels including how to grant merchant access, configure roles and permissions, and switch between merchant contexts.
Understanding the Juspay Hierarchy
User Types
|
User type
|
Access level
|
Can create
|
|---|---|---|
Tenant user
| Tenant-wide
| Merchants, resellers, all user types
|
Reseller user
| Reseller-specific
| Reseller users, merchants (under reseller), merchant users
|
Merchant user
| Merchant-specific
| Merchant users
|
Context Types
When you log in or switch entities, you operate in a specific context. Your context determines what you can see and do in the system.
|
Context
|
Description
|
|---|---|
TENANT
| Tenant-level operations across all entities
|
RESELLER
| Reseller-level operations for a specific reseller
|
MERCHANT
| Merchant-level operations for a specific merchant
|
1. Creating Merchants
Merchants can be created by tenant users or reseller users.
1.1 As a Tenant
Tenants can create merchants with full configuration control:
Navigate to Merchants → Create Merchant
Fill in merchant details (ID, name, email, country, etc.)
Configure Juspay settings (2FA, merchant track, integration types, industry)
Set access control (initial roles/ACL for the merchant)
Configure client platforms and products
Create merchant
1.2 As a Reseller
Resellers have a simplified merchant creation flow:
Navigate to Merchants → Create Merchant
Fill in basic merchant details
Set access control
Create merchant (platform config is auto-set)
After creating a merchant, create users for it. See the Merchant Users section.
2. Creating Resellers
Only tenant administrators or tenant users with Resellers RW can create resellers.
Navigate to Resellers → Create Reseller
Enter reseller information (ID, name, email, type)
Configure security settings (2FA, login limits, password policies)
Assign payment gateways
Create reseller
After creating a reseller, a admin user with email mentioned in step 2 is automatically created.
3. Managing Tenant Users
Tenant Users have the highest level of access in your organization.
What tenant users can do
Access all merchants (direct and under resellers)
Create and manage resellers and merchants
Manage all user types (tenant, reseller, merchant)
Configure tenant-level settings
Access consolidated analytics
3.1 Creating a Tenant User:
3.2 Tenant User Invitation Flow
User receives email with secure setup link
User clicks link → Redirected to setup page
User sets password:
Must meet requirements (length, complexity)
Cannot reuse previous passwords
User configures 2FA (if required):
Authenticator app (Google Authenticator, Authy, etc.)
Account activated → User can log in
User status changes to ACTIVE
3.3 Managing Existing Tenant Users
3.4 View Tenant Users
Navigate to Users → List Users
3.5 Update Tenant User Email
Go to user details page
Click Update Email
Enter new email address
User must verify new email
Requirement: User status must be ACTIVE
3.6 Update Tenant User Role
Go to user details page
Click Update Role
Select new role
User's permissions automatically update to match new role
Changes take effect immediately
3.7 Update Merchant Access
See [Understanding Merchant Access]section for detailed instructions.
3.8 Enable/Disable Tenant User
Navigate to user details
Toggle Enabled status
Disabled users:
Cannot log in
Retain all data and permissions
Can be re-enabled anytime
3.9 Delete Tenant User
Soft Delete (Reversible):
Go to user details
Click Soft Delete
User status changes to SOFT_DEL
User cannot log in
Can be restored later
Hard Delete (Permanent):
Go to user details
Click Delete (requires special ACL permission)
Confirm action
User permanently removed
Cannot be undone
4. Managing Reseller Users
What are Reseller Users?
Reseller Users have access limited to their reseller's merchants. They can:
Create merchants under their reseller
Manage merchants assigned to their reseller
Create users for their merchants
Switch between their assigned merchants
Cannot access tenant settings
Cannot access other resellers' merchants
4.1 Creating a Reseller User
4.2 Managing Existing Reseller Users
View Reseller Users
Method 1: From Reseller Context
Switch to reseller context
Navigate to Users → List Users
See all users with access to this reseller
Method 2: From Reseller Details
Go to Resellers → List Resellers
Click on reseller name
Click Users tab
4.3 Update Reseller User Merchant Access
Go to reseller user details
Click Update Merchant Access (or Change Merchant Access)
Modal opens showing:
Current list of accessible merchants (searchable table)
Multi-select dropdown to modify access
Add or remove merchants
Click Update Merchant Access
Validation:
Cannot update own merchant access
User must be ACTIVE status
Must actually change access (not same as before)
Can only assign merchants within the reseller
See [Understanding Merchant Access] for more details.
4.4 Update Reseller User Role/Permissions
The process for managing reseller users is the same as for tenant users.
Update Role/Permissions
Edit the reseller user and assign the required role or permissions. Changes take effect immediately after saving.Enable/Disable Reseller User
Use the status toggle to enable or disable the reseller user account.Delete Reseller User
Reseller users can be deleted in the same way as tenant users:Soft Delete – The user is marked as deleted but can be restored later.
Hard Delete – The user is permanently removed from the system.
5. Managing Merchant Users
Merchant Users have access limited to their specific merchant(s). They can:
View and manage transactions for their merchant
Process refunds (if permitted)
Access merchant analytics
Configure merchant settings (if permitted)
Cannot access other merchants
Cannot access tenant or reseller settings
5.1 Creating a Merchant User
5.2 Managing Existing Merchant Users
View Merchant Users
Method I: From Merchant Details
Navigate to merchant details
Click Users tab
View all users with access to this merchant
Method II: From User List (with Filter)
Navigate to Users → List Users
5.3 Update Merchant User
Same process as other user types:
Update email
Update role
Enable/disable
Delete
6. Understanding Merchant Access
Merchant Access is a multi-merchant authorization system that allows users to access multiple merchants. Each user has a merchantsAccess field containing an array of merchant IDs they can access.
6.1 How Merchant Access Works
For Tenant Users
Default: Can access ALL merchants under the tenant
Restricted: Can be limited to specific merchants via merchant access
Scope: Can see direct merchants and reseller merchants
Example:
User A:
merchantsAccess = []→ Access to all merchants (implicit)User B:
merchantsAccess = ["merchant_1", "merchant_2"]→ Only these two merchants
For Reseller Users
Default: Can ONLY access merchants assigned to their reseller
Restricted: Can be limited to specific merchants via merchant access
Cannot: Access other resellers' merchants or tenant settings
Example:
Reseller has 50 merchants
Admin user: Access to all 50 merchants under the Reseller
Support user: Access to 10 specific merchants
For Merchant Users
Default: Single merchant access (their own merchant)
Cannot: Can’t be granted access to multiple merchants
6.2 Granting Merchant Access
During User Creation
When creating a user (especially for tenant/reseller)
Look for Merchant Access field
Multi-select dropdown appears
Select one or more merchants
User gets access to all selected merchants
Field appearance:
Searchable dropdown
Shows merchant IDs and names
Multi-select supported
Only shows merchants within user's scope (tenant: all, reseller: reseller's only)
6.3 Updating Merchant Access
6.4 Switching Between Merchants
Users with access to multiple merchants can switch between them:
Using the Entity Switcher
Users who have access to multiple merchants can switch between them using the Entity Switcher.
Locate the Entity Switcher
The Entity Switcher is usually available in the top-right corner of the header or navigation bar.Open the Entity Switcher
Click the switcher to view the current entity, for example:Merchant View with merchant ID
Reseller View with reseller ID
Tenant View with tenant name
Select a Merchant
The dropdown displays all merchants the user can access, including:Merchant ID
Merchant name, if available
Merchant Context is Updated
After selecting a merchant:System calls switch API
New token generated with merchant context
Page redirects to merchant dashboard
Success notification: "Switched to MERCHANT Successfully!"
User now sees data for selected merchant only. The system calls the merchant switch API.
6.5 Merchant Access Restrictions
|
Who
|
Can Update Merchant Access
|
Restrictions
|
|---|---|---|
Self
| ✗ No
| Cannot update own merchant access
|
Tenant Admin
| ✓ Yes
| Can update any user's access to tenant merchants
|
Reseller Admin
| ✓ Yes
| Can update reseller users' access to reseller merchants only
|
Merchant Admin
| ✗ No
| Typically cannot update merchant access (no button in merchant context)
|
Required ACL:
Tenant context:
tenants: ReadWriteReseller context:
resellers: ReadWrite
6.6 Common Scenarios
Scenario 1: Tenant Support Agent Across All Merchants
Requirement: Support agent needs to help customers across all merchants.
Setup:
Create user in TENANT context
Assign "Tenant Support" role
Leave merchant access empty OR select all merchants
User can switch between any merchant to view orders, process refunds
Scenario 2: Reseller Manager for Specific Portfolio
Requirement: Reseller has 100 merchants, manager handles 20.
Setup:
Create user in RESELLER context
Assign "Reseller Operations" role
Select only the 20 specific merchants in merchant access
User can only switch between those 20 merchants
7. Roles and Permissions
7.1 Understanding Roles
Roles are predefined permission sets that simplify user management.
Benefits:
Consistency: Same permissions for all users with the role
Easy Management: Assign role instead of configuring individual permissions
Scalability: Update role once to affect all users
Maintainability: Central permission management
7.2 Role Structure
Each role contains:
|
Attribute
|
Description
|
|---|---|
Role Name
| Display name of the role, for example Merchant Admin.
|
Description
| Explains the purpose and scope of the role.
|
ACL Dictionary
| Complete set of permissions for the role, organized by module.
|
Is Enabled
| Indicates whether the role is active and available for assignment.
|
Active Users Count
| Number of users currently assigned to the role.
|
7.3 Permission Levels
|
Level
|
Code
|
Description
|
|---|---|---|
No Access
| NA
| User cannot access the module.
|
Read
| R
| User can view the module but cannot make changes.
|
Read-Write
| RW
| User has full access to create, view, edit, and delete.
|
Checker
| CHECKER
| User can approve or reject requests in maker-checker workflows.
|
7.4 Creating a Custom Role
7.5 Cloning an Existing Role
To create a role based on an existing one:
Navigate to Roles → List Roles
Find the role to clone
Click Clone action
System creates "[Original Name] - Copy"
Edit the cloned role:
Rename appropriately
Modify permissions as needed
Save the role
Use case: Creating "Senior Support Agent" based on "Support Agent" with additional permissions.
7.6 Managing Roles
Navigate to Roles → List Roles
Click on role name
View:
Role description
Complete permission matrix (all modules)
List of users assigned to this role
Active users count
Go to role details page
Click Edit Role
Modify:
Role name
Description
Individual module permissions
Save changes
All users with this role immediately get the updated permissions. No separate action needed.
Be careful when updating roles - changes affect all assigned users instantly.
Enable/Disable Role
To temporarily disable a role:
1. Go to role details
2. Toggle Is Enabled to OFF
3. Confirm action
Effects of disabling:
Users with this role lose access immediately
Role cannot be assigned to new users
Users remain in the system with role attached
Re-enabling the role restores access
Requirements:
Role must have 0 active users
All users must be reassigned to other roles first
Steps:
Go to role details
Reassign all users to different roles
Verify active users count = 0
Click Delete Role
Confirm deletion
Role is permanently removed
Role deletion is permanent.
7.7 Best Practices for Roles
Principle of Least Privilege
Grant minimum permissions needed for the job
Start restrictive, expand only when necessary
Clear Naming Conventions
Use descriptive role names
Include scope in name: "Tenant Finance Analyst", "Reseller Support Agent"
Thorough Descriptions
Document role purpose clearly
Note intended user types
List key responsibilities
Regular Reviews
Review role permissions quarterly
Remove unused roles
Update permissions to match business needs
Separation of Duties
Don't combine maker and checker permissions in one role
Separate operational and approval permissions
Keep financial reporting separate from operations
6. Role Hierarchy
Create roles for different seniority levels
Junior, Senior, Manager tiers as needed
Clear permission escalation path
8. Frequently Asked Questions
User Creation and Management
Can a tenant user or reseller user access multiple merchants?
How long are user invitation links valid?
What happens if a user doesn't complete setup within 24 hours?
Can I change a user's email address?
What's the difference between disabling and deleting a user?
Merchant Access
What happens when a user switches merchants?
Can reseller users access merchants outside their reseller?
Roles and Permissions
What's the difference between R, RW, and CHECKER permissions?
What happens when I update a role's permissions?
Can I customize permissions for a user who has a role assigned?
Can I delete a role that has users assigned to it?
What happens if I disable a role?
Security
What should I do if a user account is compromised?
How often should users change passwords?
Can I require 2FA for only certain users (e.g., admins)?
Troubleshooting
User didn't receive invitation email. What should I do?
User is locked out after failed login attempts. How do I unlock?
I can't see the "Update Merchant Access" button. Why?
Why can't I update merchant access for a user?
User can't switch to a merchant even though they have access. Why?
- Have questions?
- Need help? Contact support
- LLM? Read llms.txt

