ConfigInterface
Magento\Payment\Model\Method\ConfigInterface
What it does
This interface served as a contract for payment method configuration classes in Magento 2, extending the Gateway ConfigInterface.
However, it has been deprecated since version 100.3.0 and developers should use the parent \Magento\Payment\Gateway\ConfigInterface directly instead.
This interface was originally meant to standardize how payment methods retrieve their configuration settings.