Adding new payment gateway to POS module

Hi everyone. I will like to add a new payment gateway to the POS module. Can someone in the here give a heads-on?