{"uid":"cap_w_ljejSTbN6WkZ7ieYxuP","slug":"bot-bazaar-x402-payment-header-decoder-validator-2c5a9be4","name":"Bot Bazaar x402 Payment Header Decoder & Validator","description":"Inspect and validate x402 v2 payment parameters (amount_atomic in micro-USDC vs USD, Base network, EIP-55 payTo checksum, 1000-atomic minimum).","url":"https://bot-bazaar.fly.dev/v1/x402/payment-header-decode?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_68YK6o_xi5vQ0t5pq3Q8G","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Inspect and validate x402 v2 payment parameters including atomic micro-USDC amounts, Base network settings, EIP-55 payTo checksum addresses, and minimum payment thresholds.","exampleAgentPrompt":"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?","exampleUseCases":[{"title":"Pre-flight x402 payment check","prompt":"Before my agent sends a payment, validate that amount_atomic 2500 in my x402 v2 header is above the minimum, correctly represents the USD amount, and that the Base network payTo address passes EIP-55 checksum."},{"title":"Debugging a rejected x402 payment","prompt":"My x402 payment got rejected — can you decode and inspect my payment header to see if the amount_atomic value or the payTo address checksum is the problem?"},{"title":"Verifying minimum payment threshold","prompt":"I'm setting up an x402 payment flow and want to confirm my amount_atomic of 800 micro-USDC either meets or fails the 1000-atomic minimum requirement before I go live."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T19:05:55.845Z","isFirstParty":false,"canonicalSlug":"bot-bazaar-x402-payment-header-decoder-validator-2c5a9be4"}