How to block a payment method for specific customer

Hello! I have b2c and b2b prices for each product, so I have been using the bundle app. It manages the overall inventory from the b2c product but offers discounts to b2b customers (I have the b2b listing in a password protected category)
I’m not sure if this works for you? :blush: