Retrieve Payum gateway info

Hi, I’m making right now AmazonPay integration plugin.
Is there any way to retrieve payum configuration for remote gateway?
I need to put widget “Login with Amazon” with some parameters included at checkout/address page.
I inject widget through sonata block event but I need pass there some configuration parameters.
Right now I’ve done it through ReplyInterface and custom payum event, but maybe there is some easier way?