{"uid":"cap_C8FnkOqrAJA6iTEmNEULq","slug":"delx-commerce-approval-route-api-144565c5","name":"Delx Commerce Approval Route API","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/approval-route?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"risk":{"type":"string","description":"Input field: risk."},"amount":{"type":"number","description":"Input field: amount."}}},"responseSchema":{"type":"json","example":{"risk":"high","amount":250,"schema":"delx/util-approval-route/v1","advisory":"Caller remains responsible for its authorization policy.","approval_route":"security_and_finance","human_required":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_KvXoCRlUlInGahx3elLuc","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Determines the appropriate approval route (e.g., security_and_finance) for a transaction or action based on risk level and amount, indicating whether human review is required.","exampleAgentPrompt":"I need to make a $250 payment that's been flagged as high risk — can you tell me which approval route I should use and whether a human needs to sign off on it?","exampleUseCases":[{"title":"High-value payment escalation check","prompt":"I'm about to initiate a $500 wire transfer that's been marked high risk — which approval route should I send it through and does a human need to review it first?"},{"title":"Automated agent spend governance","prompt":"My agent wants to spend $50 on an action flagged as medium risk — can you figure out if that needs a human to approve it or if it can go through automatically?"},{"title":"Security and finance routing for large transactions","prompt":"We have a $250 transaction with high risk that an agent wants to execute — tell me what approval workflow it should go through and whether we need human sign-off."}],"resultDescription":"Returns a JSON object containing the original risk level and amount, the recommended approval_route string (e.g., 'security_and_finance'), a boolean human_required flag indicating whether human review is needed, an advisory message reminding the caller they remain responsible for their own authorization policy, and a schema identifier (e.g., 'delx/util-approval-route/v1').","failureModes":["Missing required fields (risk or amount) — likely returns a 4xx validation error","Invalid risk value not matching expected enum — may return an error or fallback route","Payment failure via x402 — 402 response if USDC payment not included or insufficient","Service unavailable — 5xx response if backend is down","Ambiguous or borderline risk/amount combinations may produce unexpected routing recommendations"],"whenToPreferThis":"Use this endpoint when an AI agent needs to programmatically determine the correct approval workflow for a transaction or action based on risk and amount, especially in agentic pipelines where spend governance and human-in-the-loop decisions must be automated. Prefer this over hardcoded routing logic when risk levels and amounts vary dynamically and you want a verifiable, pay-per-result determination with no signup overhead. Best suited for agents managing financial actions that must comply with authorization policies.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:54:09.190Z","isFirstParty":false,"canonicalSlug":"delx-commerce-approval-route-api-144565c5"}