You might think of who has done this and how he did it, so be calm; on this article, I would describe all those things in details. This has become possible by the famous Android Developer called Chainfire who has released a new app called Suede through an experimental hack, which would allow users to hide their root status as Per-App Basis.
Rooting a device allows users to get access to a wide variety of apps and core access of the Android System but doing this you can also lose access to certain apps like banking, payment and corporate security. For example Google’s Android Pay, which does not have access to the rooted apps; however the developers tried to get access for the rooted app as well.
That does not mean that you should not make your android device rooted. This is the wrong concept. You must make your android device rooted since Google cares about your security. Google uses API called SafetyNet API to detect whether your Android device is rooted or not.
And the SafetyNet would prevent Android Pay from functioning since API works by checking whether an Android device has been tampered with rooted or not by the user; or also check it is infected with malware and if found, it would block the API to access on that app.
However, the Suede app, developed by the Chainfire, would allow you to hide your root status on Per-App basis and it is also assumed that it would even work for Android Pay Pall as well. Suede works only on a stock ROM based on Android 6.0 Marshmallow or higher.
However, this app would not be last longer since it came up with Systemless Root and did not allow Android Pay to detect rooted users and the Google patched rejected rooted users once again. But contrarily, you can have Android Pay on your rooted device once again until Google comes up with the new update. Till then no one knows what would happen next.