Could somebody tell me if this is possible in Magento 2 - to have payment method I can choose via API (programmatically) but not show (this payment method) on store website?
CodePudding user response:
Of course, as long as the method is enabled, you can extend your front template to filter only the method you want. But all the methods that you need either in front or in API have to be enabled. After that, it's just your decision with the template.