2. API Calls Introduction: An application program interface (API) is a software intermediary that allows two applications to talk to each other. In other words, an API is the messenger that delivers your request to the provider that you’re requesting it from and then delivers the response back to you. We are using two API calls to connect Xero API and get information from the Xero. One API call for login purpose and get the API key and another one…