Get all active payment method list by store id Magento 2.

You can get all the active payment method list using Magento 2 by PaymentMethodListInterface interface.

You can fetch the list of all active payment method only with the specific store by Payment title/code and name.

You just need to pass current store id in the getActiveList() method of above interface.

You can call the above function and iterate over a loop to get all the active payment method list,

You got the Payment method code and Payment title as the response.