As far as I'm aware (as I'm using one myself), you would need an API from that particular company or system, and then you'll probably have to port it into B4J code or library. Still, it depends on the nature of the gateway. If, for example, it provides a web service API, you can write PHP code on your server and connect to it from an online B4J app.