Not to be brutal, but If you don't know where to start, a quick answer forum for programming related questions geared towards people who are stuck with code related issues is certainly not the place to ask how do i start a business.
I recommend you start with a google search and plan on investing a lot of time, money into R&D on your end.
how to start a payment gateway - Google Search[
^]