{"uid":"cap_lFm7BuEqNJaIbGVFxW_Kv","slug":"nomos-merchant-risk-policy-check-88f94ea0","name":"Nomos Merchant Risk & Policy Check","description":"Machine-payable service intelligence for discovering, verifying, and monitoring identity, risk, authorization, execution-preflight, and evidence APIs before autonomous agents spend.","url":"https://base-agent-preflight.bytoken2023.workers.dev/x402/v1/policy/merchant-check","method":"POST","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":["POST"],"type":"string"},"queryParams":{"type":"object","required":["merchant_id","purpose","amount_usdc"],"properties":{"purpose":{"type":"string","maxLength":120,"minLength":2},"amount_usdc":{"type":"string","pattern":"^[0-9]+(?:\\.[0-9]{1,6})?$"},"merchant_id":{"type":"string","maxLength":160,"minLength":1},"trust_level":{"enum":["unknown","known","verified"],"type":"string"},"idempotency_key":{"type":"string","maxLength":128}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"network":{"type":"string"},"product":{"type":"string"},"activity":{"type":"object"},"identity":{"type":"object"},"assessment":{"type":"object"},"provenance":{"type":"object"}}}}}}},"responseSchema":{"type":"json","example":{"network":"eip155:8453","product":"nomos-merchant-check","assessment":{"flags":[],"risk_level":"low","risk_score":0}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_IBilUU3ah6gqoDArCcaPk","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Evaluates a merchant's identity, risk level, and authorization policy before an autonomous agent executes a payment or transaction on its behalf.","exampleAgentPrompt":"Before I send $25 USDC to merchant 'merchant_acme_store_42' for 'software license renewal', can you run a Nomos merchant risk check to make sure their trust level is 'known' and the transaction looks safe?","exampleUseCases":[{"title":"Pre-payment merchant safety screen","prompt":"I'm about to pay merchant 'shop_0xABCD1234' $10.50 USDC for 'marketplace goods' — can you check their risk score and flag anything suspicious before I authorize the payment?"},{"title":"Autonomous agent payment guardrail","prompt":"My agent is trying to send $500 USDC to merchant 'vendor_logistics_99' for 'logistics services'. Run a preflight merchant check and only proceed if the risk level comes back low."},{"title":"Unknown merchant trust evaluation","prompt":"I've never transacted with merchant 'unknown_creator_7890' before — treat them as trust level 'unknown' and check whether a $75 USDC payment for 'digital art commission' is flagged as risky."}],"resultDescription":"Returns a JSON object containing the network (e.g. eip155:8453 for Base), product identifier, and an assessment object with risk_score (numeric), risk_level (e.g. 'low'), and flags array. May also include identity, activity, and provenance sub-objects with additional merchant context.","failureModes":["Missing required query parameters (merchant_id, purpose, amount_usdc) returns a validation error","Invalid amount_usdc format (not matching numeric pattern) causes a 400 error","Merchant not found in identity registry may return unknown risk level with empty flags","Network or Cloudflare Worker timeout returns a 5xx error","Invalid trust_level enum value (not unknown/known/verified) causes schema rejection","Payment of $0.05 USDC required via x402 protocol; missing payment returns 402 Payment Required"],"whenToPreferThis":"Use this endpoint when an autonomous agent needs to vet a merchant before executing a USDC payment on Base, especially for unknown or unverified counterparties. Prefer this over generic KYC or onchain lookup tools when you need a combined risk score, flags, and identity assessment in a single pay-per-request call optimized for agentic preflight workflows on the Base network.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:58:24.922Z","isFirstParty":false}