{"uid":"cap_WR9AVsPxyQWgfIHqkmAHV","slug":"salt19-commerce-decision-engine-019414e6","name":"SALT19 Commerce Decision Engine","description":"SALT19 is an independent applied AI systems lab behind EvoMind governed cognition, the MCP-native Agent Utility Grid, the ARCS research community, AeroClear UAS flight intelligence, and practical software for real-world work.","url":"https://api.salt19.com/v1/commerce-decision","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"policy":{"type":"object","properties":{"allowed_assets":{"type":"array","items":{"type":"string"},"maxItems":32},"allowed_payees":{"type":"array","items":{"type":"string"},"maxItems":64},"blocked_payees":{"type":"array","items":{"type":"string"},"maxItems":64},"allowed_networks":{"type":"array","items":{"type":"string"},"maxItems":32},"spend_24h_atomic":{"type":"string","pattern":"^[0-9]+$"},"max_amount_atomic":{"type":"string","pattern":"^[0-9]+$"},"max_per_day_atomic":{"type":"string","pattern":"^[0-9]+$"},"max_timeout_seconds":{"type":"integer","maximum":3600,"minimum":1}},"additionalProperties":false},"request":{"type":"object","required":["resource"],"properties":{"body":{},"method":{"type":"string","maxLength":16},"resource":{"type":"string","maxLength":2048,"minLength":1},"parameters":{"type":"object"},"content_type":{"type":"string","maxLength":128}},"additionalProperties":false},"payment_required":{"type":"object","required":["x402Version","accepts"],"properties":{"accepts":{"type":"array","items":{"type":"object"},"maxItems":16,"minItems":1},"resource":{"type":"object"},"extensions":{"type":"object"},"x402Version":{"enum":[2],"type":"integer"}},"additionalProperties":true}}},"responseSchema":{"type":"json","example":{"decision":"GO","offer_hash":"...","policy_hash":"...","policy_valid":true,"request_hash":"...","preflight_root":"...","selected_offer":{"amount":"20000","scheme":"exact","network":"eip155:8453"}}},"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_N35CSh-KrrNnrn1vEm7a3","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":"Evaluates a payment request against a spending policy and returns a GO/NO-GO decision with a selected payment offer for x402-style micropayments","exampleAgentPrompt":"Before paying for this API call, check whether the $0.02 USDC charge on Base from this payee is within my spending policy — my daily limit is $1.00, allowed assets are USDC, and I have no blocked payees — and tell me if I should go ahead.","exampleUseCases":[{"title":"Agent fleet daily spend enforcement","prompt":"I have an agent that autonomously calls paid APIs throughout the day. Before each payment, check whether the requested charge fits within my policy: max $0.50 per transaction, $5.00 per day, only USDC on Base, and only from pre-approved payees. Return GO or NO-GO so the agent knows whether to proceed."},{"title":"Blocked payee guardrail for autonomous agent","prompt":"My agent is about to pay a new API provider I've never used before. Run a preflight commerce decision — my policy blocks any payee not on my approved list and caps single payments at $0.10 USDC on eip155:8453. Let me know if this offer passes or fails before any funds move."},{"title":"Multi-network payment offer selection","prompt":"I've received an x402 payment_required response with multiple offer options across different networks. Use my policy — allowed networks are Base and Polygon, max amount 50000 atomic units, allowed asset USDC — to pick the best valid offer and confirm it's a GO."}],"resultDescription":"A JSON object containing a 'decision' field ('GO' or 'NO-GO'), a 'selected_offer' with the chosen payment amount, scheme, and network, plus cryptographic hashes for the offer, policy, request, and a preflight root for auditability. Also includes a 'policy_valid' boolean indicating whether the submitted policy was well-formed.","failureModes":["Invalid or malformed policy object — returns policy_valid: false","payment_required object missing required fields (x402Version, accepts) — validation error","Requested resource string exceeds 2048 characters — schema rejection","spend_24h_atomic or max_amount_atomic not a valid numeric string — pattern mismatch","No accepted offer matches policy constraints — decision returns NO-GO","max_timeout_seconds outside 1–3600 range — schema rejection","Payment provider unreachable or offer list empty — no selectable offer"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to enforce a governed spending policy before executing an x402 micropayment — especially when you need cryptographic proof (hashes) of the decision for audit trails, when blocking/allowlisting payees is critical, or when operating in a multi-network environment and need deterministic offer selection. Prefer this over manual policy checks when the agent operates autonomously at high frequency and needs a fast, structured GO/NO-GO signal.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:52:52.820Z","isFirstParty":false}