All payment gateways provide developer API, for example https://developer.paypal.com/docs/api/overview/ .
I googled and found this website explaining Joget's Integration methods.