{"uid":"cap_UOJVJEjAC6oXdVvVPUjHF","slug":"withzero-xyz-fixed-price-x402-payment-charge-on-base-0-001-a1824f1e","name":"Fixed-Price x402 Payment Charge on Base ($0.001)","description":"Fixed-price x402 charge over Base ($0.001).","url":"https://withzero.xyz/api/v1/pay-test/pay/charge-x402","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"note":{"type":"string","maxLength":200,"description":"Free-form string echoed back verbatim — useful for correlating a test run to its response."}},"additionalProperties":false},"responseSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["ok","rail","intent","chain","sku","payer","note"],"properties":{"ok":{"type":"boolean","const":true,"description":"Always true when the payment gate was satisfied and the handler ran."},"sku":{"type":"string","description":"The route SKU that was paid."},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The caller-supplied note, echoed verbatim."},"rail":{"enum":["mpp","x402"],"type":"string","description":"The payment rail this route settled on."},"chain":{"type":"string","description":"Settlement chain (e.g. tempo, base)."},"payer":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The buyer wallet the gate resolved, when available."},"intent":{"enum":["charge","proof","metered"],"type":"string","description":"The payment intent this route exercised."}},"additionalProperties":false},"example":null,"exampleRequest":null,"tags":[],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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_v6AKN0CIA5QVivPptbeeN","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x20C000000000000000000000b9537d11c60E8b50","unit":"request","depositMicros":null,"planRef":"agents.invoke:1"}],"brandName":"withzero.xyz","brandSlug":"withzero-xyz-x402","brandBaseUrl":"https://withzero.xyz","brandDocsUrl":null,"whatItDoes":"Processes a fixed-price x402 micropayment charge of $0.001 USDC over the Base blockchain and returns payment confirmation details.","exampleAgentPrompt":"Run an x402 micropayment charge of $0.001 USDC over Base and tag it with the note 'integration-test-run-1' so I can correlate the result.","exampleUseCases":[{"title":"Smoke-test x402 payment integration","prompt":"Do a quick x402 test charge on Base — $0.001 USDC — and label it 'smoke-test-2024' so I can match it to this run in my logs."},{"title":"Verify wallet funds before live deployment","prompt":"Before we go live, I want to confirm my wallet can actually settle an x402 charge on Base. Fire off the $0.001 test charge and tell me which wallet address was resolved as the payer."},{"title":"Confirm payment rail and chain in CI pipeline","prompt":"In my CI pipeline, run the x402 charge test on Base with note 'ci-pipeline-check' and confirm the rail comes back as x402 and the chain is base."}],"resultDescription":"Returns a JSON object confirming the payment gate was satisfied, including: ok (always true on success), the payment rail used (x402), the settlement chain (e.g. base), the route SKU, the payment intent type (charge), the resolved payer wallet address if available, and the echoed-back caller note for correlation.","failureModes":["Payment gate not satisfied — insufficient funds or missing x402 headers result in a 402 response","Invalid note exceeding 200 characters returns a validation error","Network or blockchain RPC issues may cause timeouts","Wallet not configured for Base network causes payment failure","Malformed request body returns a 400 bad request error"],"whenToPreferThis":"Choose this endpoint when you need to test or exercise the x402 payment rail specifically on the Base blockchain at a minimal cost ($0.001 USDC). It is ideal for smoke-testing x402 wallet integrations, CI/CD pipeline payment checks, or confirming that a payer wallet can settle charges on Base before deploying higher-value payment flows. Prefer this over generic payment endpoints when you specifically want x402 protocol semantics and Base chain settlement confirmation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:31:27.645Z","isFirstParty":true}