3. Get a Payhawk API key
The connector authenticates to Payhawk with an API key sent in the X-Payhawk-ApiKey header. You generate this key in Payhawk.
Start in Sandbox
Always validate the integration with a Sandbox key first. Switch to a Production key only after a clean test sync. The Odoo side keeps Sandbox and Production keys separately, so you can hold both at once.
Generate the key in Payhawk
- Sign in to your Payhawk account.
- Open Settings → Developer API (you need developer/admin access). See Payhawk's API overview.
- Create an API key and copy it — you will paste it into Odoo.
Group (multi-entity) accounts
If your organization uses a Payhawk group account (multiple legal entities under one group), you will also have a Group ID and Group API key. The connector supports group accounts — you enter these in the configuration step.
v19 specifics
In Odoo 19 the Group ID and Group Key are company-dependent — each Odoo company holds its own group settings. (In v17/v18 they were global.) See version differences.
What you do not need to fill
The Account ID is discovered automatically on the first sync — leave it blank. Payhawk returns it from the /accounts endpoint and the connector stores it.
Next: Configuration →