Membership 2 Pro Custom Payment Gateway

I want to know how to add a new type of payment in the membership2 plugin.
I have hired a TPV virtual with my bank (payment method with a credit card) and I already have the data to add this new type of payment with a credit card.
This is the service that I have contracted: