# Spraay Payroll Execute

> Spraay Payroll Execute is a paid API for AI agents from gateway.spraay.app, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-14).

Executes a payroll run, disbursing payments to a list of employees via the Spraay V2 payroll system.

## Facts

- Endpoint: POST https://gateway.spraay.app/api/v1/payroll/execute
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/spraay-payroll-execute-b3b4aba5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bqEvVz12SMC90PTk2aPws

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 spraay-payroll-execute-b3b4aba5 -d '<json body>'
```

Example prompt: Run payroll for my team using Spraay — the sender is 0xABC123 and the employee list includes Alice at 0xDEF456 for $3,000 and Bob at 0xGHI789 for $2,500.

## When to prefer this

Use this endpoint when you need to programmatically trigger a payroll disbursement to multiple employees or contractors in a single batch call via the Spraay V2 system, especially in agentic or automated HR/finance workflows where payroll should run on schedule or on-demand without manual intervention.

## Known failure modes

- Invalid or expired token returns authentication error
- Malformed employee array (missing address or amount) causes validation failure
- Insufficient sender balance causes transaction failure
- Network or chain congestion may delay execution confirmation
- Empty employee array returns a no-op or validation error

## How this service works

Execute payroll via Spraay V2.

## Output

Returns a payroll execution confirmation including transaction status, a summary of disbursements made to each employee, and any errors or failed payments in the batch.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "token": {
   "type": "string"
  },
  "sender": {
   "type": "string"
  },
  "employees": {
   "type": "array"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/spraay-payroll-execute-b3b4aba5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gateway.spraay.app](https://www.zero.xyz/host/gateway.spraay.app/llms.txt)
