adding my local payment gateway to Membership

Hi,

We have a local gateway here in Kenya with a simple API, please see it here:

http://developer.pesapal.com/

How do I integrate it so that it works with Membership?

Thanks,

David