{"uid":"cap_dDcyZ37v7vmnPiqhcgj04","slug":"signgate-agent-buyer-identity-preflight-x402-purchase-governance-b9821757","name":"SignGate Agent Buyer Identity Preflight | x402 Purchase Governance","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/v1/x402/agent/payment-risk-gateway","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"],"type":"string"},"queryParams":{"type":"object","required":["request_id","agent_id","purpose","pay_to","amount_usdc","nonce"],"properties":{"nonce":{"type":"string","pattern":"^[A-Za-z0-9._:-]{8,128}$","description":"Replay-prevention nonce."},"pay_to":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Recipient address."},"purpose":{"type":"string","maxLength":80,"description":"Short audit purpose for the payment."},"agent_id":{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,96}$","description":"AI agent or runtime requesting payment authorization."},"invoice_id":{"type":"string","maxLength":160,"description":"Commercial context binding the payment to an invoice or order."},"request_id":{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,128}$","description":"Caller-defined idempotency key for the intent."},"risk_score":{"type":"string","pattern":"^[0-9]{1,3}$","description":"Caller-supplied recipient risk score from 0 to 100."},"amount_usdc":{"type":"string","pattern":"^[0-9]+(?:\\.[0-9]{1,6})?$","description":"Stablecoin amount in USDC."},"risk_labels":{"type":"string","maxLength":512,"description":"Optional comma-separated risk labels."},"allow_pay_to":{"type":"string","maxLength":2048,"description":"Optional comma-separated recipient allowlist."},"block_pay_to":{"type":"string","maxLength":2048,"description":"Optional comma-separated recipient blocklist."},"invoice_hash":{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$","description":"Optional invoice or order hash."},"max_single_usdc":{"type":"string","pattern":"^[0-9]+(?:\\.[0-9]{1,6})?$","description":"Maximum allowed amount for one payment."},"human_review_above_usdc":{"type":"string","pattern":"^[0-9]+(?:\\.[0-9]{1,6})?$","description":"Amount at or above which the decision becomes review."}}}},"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":"agent-payment-risk-gateway","assessment":{"flags":[],"risk_level":"low","risk_score":0}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.15","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.15/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jzpICgI-fNFZsdqIRD5f8","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.15","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs a pre-payment risk assessment for AI agents about to make an x402 USDC payment, checking buyer identity, amount limits, recipient allowlists/blocklists, and approval policies before authorizing the transaction.","exampleAgentPrompt":"Before my agent pays 25 USDC to wallet 0xAb3f9c2d1e4B7a6F0C8d2E5f1A3b4C7d9E0f1A2b for accessing a dataset (request ID req-agent-42x, nonce abc123def456, purpose 'dataset-access-audit'), run a SignGate preflight risk check to make sure this payment is safe and within policy.","exampleUseCases":[{"title":"Autonomous agent spending limit enforcement","prompt":"My agent with ID agent-prod-007 is about to pay 150 USDC to 0xAb3f9c2d1e4B7a6F0C8d2E5f1A3b4C7d9E0f1A2b for a data enrichment API — can you run a SignGate preflight check with request ID req-spend-001 and nonce nonce-2024xyz to make sure this doesn't exceed our max single payment policy before it goes through?"},{"title":"Recipient blocklist screening before API purchase","prompt":"Before my agent buys access to an x402 API tool from 0x1F2e3D4c5B6a7f8E9d0C1b2A3f4E5d6C7b8A9f0e, run a SignGate payment risk gateway check with agent ID agent-marketplace-1, request ID req-block-scan-99, nonce nonce-blk-55abc, amount 5 USDC, and purpose 'api-tool-purchase' — I want to make sure that recipient isn't on any blocklist."},{"title":"Human review escalation for large agent payment","prompt":"My AI agent agent-finance-bot is trying to pay 500 USDC to wallet 0xC1d2E3f4A5b6C7d8E9f0A1b2C3d4E5f6A7b8C9d0 for a premium dataset, reference invoice INV-2024-0082, request ID req-large-pay-007, nonce nonce-hrv-9921 — run a SignGate preflight check and flag it for human review if the amount is above our threshold."}],"resultDescription":"Returns a JSON object containing a risk assessment with a risk_level (e.g. 'low', 'medium', 'high'), a numeric risk_score, an array of flags indicating any triggered policy rules, the network identifier (e.g. 'eip155:8453' for Base), and the product name. This tells the agent whether to proceed with payment, block it, or escalate for human review.","failureModes":["Missing required query parameters (request_id, agent_id, purpose, pay_to, amount_usdc, nonce) returns a validation error","Invalid Ethereum address format for pay_to returns a pattern mismatch error","Malformed nonce or request_id not matching pattern returns schema validation failure","Risk score returned as 'high' may block the payment intent without explicit error","Service unavailable on Cloudflare Workers edge may return 5xx timeout","Recipient on block_pay_to list results in flagged or rejected assessment"],"whenToPreferThis":"Use this endpoint when an AI agent is about to autonomously execute an x402 USDC payment and you need a policy-aware pre-authorization check before funds move. It is specifically designed for the x402 payment protocol on Base (EVM), supporting recipient allowlists/blocklists, per-transaction amount caps, human escalation thresholds, and audit trails via invoice binding. Prefer this over generic compliance APIs when your agent operates in an x402-native environment and you need lightweight, per-call governance at $0.15 USDC without heavy KYC infrastructure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:37:59.270Z","isFirstParty":false}