# action402 Paid Webhook Executor

> action402 Paid Webhook Executor is a paid API for AI agents from action402.vercel.app, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Executes a public HTTPS webhook/API call on behalf of an agent after x402 micropayment, with retries and idempotency, returning a signed receipt with hashes and status.

## Facts

- Endpoint: POST https://action402.vercel.app/api/execute/webhook
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/action402-vercel-app-adab2ac1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IsiGLrLdD2pTliD69kMyA

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 action402-vercel-app-adab2ac1 -d '<json body>'
```

Example prompt: Execute this webhook for me — POST to https://api.example.com/notify with the JSON body {"event":"order_placed","orderId":"12345"}, make sure it retries on failure, and give me back the signed receipt proving it ran.

## When to prefer this

Choose this endpoint when an AI agent needs verifiable, tamper-evident proof that a specific HTTPS action was executed — especially in autonomous or trustless contexts where accountability matters. Prefer it over raw HTTP calls when you need retry logic, idempotency guarantees, and a signed receipt for auditability. Best suited for x402-enabled agentic workflows where per-call micropayments are acceptable.

## Known failure modes

- Target URL is unreachable or returns a non-2xx after all retries — receipt returned with failed status and attempt count
- x402 payment is invalid or insufficient — request rejected before execution
- Malformed target URL or unsupported HTTP method — validation error returned
- Idempotency key collision with conflicting payload — duplicate-conflict error
- Vercel cold start or infrastructure timeout — intermittent latency or timeout error

## How this service works

Paid webhook/API execution for autonomous agents. Executes one public HTTPS action after x402 payment, applies retries and idempotency, then returns a signed receipt with request hash, response hash, target, status, and attempt count.

## Output

A signed receipt object containing: a hash of the outbound request, a hash of the target's response, the target URL, the final HTTP status code, and the number of attempts made. This receipt can be used to prove the action was executed as specified.

## Example request

```json
{
 "url": "https://httpbin.org/post",
 "body": {
  "test": "webhook_execution",
  "timestamp": "2024-01-15T10:30:00Z"
 },
 "retry": {
  "attempts": 2,
  "backoffMs": 500
 },
 "method": "POST",
 "headers": {
  "Content-Type": "application/json",
  "X-Test-Header": "qa-test"
 },
 "timeoutMs": 5000,
 "idempotencyKey": "qa-test-safe-001"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "description": "Absolute public HTTPS URL to call."
  },
  "body": {
   "description": "JSON body forwarded to the target endpoint."
  },
  "retry": {
   "type": "object",
   "properties": {
    "attempts": {
     "type": "integer",
     "default": 1,
     "maximum": 3,
     "minimum": 1
    },
    "backoffMs": {
     "type": "integer",
     "default": 250,
     "maximum": 5000,
     "minimum": 0
    }
   },
   "additionalProperties": false
  },
  "method": {
   "enum": [
    "POST",
    "PUT",
    "PATCH",
    "DELETE"
   ],
   "type": "string",
   "default": "POST"
  },
  "headers": {
   "type": "object",
   "additionalProperties": {
    "type": [
     "string",
     "number",
     "boolean"
    ]
   }
  },
  "timeoutMs": {
   "type": "integer",
   "default": 12000,
   "maximum": 12000,
   "minimum": 1000
  },
  "idempotencyKey": {
   "type": "string",
   "maxLength": 160,
   "minLength": 1
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/action402-vercel-app-adab2ac1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from action402.vercel.app](https://www.zero.xyz/host/action402.vercel.app/llms.txt)
