{"uid":"cap_KNpPBrZhdpTG714ETWy5b","slug":"blockchain-money-map-x402-agent-commerce-sandbox-seed-pack-2e7c0227","name":"Blockchain Money Map x402 Agent Commerce Sandbox Seed Pack","description":"Creates safe fixture scenario recommendations for agent-commerce payment and checkout tests.","url":"https://api.blockchainmoneymap.com/api/x402/x402-agent-commerce-sandbox-seed-pack?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"mode":{"enum":["create"]},"facts":{"type":"object","required":["protocol_mix","scenario_goal","test_environment"],"properties":{"protocol_mix":{"type":"string","maxLength":500},"fixture_count":{"type":"number"},"scenario_goal":{"type":"string","maxLength":500},"test_environment":{"type":"string","maxLength":500},"order_required_present":{"type":"boolean"},"consent_required_present":{"type":"boolean"},"payment_required_present":{"type":"boolean"},"receipt_required_present":{"type":"boolean"},"checkout_required_present":{"type":"boolean"}},"additionalProperties":false},"policy":{"type":"object","additionalProperties":true},"reference_facts":{"type":"object","required":["protocol_mix","scenario_goal","test_environment"],"properties":{"protocol_mix":{"type":"string","maxLength":500},"fixture_count":{"type":"number"},"scenario_goal":{"type":"string","maxLength":500},"test_environment":{"type":"string","maxLength":500},"order_required_present":{"type":"boolean"},"consent_required_present":{"type":"boolean"},"payment_required_present":{"type":"boolean"},"receipt_required_present":{"type":"boolean"},"checkout_required_present":{"type":"boolean"}},"additionalProperties":false}}},"responseSchema":{"type":"json"},"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_fka85VkTyLSEZNA8lqveY","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":"Generates x402 agent commerce sandbox seed fixtures — pre-configured test scenarios with protocol mixes, consent/payment/receipt flow requirements, and policy settings for agent API testing.","exampleAgentPrompt":"Create an x402 agent commerce sandbox seed pack for a multi-protocol payment testing scenario — goal is to validate checkout and receipt flows, using a staging test environment, with 5 fixtures, and require both payment and receipt flows to be present.","exampleUseCases":[{"title":"Bootstrap x402 payment protocol sandbox","prompt":"Generate a sandbox seed pack for testing x402 agent payment flows — my protocol mix is 'ERC-20 USDC on Base', the scenario goal is 'validate end-to-end payment authorization', test environment is 'staging', I need 3 fixtures, and payment_required and receipt_required should both be true."},{"title":"Consent and checkout flow fixture generation","prompt":"Create a sandbox seed pack with 4 fixtures for an agent commerce consent-and-checkout scenario — protocol mix is 'x402 with OAuth consent layer', scenario goal is 'test consent gating before checkout', test environment is 'development', and set consent_required_present and checkout_required_present to true."},{"title":"Reference fixture set for protocol regression testing","prompt":"Seed me a reference fixture pack for regression testing — protocol mix is 'x402 plus order acknowledgment', scenario goal is 'verify order and receipt handshake correctness', test environment is 'ci', 6 fixtures, with order_required_present and receipt_required_present both enabled."}],"resultDescription":"Returns a JSON response containing the generated sandbox seed pack, including structured test fixtures with protocol-specific configurations, scenario metadata, and flags indicating which x402 commerce flow steps (order, consent, payment, receipt, checkout) are required — ready to load into an agent commerce test environment.","failureModes":["Missing required fields (protocol_mix, scenario_goal, test_environment) returns a validation error","Invalid mode value (anything other than 'create') returns a bad request error","Malformed facts object with extra properties (additionalProperties:false) causes rejection","Payment failure (402) if x402 USDC micropayment of $0.01 is not completed before request","Exceeding maxLength on protocol_mix or scenario_goal strings causes input validation failure","Server-side generation failure returning generic JSON error if the seed engine encounters an unsupported protocol combination"],"whenToPreferThis":"Use this endpoint when you need to programmatically generate test seed fixtures for x402 agent commerce sandbox environments, especially when validating multi-step protocol flows involving consent, payment, receipt, order, or checkout signals. Prefer this over manual fixture creation when you need reproducible, policy-driven test scenarios at low cost ($0.01 per generation). It is specifically suited for AI agent developers building and testing x402-based payment flows on Blockchain Money Map's agent API infrastructure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T18:41:52.923Z","isFirstParty":false,"canonicalSlug":"blockchain-money-map-x402-agent-commerce-sandbox-seed-pack-2e7c0227"}