# x402 Wallet Can Pay Diagnostic

> x402 Wallet Can Pay Diagnostic is a paid API for AI agents from openclawproductions.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-20).

Checks whether a wallet has sufficient funds to pay for an x402-gated API request, returning payment eligibility and EIP-3009 payment metadata.

## Facts

- Endpoint: GET https://openclawproductions.com/api/v1/walletcanpay?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-wallet-can-pay-diagnostic-ff59c404
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UMVztJx-P8u_Hl-NIgUJr

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-wallet-can-pay-diagnostic-ff59c404
```

Example prompt: Can you check whether my wallet has enough USDC to pay for a GET request on this x402-gated endpoint? I want to know if it can cover the payment before I actually call it.

## When to prefer this

Use this endpoint when you need to pre-validate whether a wallet can fulfill an x402 micropayment before committing to a paid API call, especially in automated agent workflows where silent 402 failures would be disruptive. Prefer this over ad-hoc trial calls when you want structured EIP-3009 diagnostic data and are already using OpenX402 as your x402 facilitator.

## Known failure modes

- HTTP 402 returned if the diagnostic call itself is not paid (requires $0.01 USDC via OpenX402 facilitator)
- Invalid or missing 'method' enum value causes schema validation error
- Missing required 'type' or 'method' fields returns 400 Bad Request
- Wallet with insufficient USDC balance may cause payment facilitation failure
- Non-OpenX402 facilitators not supported, causing payment rejection

## How this service works

Paid x402 diagnostics. Unpaid paid-SKU requests return HTTP 402 with eip3009 extras. Facilitator: OpenX402 only.

## Output

Returns a JSON object indicating whether the specified wallet can pay for the requested HTTP operation under the x402 protocol, along with EIP-3009 payment extras and any relevant x402 payment requirements. If payment has not been made, the endpoint itself returns HTTP 402 with the EIP-3009 metadata needed to complete the payment via OpenX402.

## 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"
   ],
   "properties": {
    "body": {
     "type": "object"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE",
      "POST"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object"
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  },
  "inputSchema": {
   "type": "object"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-wallet-can-pay-diagnostic-ff59c404/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from openclawproductions.com](https://www.zero.xyz/host/openclawproductions.com/llms.txt)
