{"uid":"cap_36lSrsZDXaPg9PGs-Z0Qa","slug":"x402-tools-amount-type-diagnostic-1bbf40b2","name":"x402-tools Amount Type Diagnostic","description":"Paid x402 diagnostics. Unpaid paid-SKU requests return HTTP 402 with eip3009 extras. Facilitator: OpenX402 only.","url":"https://openclawproductions.com/api/v1/amounttype?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":{"url":{"type":"string","description":"Public 402 or well-known URL. Defaults to this origin's Pipe Check."},"origin":{"type":"string","description":"Public origin URL. Alias of url."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}},"inputSchema":{"type":"object","required":["type","properties"],"properties":{"type":{"type":"string","const":"object"},"required":{"type":"array","items":{"type":"string"}},"properties":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"sku":"amounttype","note":"Example paid JSON shape. Not a live settle.","price":"$0.02","title":"Amount Type"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Y4tAPjdI51KodOFemYts9","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the payment amount type metadata for an x402-protected endpoint, demonstrating the paid diagnostic SKU shape with EIP-3009 payment extras.","exampleAgentPrompt":"Can you run the x402 amount type diagnostic on https://example.com to check what payment amount type that endpoint uses and show me the SKU shape?","exampleUseCases":[{"title":"Inspect x402 endpoint payment metadata","prompt":"I want to check the amount type and paid SKU details for my x402-protected API at https://myapi.example.com — can you run the amounttype diagnostic against it?"},{"title":"Verify 402 payment shape before integration","prompt":"Before I integrate with this x402 endpoint, can you probe https://partner.example.com/api/data using the amounttype diagnostic so I can see the EIP-3009 payment extras and price?"},{"title":"Debug unexpected 402 response from x402 API","prompt":"I'm getting an unexpected 402 from https://openclawproductions.com/api/v1/amounttype — can you run the x402 amount type diagnostic on that origin to show me what payment shape it's expecting?"}],"resultDescription":"Returns a JSON object containing the SKU identifier ('amounttype'), a human-readable title ('Amount Type'), the price ('$0.02'), and an example paid JSON shape. This is a diagnostic example response illustrating the structure of a paid x402 SKU, not a live settlement.","failureModes":["HTTP 402 returned if the request is unpaid — includes EIP-3009 extras indicating required payment details","Invalid or unreachable URL results in an error response","Only GET, HEAD, and DELETE HTTP methods are accepted; other methods will be rejected","The facilitator must be OpenX402; other facilitators are not supported and may cause errors","Malformed input object (missing required 'type' or 'method' fields) causes a validation error"],"whenToPreferThis":"Choose this endpoint when you need to inspect or validate the x402 payment amount type metadata for a specific URL or origin, particularly when debugging or integrating with x402-protected APIs that use the OpenX402 facilitator and EIP-3009 payment extras. It is a diagnostic tool best suited for developers and agents building x402 payment flows, not for production data retrieval.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T00:46:12.562Z","isFirstParty":false,"canonicalSlug":"x402-tools-amount-type-diagnostic-1bbf40b2"}