cancel
Showing results for 
Search instead for 
Did you mean: 

REST Api Get all Payment Methods

REST Api Get all Payment Methods

Hallo Everybody,

 

i'm still new in the World of Magento and has a Task to call all Payment-Methods, which are defined in Magento 2 Config publish them to our connected System.

My prior Problem is the REST API of Magento 2 which has no Implementation for Payment-Methodes directly. Only Way receiving them is to go the Way by Cart but that's no Way for us.

 

We have created our own API to get those Informations by Magento Framework. There we tried to get the Infos which are published on Config in Backend, but we are not able to go on because we can't find the Way to load necessary Classes and so on. We've found "Magento\Payment\Api" where such Functions are included to deliver the wanted Informations, but we can't our API getting connected to the Framework the way we can load the Classes and get the Method called.

 

We've searched multiple Days on the Net to find Tutorials or any other Site which contains Infos we can use, without a result Smiley Sad

 

Did anybody done those Functions in a module yet or can help us?

We spent many weeks now for this project and now we can't go on anymore.

 

Please help!

Thx