Overview
Getting Started
You'll need to create an Application in Sage's developer portal. Make sure you set the callback URL to be the Ledgerflow Endpoint: https://xero.api.ledgerscope.com/OAuth/ApiAuthorise/CallbackAuthCompany/
Once you've done that, enter your keys in your Ledgerflow API account. This will enable you to start offering connections to Sage Accounting to your customers.
Differences to be aware of
When a user authorises access to Xero they select which Organisation they want to grant access to. You then use the Access Token and the Tenant Id to make requests to that Organisation. When a user authorises access to Sage Accounting they are automatically granting access to all current and future Organisations within their Sage Accounting account. You can use the /Connections
endpoint to list which Organisations are available to access. This is handled in the same way that Xero offer Bulk Connections.