# Bot Bazaar x402 Payment Header Decoder & Validator

> Bot Bazaar x402 Payment Header Decoder & Validator is a paid API for AI agents from bot-bazaar.fly.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-30).

Inspect and validate x402 v2 payment parameters including atomic micro-USDC amounts, Base network settings, EIP-55 payTo checksum addresses, and minimum payment thresholds.

## Facts

- Endpoint: GET https://bot-bazaar.fly.dev/v1/x402/payment-header-decode?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bot-bazaar-x402-payment-header-decoder-validator-2c5a9be4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_w_ljejSTbN6WkZ7ieYxuP

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 bot-bazaar-x402-payment-header-decoder-validator-2c5a9be4
```

Example prompt: Can you check whether my x402 payment header is valid — the amount_atomic is 5000 micro-USDC on the Base network and I want to confirm the EIP-55 checksum on the payTo address and make sure it clears the 1000-atomic minimum?

## When to prefer this

Use this endpoint when you need to validate x402 v2 payment parameters before submitting or processing a payment on the Base network with USDC. Prefer this over manual inspection when you need to verify EIP-55 address checksums, confirm micro-USDC to USD conversion accuracy, or ensure the amount_atomic meets the 1000-atomic minimum threshold programmatically.

## Known failure modes

- amount_atomic below 1000-atomic minimum returns validation failure with threshold details
- invalid or non-checksummed EIP-55 payTo address returns checksum error
- unsupported HTTP method (POST, PUT, PATCH) rejected at input schema level
- malformed or missing amount_atomic string returns parsing error
- wrong network (non-Base) configuration flagged as invalid

## How this service works

Inspect and validate x402 v2 payment parameters (amount_atomic in micro-USDC vs USD, Base network, EIP-55 payTo checksum, 1000-atomic minimum).

## Output

Returns a decoded breakdown of the x402 v2 payment header fields, including whether the amount_atomic is valid (above 1000-atomic minimum), the equivalent USD value, Base network configuration validity, and whether the payTo address passes EIP-55 checksum. Flags any parameter violations with specific error details.

## 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": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "amount_atomic": {
       "type": "string",
       "description": "Payment amount in atomic micro-USDC (6 decimals)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bot-bazaar-x402-payment-header-decoder-validator-2c5a9be4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bot-bazaar.fly.dev](https://www.zero.xyz/host/bot-bazaar.fly.dev/llms.txt)
