Permissions: Select the scopes you’ve requested for your application. For a list of recommended scopes, please view this integration within your Paragon dashboard. View dashboard.
Press the purple “Save Changes” button to save your credentials.
Note: Leaving the Client ID and Client Secret blank will use Paragon development keys.
Once your users have connected their Xero account, you can use the Paragon SDK to access the Xero API on behalf of connected users.See the Xero REST API documentation for their full API reference.Any Xero API endpoints can be accessed with the Paragon SDK as shown in this example.
JavaScript
Copy
Ask AI
// You can find your project ID in the Overview tab of any Integration// Authenticate the userparagon.authenticate(<ProjectId>, <UserToken>);// Query Paymentsawait paragon.request("xero", "payments", { method: "GET",});
Webhook triggers can be used to run workflows based on events in your users’ Xero account. For example, you might want to trigger a workflow whenever new customers are created in Xero to sync your users’ Xero customers to your application in real-time.
You can find the full list of Webhook Triggers for Xero below: