Rooting an Android device provides the user with administrative access and unrestricted control over the device's operating system. While rooting can provide a user with a lot of added flexibility and control over their device, it can also compromise the device's security.
Most payment apps require a secure environment to function properly and protect the user's financial information. If the root access compromises the device's security features, it could potentially allow malicious apps to access sensitive data used by payment apps. Thus, some payment apps may not work on rooted devices due to security concerns.
However, some payment apps may allow rooted devices if certain conditions are met. For example, Google Pay may allow rooted devices if the device passes its SafetyNet certification, which checks the device's security status.
Ultimately, it is up to the payment app's developer to determine whether it will work on a rooted device. Users should always proceed with caution and be aware of the potential security risks associated with rooting their device before attempting to use payment apps or any other sensitive applications.