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

Entity and User Hierarchy
Entity and User Hierarchy

User Types

Scroll inside to view more
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.

Scroll inside to view more
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:

  1. Navigate to MerchantsCreate Merchant

  2. Fill in merchant details (ID, name, email, country, etc.)

  3. Configure Juspay settings (2FA, merchant track, integration types, industry)

  4. Set access control (initial roles/ACL for the merchant)

  5. Configure client platforms and products

  6. Create merchant

1.2 As a Reseller

Resellers have a simplified merchant creation flow:

  1. Navigate to MerchantsCreate Merchant

  2. Fill in basic merchant details

  3. Set access control

  4. Create merchant (platform config is auto-set)

Note

After creating a merchant, create users for it. See the Merchant Users link iconsection.

Create Merchant from Tenant User
Create Merchant from Tenant User

2. Creating Resellers

Only tenant administrators or tenant users with Resellers RW can create resellers.

  1. Navigate to ResellersCreate Reseller

  2. Enter reseller information (ID, name, email, type)

  3. Configure security settings (2FA, login limits, password policies)

  4. Assign payment gateways

  5. Create reseller

Note

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

Tenant user management Page
Tenant user management Page

3.1 Creating a Tenant User:

Step 1.
Step 2.
Enter User Email
Step 3.
Select Merchant Access (Optional)
Step 4.
Assign Role
Step 5.
Send Invitation

3.2 Tenant User Invitation Flow

  1. User receives email with secure setup link

  2. User clicks link → Redirected to setup page

  3. User sets password:

    • Must meet requirements (length, complexity)

    • Cannot reuse previous passwords

  4. User configures 2FA (if required):

    • Authenticator app (Google Authenticator, Authy, etc.)

  5. Account activated → User can log in

  6. User status changes to ACTIVE

3.3 Managing Existing Tenant Users

Managing Existing Users
Managing Existing Users

3.4 View Tenant Users

  1. Navigate to UsersList Users

3.5 Update Tenant User Email

  1. Go to user details page

  2. Click Update Email

  3. Enter new email address

  4. User must verify new email

  5. Requirement: User status must be ACTIVE

3.6 Update Tenant User Role

  1. Go to user details page

  2. Click Update Role

  3. Select new role

  4. User's permissions automatically update to match new role

  5. Changes take effect immediately

3.7 Update Merchant Access

See [Understanding Merchant Accesslink icon]section for detailed instructions.

3.8 Enable/Disable Tenant User

  1. Navigate to user details

  2. Toggle Enabled status

  3. Disabled users:

    1. Cannot log in

    2. Retain all data and permissions

    3. Can be re-enabled anytime

3.9 Delete Tenant User

Soft Delete (Reversible):

  1. Go to user details

  2. Click Soft Delete

  3. User status changes to SOFT_DEL

  4. User cannot log in

  5. Can be restored later

Hard Delete (Permanent):

  1. Go to user details

  2. Click Delete (requires special ACL permission)

  3. Confirm action

  4. User permanently removed

  5. 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

Step 1.
Switch to Reseller Context
Step 2.
Enter User Email

Step 3.
Assign Merchant Access [Optional or can be mandated]
Step 4.
Assign Role or Configure ACL
Step 5.
Create User

4.2 Managing Existing Reseller Users

View Reseller Users

Method 1: From Reseller Context

  1. Switch to reseller context

  2. Navigate to UsersList Users

  3. See all users with access to this reseller

Method 2: From Reseller Details

  1. Go to ResellersList Resellers

  2. Click on reseller name

  3. Click Users tab

4.3 Update Reseller User Merchant Access

  1. Go to reseller user details

  2. Click Update Merchant Access (or Change Merchant Access)

  3. Modal opens showing:

    1. Current list of accessible merchants (searchable table)

    2. Multi-select dropdown to modify access

  4. Add or remove merchants

  5. 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 Accesslink icon] 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

Step 1.
Switch to Merchant Context
Step 2.
Enter User Email
Step 3.
Assign Role or Configure ACL
Step 4.
Create User

5.2 Managing Existing Merchant Users

View Merchant Users

Method I: From Merchant Details

  1. Navigate to merchant details

  2. Click Users tab

  3. View all users with access to this merchant

Method II: From User List (with Filter)

  1. Navigate to UsersList 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

  1. When creating a user (especially for tenant/reseller)

  2. Look for Merchant Access field

  3. Multi-select dropdown appears

  4. Select one or more merchants

  5. 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

Step 1.
Step 2.
Click "Update Merchant Access"
Step 3.
Update Merchant Access Modal Opens
Step 4.
Modify Access
Step 5.
Save Changes

6.4 Switching Between Merchants

Users with access to multiple merchants can switch between them:

Switching User
Switching User

Using the Entity Switcher

Users who have access to multiple merchants can switch between them using the Entity Switcher.

  1. Locate the Entity Switcher
    The Entity Switcher is usually available in the top-right corner of the header or navigation bar.

  2. 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

  3. Select a Merchant
    The dropdown displays all merchants the user can access, including:

    • Merchant ID

    • Merchant name, if available

  4. 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

Scroll inside to view more
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: ReadWrite

  • Reseller 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:

  1. Create user in TENANT context

  2. Assign "Tenant Support" role

  3. Leave merchant access empty OR select all merchants

  4. 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:

  1. Create user in RESELLER context

  2. Assign "Reseller Operations" role

  3. Select only the 20 specific merchants in merchant access

  4. 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

Role Management
Role Management

7.2 Role Structure

Each role contains:

Scroll inside to view more
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

Scroll inside to view more
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

Step 1.
Step 2.
Enter Role Information
Step 3.
Configure Permissions
Step 4.
Review & Create Role

7.5 Cloning an Existing Role

To create a role based on an existing one:

  1. Navigate to RolesList Roles

  2. Find the role to clone

  3. Click Clone action

  4. System creates "[Original Name] - Copy"

  5. Edit the cloned role:

    • Rename appropriately

    • Modify permissions as needed

  6. Save the role

Use case: Creating "Senior Support Agent" based on "Support Agent" with additional permissions.

7.6 Managing Roles

  1. Navigate to RolesList Roles

  2. Click on role name

  3. View:

    • Role description

    • Complete permission matrix (all modules)

    • List of users assigned to this role

    • Active users count

7.7 Best Practices for Roles

  1. Principle of Least Privilege

  • Grant minimum permissions needed for the job

  • Start restrictive, expand only when necessary

  1. Clear Naming Conventions

  • Use descriptive role names

  • Include scope in name: "Tenant Finance Analyst", "Reseller Support Agent"

  1. Thorough Descriptions

  • Document role purpose clearly

  • Note intended user types

  • List key responsibilities

  1. Regular Reviews

  • Review role permissions quarterly

  • Remove unused roles

  • Update permissions to match business needs

  1. 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?

Last updated 10 days ago