{"uid":"cap_EN6FEmzT8Y9Mh0Npb2so8","slug":"signgate-agent-payment-execution-readiness-check-1fec6477","name":"SignGate Agent Payment Execution Readiness 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/v1/x402/agent/payment-execution-readiness","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","pay_to","amount_usdc","owner"],"properties":{"tx":{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$","description":"Optional prior transaction hash for receipt evidence."},"owner":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Wallet or token owner expected to execute payment."},"token":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"ERC-20 token used for the payment or approval check."},"pay_to":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Recipient or API merchant payment address."},"purpose":{"type":"string","maxLength":160,"description":"Business purpose for the payment."},"spender":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Address approved or expected to spend the owner's token."},"agent_id":{"type":"string","maxLength":120,"description":"Agent identity or internal principal."},"gas_limit":{"type":"string","pattern":"^[0-9]+$","description":"Expected transaction gas limit."},"request_id":{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,128}$","description":"Idempotent payment intent or policy request id."},"amount_usdc":{"type":"string","pattern":"^[0-9]+(?:\\.[0-9]{1,6})?$","description":"Requested payment amount in USDC."},"max_single_usdc":{"type":"string","pattern":"^[0-9]+(?:\\.[0-9]{1,6})?$","description":"Policy max single payment."},"daily_budget_usdc":{"type":"string","pattern":"^[0-9]+(?:\\.[0-9]{1,6})?$","description":"Policy daily budget."},"session_budget_usdc":{"type":"string","pattern":"^[0-9]+(?:\\.[0-9]{1,6})?$","description":"Policy session budget."},"human_review_above_usdc":{"type":"string","pattern":"^[0-9]+(?:\\.[0-9]{1,6})?$","description":"Policy threshold that requires human 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-execution-readiness","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_sahSJxxRskks6T_JQ9Xel","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":"Verifies whether an AI agent's payment intent for an x402 API or dataset meets buyer identity, policy, and risk governance rules before the transaction executes.","exampleAgentPrompt":"Before my agent pays 12.50 USDC to merchant address 0xAbC...123 for request ID 'req-20240601-analytics-007', run a payment readiness preflight to check whether the buyer wallet 0xDef...456 is authorized, the amount is within policy (daily budget 50 USDC, max single 20 USDC, human review above 15 USDC), and what the risk score looks like.","exampleUseCases":[{"title":"Budget policy check before API purchase","prompt":"My agent is about to spend 8.00 USDC to buy access to a data enrichment API — the merchant is 0x1a2b3c4d5e6f7890abcdef1234567890abcdef12 and the paying wallet is 0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef. Can you run a preflight with request ID 'session-api-001', daily budget of 25 USDC and max single payment of 10 USDC, to confirm we're within policy and get a risk assessment?"},{"title":"Human review threshold enforcement","prompt":"Before my autonomous agent pays 22.00 USDC to 0x9999999999999999999999999999999999999999 for a premium dataset (request ID 'ds-purchase-042'), check whether this exceeds the human review threshold of 20 USDC and flag the risk level — owner wallet is 0xaaaabbbbccccddddeeeeffffaaaabbbbccccdddd."},{"title":"Session budget compliance for agent fleet","prompt":"I have an agent with ID 'fleet-agent-007' trying to make a 5.50 USDC payment to 0x1111222233334444555566667777888899990000 for an analytics tool (request ID 'fleet-pay-555'). Run a readiness check against a session budget of 30 USDC and daily budget of 100 USDC from owner wallet 0xc0ffee00c0ffee00c0ffee00c0ffee00c0ffee00, and tell me the risk score and any flags."}],"resultDescription":"Returns a JSON object containing the network identifier (e.g. eip155:8453 for Base), the product name, and an assessment object with risk_level (e.g. 'low', 'medium', 'high'), a numeric risk_score, and an array of flags identifying any policy violations or concerns — such as budget overages, missing approvals, or identity mismatches.","failureModes":["Missing required query parameters (request_id, pay_to, amount_usdc, owner) returns a 400 error","Invalid Ethereum address format for owner, pay_to, spender, or token fields","amount_usdc not matching numeric pattern causes schema rejection","request_id exceeding 128 characters or containing invalid characters is rejected","Service unavailable or Cloudflare Worker timeout returns 5xx","Policy configuration fields (daily_budget_usdc, max_single_usdc) not provided may result in incomplete risk assessment","Unknown agent_id may result in elevated risk score or flags"],"whenToPreferThis":"Use this endpoint when an AI agent operates autonomously with x402 payment capabilities and you need a lightweight, fast governance check before any USDC transaction executes on the Base network. Prefer it over post-hoc audit when you need to enforce spending caps, flag high-risk purchases for human review, or validate buyer identity and role before committing funds. It is especially valuable in multi-agent fleet deployments where individual agents have session or daily budget constraints.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:49:54.577Z","isFirstParty":false}