How to block a payment method for specific customer

I just stumbled upon this as this seems like a pretty standard feature and was surprised to not see that. This blocks our switch to Shopify for now.