I'm wanting to connect to the Xero Payroll API (https://developer.xero.com/documentation/payroll-api/overview/)
I've replaced the "api.xero.com" domain with "api-partner.network.xero.com" but still I get a 401 error. As an example, I tried creating a connection to https://api-partner.network.xero.com/payroll.xro/1.0/PayRuns
Does anyone know whether this is possible or what we need to do to get it working?
According to Xero you need to add special scope querystring parameter to the oAuth (eg. &scope=payroll.employees) but not sure if this is applicable to the api-partner.network oauth process as well.