Payhawk MCP by usefulapi
v1.2.1Read expenses, approval workflows, users, teams and fund accounts in Payhawk.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
payhawk_list_expenses List expenses
List expenses of the account, one page at a time (skip and take, up to 1000 per page). Filter with a JSON filter (status, supplier name, and so on). Payhawk Developer API: GET /api/v3/accounts/{accountId}/expenses.
| Parameter | Type | Description |
|---|---|---|
filter | string | Optional JSON filter object for expense fields, sent as $filter. Example: {"status":{"$equal":"draft"}} or {"supplier.name":{"$contains":"Acme"}}. Combine with {"$and":[...]}. |
skip | integer | Records to skip (paging). Default 0. |
take | integer | Records per page, 1 to 1000. Default 1000. |
payhawk_get_expense Get an expense
Get one expense by id: status, amounts, supplier, dates, review and approval fields. Payhawk Developer API: GET /api/v3/accounts/{accountId}/expenses/{expenseId}.
| Parameter | Type | Description |
|---|---|---|
expense_id * | string | The expense id. |
payhawk_get_expense_workflow Get an expense workflow
Get the approval workflow state of one expense: which steps ran and what is still open. Payhawk Developer API: GET /api/v3/accounts/{accountId}/expenses/{expenseId}/workflow.
| Parameter | Type | Description |
|---|---|---|
expense_id * | string | The expense id. |
payhawk_list_users List users
List the users of the account (name, email, role, status). Payhawk Developer API: GET /api/v3/accounts/{accountId}/users.
| Parameter | Type | Description |
|---|---|---|
filter | string | Optional JSON filter object for user fields, sent as $filter (Payhawk Developer API filter syntax). |
payhawk_get_user Get a user
Get one user of the account by id. Payhawk Developer API: GET /api/v3/accounts/{accountId}/users/{userId}.
| Parameter | Type | Description |
|---|---|---|
user_id * | string | The user id. |
payhawk_list_teams List teams
List the teams of the account. Payhawk Developer API: GET /api/v3/accounts/{accountId}/teams.
payhawk_list_team_members List team members
List the members of one team. Payhawk Developer API: GET /api/v3/accounts/{accountId}/teams/{teamId}/members.
| Parameter | Type | Description |
|---|---|---|
team_id * | string | The team id. |
payhawk_list_custom_fields List custom fields
List the custom expense fields of the account (for example Project or Cost center) and their allowed values. Payhawk Developer API: GET /api/v3/accounts/{accountId}/custom-fields.
payhawk_list_webhooks List webhook subscriptions
List the webhook subscriptions of the account (event type and callback URL). Payhawk Developer API: GET /api/v3/accounts/{accountId}/webhooks.
payhawk_list_fund_accounts List fund accounts
List the fund accounts of the account (the balances that cards and payments draw from). Payhawk Developer API: GET /api/v3/accounts/{accountId}/fund-accounts.
payhawk_get_fund_account_bank_statement Get a fund account bank statement
Get the bank statement lines of one fund account. Payhawk Developer API: GET /api/v3/accounts/{accountId}/fund-accounts/{fundAccountId}/bank-statement.
| Parameter | Type | Description |
|---|---|---|
fund_account_id * | string | The fund account id. |