This document provides instructions for integrating with the Penfold Payroll API using OAuth 2.0 with PKCE (Proof Key for Code Exchange).
The Penfold Payroll API allows third-party applications (such as payroll providers) to access and manage workplace pension data with user consent. This integration uses the OAuth 2.0 Authorization Code flow with PKCE for secure authentication and authorization.
If your organisation uses Slack we can invite you to our Penfold Slack workspace where our engineers can support you with the integration build. If you don’t use Slack, please use the email address below for support.
This section defines environment-specific URLs that you will need to use in your integration. Make sure to use the correct URLs depending on which environment you are targeting.
The staging environment is a complete replica of the production environment, meaning you can use it to test your integration end-to-end.
$API_URL/v4/employers/:employer_id/employees$AUTH_URL/oauth2/tokenPenfold will set you up on the production environment once you are confident your integration works correctly. Just let us know!
Before beginning integration you should:
client_id and payrollApiOrganisationId