Weavz
Payhawk

Payhawk

Manage Payhawk expenses, suppliers, fund accounts, custom fields, and webhook subscriptions.

CustomFinance
18 tools
5 triggers

Tools

Name
list_expenses

List Payhawk expenses with paging, filters, and ordering.

get_expense

Get a Payhawk expense by ID.

get_expense_workflow

Get approval workflow details for a Payhawk expense.

create_expense

Create a Payhawk bill, reimbursable, or cash expense. Per diem and mileage expenses are not supported by Payhawk API docs.

update_expense

Update a Payhawk expense using the official API body.

delete_expense

Delete a Payhawk expense. Payhawk notes paid expenses cannot be deleted.

list_suppliers

List Payhawk suppliers.

get_supplier

Get a Payhawk supplier by ID.

create_supplier

Create a Payhawk supplier.

update_supplier

Update a Payhawk supplier.

list_fund_accounts

List Payhawk fund accounts.

get_bank_statement

Get bank statement lines for a Payhawk fund account.

list_custom_fields

List Payhawk custom fields.

create_custom_field

Create a Payhawk custom field.

delete_custom_field

Delete a Payhawk custom field. Existing expenses are not updated automatically by Payhawk.

list_webhook_subscriptions

List Payhawk webhook subscriptions for the account.

create_webhook_subscription

Create a Payhawk webhook subscription for a callback URL and event type.

custom_api_call

Call a constrained Payhawk account spend API path.

Triggers

Name
webhook_event

Receive any Payhawk webhook event. Configure the callback URL in Payhawk.

expense_created

Receive Payhawk expense.created webhook events. Configure the callback URL in Payhawk.

expense_approved

Receive Payhawk expense.approved webhook events. Configure the callback URL in Payhawk.

supplier_updated

Receive Payhawk supplier.updated webhook events. Configure the callback URL in Payhawk.

payment_settled

Receive Payhawk payment.settled webhook events. Configure the callback URL in Payhawk.

Quick Start

TypeScript
import { WeavzClient } from '@weavz-io/sdk'

const weavz = new WeavzClient({ apiKey: 'wvz_...' })

const result = await weavz.actions.execute('payhawk', 'list_expenses', {
  workspaceId: '550e8400-e29b-41d4-a716-446655440000',
  integrationAlias: 'payhawk',
  input: { /* ... */ },
})

Related Integrations

Works well with

Frequently Asked Questions

How do I connect Payhawk to my app?

Use Weavz Hosted Connect for Custom authentication. Install the SDK, create a connection through the connect portal or API, then execute tools programmatically.

What tools does Payhawk support?

Payhawk supports 18 tools including List Expenses, Get Expense, Get Expense Workflow, Create Expense, Update Expense, and more.

Can I use Payhawk with AI agents?

Yes. Add Payhawk to an MCP server in Tool Mode or Code Mode. Code Mode provides 3 meta-tools with on-demand API discovery so agents can compose stateful workflows without loading every action schema up front.

Can Payhawk be used in stateful agent workflows?

Yes. Agents can combine Payhawk tools with Filesystem, State KV, Human Gates, input partials, and other workspace integrations while keeping execution scoped to the selected workspace or end user.

What authentication does Payhawk use?

Payhawk uses Custom. Weavz stores credentials securely and uses them for authorized action execution.

How much does the Payhawk integration cost?

The Payhawk integration is included on all Weavz plans including the free tier with 20,000 actions per month. No credit card required.

What triggers does Payhawk support?

Payhawk supports 5 triggers including Webhook Event, Expense Created, Expense Approved, Supplier Updated, Payment Settled.

Connect Payhawk in minutes

Get 20,000 free action executions every month. No credit card required.