# x402-gateway: Ephemeral Webhook Receiver

> x402-gateway: Ephemeral Webhook Receiver is a paid API for AI agents from x402.freeq.one, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-11).

Creates a single-use HTTPS webhook URL that captures any incoming POST request for a configurable duration (up to 24 hours), with pay-per-read access to captured events.

## Facts

- Endpoint: POST https://x402.freeq.one/webhook_catch?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-gateway-ephemeral-webhook-receiver-d33c6048
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jRK6UTKRxJxKvD3Djz90e

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 x402-gateway-ephemeral-webhook-receiver-d33c6048 -d '<json body>'
```

Example prompt: Set up a temporary webhook URL that stays alive for 30 minutes so I can catch and inspect the next POST that Stripe sends me.

## When to prefer this

Choose this endpoint when you need a quick, disposable HTTPS URL to receive and inspect a single or small set of incoming webhook POSTs — especially for debugging third-party callbacks (Stripe, GitHub, Slack, internal services) without standing up your own server. Ideal for agents that need to observe what payload an external service sends, test webhook integrations, or route a one-time callback during an automated workflow. Not appropriate for persistent, high-volume webhook ingestion or production webhook infrastructure.

## Known failure modes

- TTL out of range (must be 5–1440 minutes) returns validation error
- Payment of $0.05 USDC not included or invalid results in 402 Payment Required
- hook_url expires after TTL and any subsequent reads return not-found or expired error
- No events captured within the TTL window — read_url returns empty payload
- Network or upstream service unavailability may prevent webhook creation

## How this service works

Ephemeral webhook receiver. Creates a single-use HTTPS URL that catches any POST (Stripe, GitHub, internal) for 1 hour; senders pay nothing. Read captured events for $0.01 per read, extend for $0.05/hour. Response returns hook_url, read_url, extend_url, expires_at.

## Output

Returns a JSON object containing: hook_url (the HTTPS endpoint to which senders POST), read_url (the URL the agent calls to retrieve captured events for $0.01 per read), extend_url (to extend the webhook lifetime for $0.05/hour), and expires_at (ISO timestamp when the hook expires).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "ttl_minutes": {
   "type": "number",
   "description": "Hook lifetime in minutes (5–1440). Default 60."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {}
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-gateway-ephemeral-webhook-receiver-d33c6048/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.freeq.one](https://www.zero.xyz/host/x402.freeq.one/llms.txt)
