---
title: "Payhawk"
description: "Connect Payhawk to bring expenses, receipts, and each fund account into Eagl with a read-only API key, and reconcile your Payhawk fund accounts like bank accounts."
url: https://docs.geteagl.com/integrations/payhawk/
index: https://docs.geteagl.com/llms.txt
---

# Payhawk

**Payhawk** is a corporate card and spend-management platform. Connecting it brings your Payhawk expenses into Eagl next to your ledger, and adds each Payhawk fund account as a bank account you can [reconcile](https://docs.geteagl.com/features/reconciliation.md).

## What syncs in

- **Expenses**: card payments, bills, reimbursements, mileage, and per diems
- **Amounts**: totals and tax, in the original currency and your reporting currency
- **Supplier** details and the expense **category**
- **Coding** from Payhawk: GL account, tax code, cost center, and other custom fields
- **Status**: approval, payment, and whether the expense has been exported to your ERP
- **Receipts and invoices** attached to each expense
- **Fund accounts**: each fund account Payhawk holds for you, such as **Payhawk EUR**, as a bank account, with its payments, deposits, and fees, today’s balance, and a balance for each past month-end that Eagl works out from the statement. Only debit fund accounts are included, not Payhawk credit or the bank accounts and cards you linked in Payhawk.

Eagl checks Payhawk for changes every hour, and removes expenses that were deleted in Payhawk.

The connection is read-only. Eagl doesn’t change anything in Payhawk or post anything to your ERP.

## Set up Payhawk

Eagl connects to Payhawk with an API key and your Account ID. To create the key, you need to be a Payhawk Administrator or IT Administrator, or have a custom role with the **View developer API access** and **Manage external integrations** permissions.

1. **Start a new API key.**

   In Payhawk, go to **Settings → Integrations**. Under **Available integrations**, open the **API** tab and click **Connect** on **API Integration**.

   ![The Payhawk Integrations page, with the API tab selected and the Connect button on API Integration.](https://docs.geteagl.com/_astro/01-api-integration.CCRcoeEs_1BLFn0.webp)

2. **Create a read-only key.**

   Enter a **Name**, such as **Eagl**. Change **Scope** to **Read-only access**, because it’s set to **Full access** by default. Then click **Create**.

   ![The Create a new API key form with the name Eagl and the scope set to Read-only access.](https://docs.geteagl.com/_astro/02-create-api-key.CgSTVHSy_ZXM0I7.webp)

3. **Copy the key.**

   Click **Copy** and keep the key somewhere safe until you’ve connected Eagl.

   ![The new Eagl API key, marked read-only access, with the Copy button next to the key.](https://docs.geteagl.com/_astro/03-copy-api-key.Nc6coUuZ_Xzo1X.webp)

4. **Copy your Account ID.**

   Your Account ID is the `account` value in the address bar when you’re signed in to Payhawk. In `https://portal.payhawk.com/?account=acme_1a2b3c4d`, the Account ID is `acme_1a2b3c4d`.

> **The key is shown once**
>
> Payhawk shows the full key only when you create it. If you lose it before you’ve connected Eagl, click **Manage** on the key under **Active** and click **Regenerate**. Once Eagl is connected, there’s no field in Eagl to replace the key yourself, so contact Eagl support at <support@geteagl.com> before you regenerate it.

## Connect in Eagl

> **Admins and owners only**
>
> An Eagl admin or owner must do these steps.

1. In Eagl, go to **Settings → Integrations** and click **Connect** on Payhawk.

2. Paste the **API key** and **Account ID** from the steps above.

3. Click **Test** to check the credentials, then click **Connect**.

4. Link each fund account to its GL account. Eagl links a fund account for you when it finds the fund account’s IBAN and one GL account’s name holds it. For the others, open **Reconciliation** and switch to **Sources**. Under **Bank feeds**, click **Link GL account** on the fund account and pick the GL account you book it to. See [Sources](https://docs.geteagl.com/features/reconciliation.md#sources).

Once a fund account is linked, it takes part in [reconciliation](https://docs.geteagl.com/features/reconciliation.md).

> **API base URL**
>
> The API base URL is optional. Leave it empty unless Payhawk has given you a different endpoint. It must be an `https` address on `payhawk.io`.

[All integrations](https://docs.geteagl.com/settings/integrations.md): Back to the integrations overview.
