Add payment methor in appointments plugin

I need to add the option to pay via a payment gateway from a bank, it would be possible to do this?

If so, where should I proceed to do my modifications?

thanks