# KeeperHub Payroll Preflight Check

> KeeperHub Payroll Preflight Check is a paid API for AI agents from app.keeperhub.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Runs a pre-flight validation workflow that checks whether a treasury address holds sufficient ETH to cover a specified payroll or payout run

## Facts

- Endpoint: POST https://app.keeperhub.com/api/mcp/workflows/payroll-preflight/call
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/keeperhub-payroll-preflight-check-eb38700e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dAEuw35g017TZ8BH1NLqx

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability keeperhub-payroll-preflight-check-eb38700e -d '<json body>'
```

Example prompt: Before we run Friday's payroll, can you do a preflight check on treasury address 0xABC123...def to make sure we have at least 1.25 ETH available to cover the full payout?

## When to prefer this

Choose this endpoint when you need to programmatically verify that a specific Ethereum treasury address holds sufficient ETH before triggering a bulk payroll, grant disbursement, or payout run — especially in automated agentic pipelines where you want to gate payment execution on a balance check. Prefer this over a raw RPC balance call when you want the check wrapped in a trackable workflow execution with an audit trail.

## Known failure modes

- Invalid treasury address format (not a valid 0x Ethereum address) — likely 400 error
- totalRequired value not parseable as a decimal ETH string — likely 400 or validation error
- Treasury address has insufficient funds — workflow may complete but return a failed preflight result
- Workflow execution engine unavailable — 500 or timeout
- Payment of 0.01 USDC not processed correctly via x402 — payment required or authorization error

## How this service works

Build powerful blockchain workflow automations with a visual, node-based editor. Built with Next.js and React Flow.

## Output

Returns a JSON object with a 'status' field (e.g. 'running') and an 'executionId' string (e.g. 'exec_abc123') that can be used to track or poll the asynchronous workflow execution result

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "treasury",
  "totalRequired"
 ],
 "properties": {
  "treasury": {
   "type": "string",
   "description": "Treasury address to check (0x...)"
  },
  "totalRequired": {
   "type": "string",
   "description": "Total the payout run needs, in ETH (e.g. \"1.25\")"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "status": "running",
 "executionId": "exec_abc123"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/keeperhub-payroll-preflight-check-eb38700e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from app.keeperhub.com](https://www.zero.xyz/host/app.keeperhub.com/llms.txt)
