SafetyNet is what Google uses to determine if your device has been rooted. A rooted device can be a security risk for apps like Android Pay so you can see why Google might want to block root when it comes to apps that store credit card numbers and bank info. Still if you know the risks and still want to be able to root your device and use such apps you can with Magisk SuperSU Hider.
SafetyNet was able to detect root even when SuperSU hiders like Magisk were being used. Magisk was just updated and enables you to hide SuperSU so you can once again use Android Pay and even apps like PokeMon Go. Head to the link below to grab the update.
via XDA