Using Magento 2 payment restriction, admins can assign shipping and payment methods to products and categories. But sometimes the admin wants to restrict certain shipping and payment methods for certain products and category types. So, instead of completely disabling shipping and payment methods for the store, restrict the shipping and payment methods that the administrator does not want to use for particular products and categories. This way, during the checkout process, the customer can see the shipping and payment methods specified for the order.