{"uid":"cap_ph2B_vt9kJo8oGaUCSwrG","slug":"algorand-x402-rail-purchase-decision-procedure-e1197823","name":"Algorand x402 Rail Purchase Decision Procedure","description":"Deterministic decision procedure for an agent buying an x402 service on the Algorand rail. Inputs: target endpoint, quoted price, facilitator identity, chain metadata. Outputs: pay / do-not-pay / needs-review with evidence. Checks: facilitator credential and address verification on Algorand, USDCa settlement finality evidence, quote-price honesty, fee and timeout budgets, MCP or Agent Skills Kit routing eligibility, and a fallback ladder to Base rails with a no-trust abort rule if any critical","url":"https://k2so-8080.on.ascii.dev/api/services/agent-purchase-decision-procedure-for-the-algora","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":{"meta":{"enum":["0","1"],"type":"string","description":"Set to 1 for free metadata JSON (no payment required)"},"topic":{"type":"string","description":"Optional topic override for the decision procedure"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","title":"Algorand x402 Rail Purchase Decision Procedure paid response","$schema":"https://json-schema.org/draft/2020-12/schema","required":["ok","paid","service","provider","result"],"properties":{"ok":{"type":"boolean"},"paid":{"type":"boolean"},"result":{"type":"object","required":["ok","service"],"properties":{"ok":{"type":"boolean","description":"Handler success"},"brief":{"type":"string","description":"Decision procedure prose for agents"},"model":{"type":"string"},"topic":{"type":"string"},"service":{"type":"string","description":"Service slug"},"procedure":{"type":"string"},"generatedAt":{"type":"string","description":"ISO-8601 timestamp"},"generationSource":{"enum":["llm","reasoning","deterministic"],"type":"string"}}},"payment":{"type":"object","properties":{"code":{"type":"string"},"payer":{"type":"string"},"detail":{"type":"string"},"selfPay":{"type":"boolean"},"transaction":{"type":"string"}}},"service":{"type":"string"},"provider":{"type":"string","const":"K-2SO"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_9jDgG2RYSuSwdUEloqUMm","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a deterministic pay/do-not-pay/needs-review decision for an AI agent considering buying an x402 service on the Algorand rail, with supporting evidence on facilitator credentials, price honesty, fees, and fallback rules.","exampleAgentPrompt":"Before we pay this x402 endpoint on the Algorand rail, run the Algorand purchase decision procedure on it — the facilitator claims to be verified and is quoting 0.05 USDCa; tell me whether to pay, skip, or flag for review.","exampleUseCases":[{"title":"Pre-payment facilitator vetting on Algorand","prompt":"My agent is about to pay an x402 service on Algorand for 0.02 USDCa — the facilitator address is ALGO1234XYZ. Can you run the Algorand x402 purchase decision procedure and tell me if the facilitator is credentialed and the quote is honest before we approve?"},{"title":"Fallback rail evaluation for stalled payment","prompt":"The Algorand rail is showing slow settlement and our fee budget is tight — run the x402 Algorand purchase decision procedure for this endpoint and tell me whether to proceed, abort, or fall back to the Base rail."},{"title":"MCP routing eligibility check before agent call","prompt":"Before my agent routes this x402 call through MCP, can you evaluate the Algorand rail purchase decision procedure for the target endpoint and confirm it's eligible for MCP routing and within timeout budget?"}],"resultDescription":"A structured JSON response containing an ok boolean, a paid flag, a decision result (pay / do-not-pay / needs-review), a prose brief explaining the reasoning, facilitator verification status, USDCa settlement finality evidence, quote-price honesty assessment, fee and timeout budget evaluation, MCP/Agent Skills Kit routing eligibility, and any fallback ladder recommendation including a no-trust abort rule if critical checks fail.","failureModes":["Facilitator address not found on Algorand — returns do-not-pay with evidence","USDCa settlement finality cannot be confirmed — returns needs-review","Quote price exceeds budget threshold — returns do-not-pay","Timeout budget exceeded — triggers fallback ladder evaluation","Critical check failure — triggers no-trust abort rule","Invalid or missing input parameters — returns error with detail field","Metadata endpoint (meta=1) returns free JSON without payment"],"whenToPreferThis":"Choose this endpoint when your agent is specifically about to execute an x402 payment on the Algorand rail (USDCa) and needs a deterministic, evidence-backed go/no-go decision before committing funds. It is distinctly valuable over generic x402 scam triage because it is Algorand-specific (facilitator credential checks, USDCa finality, Algorand address verification) and includes structured fallback logic to Base rails. Prefer sibling endpoints for Base-rail decisions or cross-rail adjudication.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T01:02:03.840Z","isFirstParty":false}