How to create my own ppc (pay per click) app

Looking for some help in creating my own PPC website, I have my own customer base, with our own content. I’m not looking for google adwords or anything in that sort, looking for strictly my own website, and would like to attach it to a payment gateway to charge PPC.

Thank you,