← Back to directory

Use before paying any x402 invoice: decodes a base64 PAYMENT-REQUIRED header (qu...

https://x402-research-iota.vercel.app/api/x402/invoice-decode

Overview

Use before paying any x402 invoice: decodes a base64 PAYMENT-REQUIRED header (query ?header= or JSON body {header}) and checks scheme exact, Base mainnet, Base USDC asset, payTo (EOA/contract/EIP-7702), human amount, timeout; returns verdict ok/warn/fail with reasons. Errors: 400 invalid header. Read-only; never signs or pays.

Protocol x402
Price $0.02
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider x402-research-iota
Source bazaar
Indexed 2026-10-25 14:34:47

Health

Status healthy
Latency (p50) 419ms
Uptime (30d) 100.0%
Reliability Score 92/100
Last Checked 2026-10-31 07:13:01
Last Healthy 2026-10-31 07:13:01
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "method": "GET", "queryParams": { "header": "eyJ4NDAyVmVyc2lvbiI6Miwi..." }, "type": "http" }

Output Schema

{ "example": { "accepts": [ { "amount": "30000", "amountUsdc": 0.03, "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "checks": [ { "check": "scheme", "detail": "scheme=exact", "level": "ok" } ], "maxTimeoutSeconds": 300, "network": "eip155:8453", "payTo": { "address": "0xa26f...8147", "kind": "eoa" }, "scheme": "exact", "verdict": "ok" } ], "reasons": [], "resource": { "url": "https://x402-research-iota.vercel.app/api/firm/risk-snapshot" }, "signed": false, "verdict": "ok", "x402Version": 2 }, "type": "json" }