I am in the process of researching the capabilities of Magento2, particularly if it is possible to integrate a third party API in Magento. If for example a customer puts an item into the basket, at that point there should be a (synchronous) API call from Magento to the third party. There should also be another API call when the payment is processed, again involving the same third party API. I've seen Magento's integration documentation, but that doesn't suit my situation. If anyone has any insight regarding my issue, help would be much appreciated.