OpenAPI overview

Paid webhook execution with public verification endpoints.

The API contract is intentionally narrow: execute one paid action, inspect the job, and verify the receipt.

Paths

Small surface, clear behavior.

The browser page summarizes the raw OpenAPI JSON so clickable navigation stays usable in browsers that block direct JSON documents.

paid

POST /api/execute/webhook

Protected by x402 in production mode. Returns job and receipt links.

public

GET /api/jobs/:id

Returns job status, target origin, attempts, and receipt id.

public

GET /api/receipts/:id

Returns receipt data and verifies the HMAC signature.

public

GET /api/verify/jobs/:id

Returns a proof report for signature and job/receipt consistency.

metadata

GET /api/capabilities

Returns agent-readable service configuration and safety limits.

metadata

GET /api/bazaar

Returns Bazaar-facing x402 discovery metadata.

Request preview

Execute one webhook.

{
  "url": "https://example.com/webhook",
  "method": "POST",
  "body": {
    "event": "agent.test",
    "ok": true
  },
  "idempotencyKey": "agent-test-001",
  "retry": {
    "attempts": 2,
    "backoffMs": 300
  }
}