I am working on the Magento 2 payment gateway. The backend is completed but in frontend we stuck for getting the Magento 2 customer detail and post it to our 3rd party API. Please suggest.
To implement payment gateway on Magento 2, I would recommend you to use the following reference:
This is simple in words and also a best solution to solve your problem.