Introduction

The Zeal Payroll API enables you to onboard companies and employees, run payroll for hourly workers, retrieve payroll results, and more. By connecting with Zeal's white-label payroll, you can seamlessly pay workers faster while owning the experience end-to-end.

You can refer to this documentation for API endpoints, example request bodies, example responses, and error codes. Please contact your Partner Growth Manager or [email protected] for any questions or suggestions.


Zeal Postman Collection

Run in Postman


Authentication and Keys

Zeal authenticates API requests using the employer account’s companyID and the employer or partner account's API key. The Zeal companyID and secret API key are necessary for the authorized consumption of any endpoints. If you do not include your key when making an API request, or use one that is incorrect or outdated, Zeal returns a 401 error.

For employers: The companyID and API keys can be found under the 'API' Page on Zeal's dashboard. Your secret API key can be used to make any API call on behalf of your account.

For partners: An employer's companyID can be found on the Zeal Partner Dashboard or in the API Page of the employer's dashboard. Your API keys can be found under the 'API' Page on Zeal's Partner dashboard. Your secret API key can be used to make any API call on behalf of any of your sub-employers' accounts.

Treat your secret API keys as you would any other password. Grant access only to those who need it. Ensure it is kept out of any version control system you may be using.


Using Zeal Credentials

Include the API key in the Authentication as a bearer token.

Example: Authorization: Bearer <YOUR API KEY>

Include the companyID in the body or query of the request. You can find examples of usage in the endpoints specified below.


Test and Production Modes

Zeal features Production and Test modes to help with the integration process. The test and production modes function almost identically, with a few necessary differences:
In test mode, payroll is NOT run and NO money is moved. Test employer checks and employee checks contain simulated tax information based on the given gross pay.
In test mode, the number of test employees and the amount of wages will not have any effect on the Zeal fees incurred.
In production mode, the number of employees and the amount of wages paid out WILL incur charges from Zeal.

You can view test data by toggling the Partner Dashboard's Test Mode button.


Test and Production API Keys

You can find Test and Production API Keys on your Partner Dashboard on the 'API' page.
API calls to the below endpoints using the Test key will result in responses reflecting Test data or changes to the Test data (test employees, test employer checks, test employee checks).
API calls to the below endpoints using the production key will result in responses reflecting Production data or changes to the Production data β€” payrolls will be run and money will be disbursed.