Smartube + Panel Reseller Credit v.2.0
GENERAL SYSTEM CONCEPT
The panel operates with an account hierarchy and a credit system.
Credits represent:
days
or units
or licenses
Each new account consumes credits.
Credits always flow from parent to child.
️ ACCOUNT HIERARCHY
From most powerful to most limited:
MASTER
└── Reseller
└── Sub-reseller
└── Customer
MASTER (main account)
Role
This is the root account.
It has the most credits.
It controls everything.
Can:
create resellers
distribute credits
view all statistics
manage global settings
Example:
Master = software owner
RESELLER
Role
Intermediate account
Receives credits from the Master
Can redistribute them
Can:
Create sub-resellers
Create customers
Create tests
Manage their own customers
Cannot:
Exceed their received credits
Modify the overall system
SUB-RETAILER
Role
Even more limited account
Receives credits from the reseller
Can:
Create customers
Sometimes create tests
Manage only THEIR customers
CUSTOMER
Role
End user
Does not create anyone
Uses one access account
TEST ACCOUNT
Role
Temporary account
Very short duration (e.g., 24h / 48h)
Used to demonstrate the service
Important feature:
Costs fewer credits
or sometimes 0 credits
But is time-limited
CREDIT SYSTEM (MOST IMPORTANT)
Fundamental principle
Credits are not created automatically
They:
are given by the parent
are deducted with each new account creation
CREDIT DEDUCTION (LOGIC)
Simple example
A reseller has:
100 credits
Creation of a 1-month customer
Cost: 30 credits
Result:
100 - 30 = 70 credits remaining
Creation of a 24-hour trial
Cost: 1 or 0 credits
Result:
70 - 1 = 69 Credits
Creation of a sub-reseller
The reseller allocates, for example, 20 credits to the sub-reseller.
Result:
69 - 20 = 49 credits
The 20 credits are transferred to the sub-reseller.
The panel operates with an account hierarchy and a credit system.
Credits represent:
days
or units
or licenses
Each new account consumes credits.
Credits always flow from parent to child.
️ ACCOUNT HIERARCHY
From most powerful to most limited:
MASTER
└── Reseller
└── Sub-reseller
└── Customer
Role
This is the root account.
It has the most credits.
It controls everything.
Can:
create resellers
distribute credits
view all statistics
manage global settings
Example:
Master = software owner
Role
Intermediate account
Receives credits from the Master
Can redistribute them
Can:
Create sub-resellers
Create customers
Create tests
Manage their own customers
Cannot:
Exceed their received credits
Modify the overall system
Role
Even more limited account
Receives credits from the reseller
Can:
Create customers
Sometimes create tests
Manage only THEIR customers
Role
End user
Does not create anyone
Uses one access account
Role
Temporary account
Very short duration (e.g., 24h / 48h)
Used to demonstrate the service
Important feature:
Costs fewer credits
or sometimes 0 credits
But is time-limited
CREDIT SYSTEM (MOST IMPORTANT)
Fundamental principle
Credits are not created automatically
They:
are given by the parent
are deducted with each new account creation
CREDIT DEDUCTION (LOGIC)
Simple example
A reseller has:
100 credits
Cost: 30 credits
Result:
100 - 30 = 70 credits remaining
Cost: 1 or 0 credits
Result:
70 - 1 = 69 Credits
The reseller allocates, for example, 20 credits to the sub-reseller.
Result:
69 - 20 = 49 credits
The 20 credits are transferred to the sub-reseller.





