{"uid":"cap_aFnKkv48nBo-k7Pot5VuZ","slug":"agent-commerce-gate-pre-payment-counterparty-risk-check-653c7916","name":"Agent Commerce Gate — Pre-Payment Counterparty Risk Check","description":"Agent Commerce Gate — pre-payment counterparty risk check (identity + reputation + payment challenge) — per call","url":"https://contextiq.trango-compute.com/api/v1/policy-check/x402-v2","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"score":{"type":"number"},"reasons":{"type":"array","items":{"type":"object","properties":{"check":{"type":"string"},"detail":{"type":"string"},"points":{"type":"number"},"maxPoints":{"type":"number"}}}},"decision":{"type":"string","description":"allow, warn, or block"},"maxScore":{"type":"number"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_lcCO1pDYTWFqLnxo7IZOt","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs a combined identity, reputation, and payment-challenge check on a counterparty before allowing a payment to proceed, returning a scored allow/warn/block decision.","exampleAgentPrompt":"Before I send this payment, run a counterparty risk check on the agent I'm about to pay — I need an identity and reputation score with an allow/warn/block decision so I know if it's safe to proceed.","exampleUseCases":[{"title":"Pre-payment agent vetting in marketplace","prompt":"I'm about to pay an agent on the marketplace for a service — can you run a pre-payment risk check to get a score and find out if I should allow, warn, or block this transaction before any funds move?"},{"title":"Blocking suspicious agent from receiving funds","prompt":"This agent is requesting payment but something feels off — can you screen it for identity and reputation risk and give me a decision on whether to allow or block the payment?"},{"title":"Automated risk gate in agentic workflow","prompt":"In my automated agent pipeline, every outgoing payment needs a counterparty risk check first — run the policy check on the recipient and tell me the score, the individual check reasons, and whether the decision is allow, warn, or block."}],"resultDescription":"Returns a composite risk score out of a maximum score, a decision string (allow, warn, or block), and an array of individual check reasons each containing the check name, detail description, points awarded, and maximum possible points for that check.","failureModes":["Missing or malformed score/decision fields returns a 400 validation error","Counterparty identity not resolvable via ERC-8004 or x402 lookup leads to a degraded or blocked decision","Payment challenge validation fails, resulting in a block decision","Network timeout or upstream inspector service unavailability causes a 503 response","Insufficient USDC balance to cover the $0.02 per-call fee results in payment rejection"],"whenToPreferThis":"Choose this endpoint when an AI agent needs a single unified pre-payment gate that combines identity lookup (ERC-8004), reputation scoring, and payment challenge validation (x402) into one scored allow/warn/block decision — especially in agentic commerce flows where multiple risk signals must be aggregated before funds are released. Prefer this over calling individual inspector endpoints when you need a consolidated policy decision rather than raw inspection data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:48:35.835Z","isFirstParty":false}