{"uid":"cap_A5uiNszZQycuJ3a7-PKg9","slug":"x402-pay-to-address-matcher-e4ea522a","name":"X402 Pay-To Address Matcher","description":"X402 Pay To Match: X402 Pay To Match compares challenge pay-to address with an expected merchant address from bounded caller-supplied values without an external provider. Call X402 Pay To Match before paying for or accepting an x402 or agent delivery assembled from caller-supplied challenge and result metadata. Returns contract-specific checks, normalized evidence, mismatch reasons, and an explicit acceptance or rejection status for X402 Pay To Match as versioned deterministic JSON. Price: $0.0…","url":"https://api.delx.ai/api/v1/x402/x402-pay-to-match?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"pay_to":{"type":"string","maxLength":8192,"description":"Pay To supplied to X402 Pay To Match; used only for this bounded calculation and processed in memory without retention."},"expected":{"type":"string","maxLength":8192,"description":"Expected supplied to X402 Pay To Match; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"actual":"0x1111111111111111111111111111111111111111","matched":true,"expected":"0x1111111111111111111111111111111111111111"},"schema":"delx/util-x402-pay-to-match/v1","status":"pass","evidence":{"retained":false,"input_sha256":"b108f77ef3414c0bad5305e638ab373474fdd56f39a323d1bf49d6743754c925","external_calls":0},"operation":"delivery_contract:x402_pay_to_match"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_vOxB6Bw3h1UETf5Qs-m2e","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates that a pay-to address in an x402 payment challenge matches an expected merchant address, returning acceptance or rejection with mismatch reasons.","exampleAgentPrompt":"Before we pay this x402 challenge, check whether the pay-to address '0xAbC123...' actually matches the expected merchant address '0xDEF456...' and tell me if it's safe to proceed.","exampleUseCases":[{"title":"Pre-payment address fraud check","prompt":"I'm about to pay an x402 invoice but I want to make sure the pay-to address '0x1234abcd...' matches the merchant address I enrolled, which is '0x5678efgh...'. Can you verify they match before I authorize the payment?"},{"title":"Agent delivery result verification","prompt":"My AI agent just assembled an x402 delivery result with pay-to '0xAABBCC...' — check that against the expected merchant address '0xDDEEFF...' and tell me whether to accept or reject the delivery."},{"title":"Mismatch debugging for failed x402 payment","prompt":"An x402 payment was rejected and I think there might be an address mismatch. The challenge says pay-to is '0x999888...' but I expected '0x111222...' — can you compare them and explain what's different?"}],"resultDescription":"Returns a versioned deterministic JSON object containing: an explicit accept or reject status, contract-specific validation checks, normalized evidence of both addresses, and detailed mismatch reasons if the addresses do not match.","failureModes":["Missing or empty pay_to or expected fields returns a validation error","Addresses exceed 8192 character limit causing rejection","Malformed or non-address strings may cause parse errors or automatic rejection","Network timeout if the service is temporarily unavailable"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, deterministic, no-external-dependency check to confirm that an x402 challenge's pay-to address equals an expected merchant address before committing to payment or accepting agent delivery. It is ideal for pre-payment security gates in automated x402 payment flows where address spoofing or misconfiguration is a risk. Prefer it over manual string comparison because it returns structured evidence, mismatch reasons, and a versioned JSON acceptance decision suitable for audit trails.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T08:06:28.926Z","isFirstParty":false,"canonicalSlug":"x402-pay-to-address-matcher-e4ea522a"}