X

Xero Payroll AU API

REST discovered

Details
URL
https://api.xero.com/payroll.xro/1.0
Docs
https://developer.xero.com/documentation/api/accounting/overview
Authentication
Xero OAuth 2.0 app client credentials + Xero OAuth 2.0 app client credentials xero-tenant-id: <credential> discovered
Xero OAuth 2.0 app client credentials oauth2 Set up OAuth ↗

In the Xero Developer app manager, create an OAuth 2.0 app to get a Client ID and, for confidential apps, a Client Secret. Configure your redirect URI(s) there. For CLI PKCE usage, create a PKCE app and set the redirect URI to http://localhost:8742/callback. For user-authorized API access, follow the OAuth 2.0 authorization flow guide.