If you are developing any payment related extension in Magento2 and you want to get the active Payment methods list with the multi selection option in Magento configuration,
You can follow this code.

Do let us know if you face any trouble or suggestions. We will always be happy to assist you.
Happy Coding.

Click to rate this post!
[Total: 5 Average: 4.6]