# anywaypossible.com Payment Guard

> anywaypossible.com Payment Guard is a paid API for AI agents from anywaypossible.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-11).

Validates an x402 HTTP 402 payment challenge before an AI agent signs it, returning a machine-readable safe-to-sign, fund, review, or reject decision.

## Facts

- Endpoint: POST https://anywaypossible.com/api/payment-guard?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/anywaypossible-com-payment-guard-693f3565
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SitYFu6Z6obYDsifO0rsQ

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 anywaypossible-com-payment-guard-693f3565 -d '<json body>'
```

Example prompt: Before you sign that x402 payment, run it through Payment Guard — validate the live 402 challenge against a price ceiling of $0.50 USDC, confirm the Base network and USDC asset, check that the recipient address isn't flagged, and make sure my wallet has enough funding and gas before you approve anything.

## When to prefer this

Use this endpoint when an AI agent needs to autonomously decide whether to sign an x402 HTTP 402 payment challenge on the Base network using USDC, especially when safety guardrails, price ceilings, recipient verification, and funding checks are required before committing a transaction. Prefer over building custom validation logic when you need a no-account, no-API-key, one-call decision primitive.

## Known failure modes

- Invalid or expired 402 challenge returns rejection decision
- Insufficient buyer USDC funding triggers reject or review flag
- Wrong network (non-Base) causes validation failure
- Price exceeds ceiling threshold returns reject decision
- Recipient address flagged as hazardous returns reject
- Missing required fields in the 402 challenge body returns error
- Gas reserve insufficient triggers review or reject decision

## How this service works

Verify an x402 purchase before an AI agent signs. Validate the live HTTP 402 challenge, Base network, USDC asset, quoted price, recipient, price ceiling, buyer funding, optional gas reserve, and destination hazards, then receive a machine-readable safe-to-sign, fund, review, or reject decision. No account or API key.

## Output

A machine-readable decision object indicating safe-to-sign, fund, review, or reject, along with details on the validated fields: network, asset, price, recipient, funding status, gas reserve adequacy, and any destination hazards detected.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "payerAddress",
      "serviceUrl",
      "maxAmountUsdc"
     ],
     "properties": {
      "serviceUrl": {
       "type": "string",
       "format": "uri"
      },
      "payerAddress": {
       "type": "string",
       "pattern": "^0x[a-fA-F0-9]{40}$"
      },
      "expectedPayTo": {
       "type": "string",
       "pattern": "^0x[a-fA-F0-9]{40}$"
      },
      "maxAmountUsdc": {
       "type": "string",
       "pattern": "^[0-9]+(\\.[0-9]{1,6})?$"
      },
      "minGasReserveEth": {
       "type": "string",
       "pattern": "^[0-9]+(\\.[0-9]{1,18})?$"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "decision",
      "safeToSign",
      "riskLevel",
      "quotedAmountUsdc",
      "quotedPayTo",
      "network",
      "asset",
      "checks",
      "alerts",
      "recommendedAction"
     ],
     "properties": {
      "asset": {
       "type": "string"
      },
      "alerts": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "checks": {
       "type": "array",
       "items": {
        "type": "object"
       }
      },
      "network": {
       "type": "string"
      },
      "decision": {
       "type": "string"
      },
      "riskLevel": {
       "type": "string"
      },
      "safeToSign": {
       "type": "boolean"
      },
      "quotedPayTo": {
       "type": "string"
      },
      "quotedAmountUsdc": {
       "type": "string"
      },
      "recommendedAction": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/anywaypossible-com-payment-guard-693f3565/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from anywaypossible.com](https://www.zero.xyz/host/anywaypossible.com/llms.txt)
