{"slug":"micro-saas-agent-onrender-com-api-pay-should-i-pay-f770a4","title":"[Payment decision","host":"micro-saas-agent.onrender.com","method":"POST","resource":"https://micro-saas-agent.onrender.com/api/pay/should-i-pay","category":"other","description":"[Payment decision: spend policy + seller reputation risk check, one verdict] Right before an AI agent pays: POST {payment, policy, seller} -> ONE verdict pay / dont_pay / ask_human. Runs the spend-policy check (limits, rolling cap, categories, allow/deny, hours, assets/chains, approval threshold) an","price_listed":0.02,"price_asked":0.02,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":240,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"payment":{"agentId":"research-agent-1","amount":"0.05","chain":"base","currency":"USDC","merchantCategory":"data-api","recipientId":"0x1111111111111111111111111111111111111111","timestamp":"2026-10-21T15:30:00Z"},"policy":{"allowedAssets":["USDC"],"allowedChains":["base"],"currency":"USDC","perTxLimit":"1","requireApprovalAbove":"0.50","rollingCap":{"limit":"10","spentSoFar":"2.40"}},"seller":{"address":"0x1111111111111111111111111111111111111111"},"sellerRules":{"onCaution":"ask_human","onUnknown":"ask_human"}},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"payment":{"example":{"agentId":"research-agent-1","amount":"0.05","chain":"base","currency":"USDC","merchantCategory":"data-api","recipientId":"0x1111111111111111111111111111111111111111","timestamp":"2026-10-21T15:30:00Z"},"type":"object"},"policy":{"example":{"allowedAssets":["USDC"],"allowedChains":["base"],"currency":"USDC","perTxLimit":"1","requireApprovalAbove":"0.50","rollingCap":{"limit":"10","spentSoFar":"2.40"}},"type":"object"},"seller":{"example":{"address":"0x1111111111111111111111111111111111111111"},"type":"object"},"sellerRules":{"example":{"onCaution":"ask_human","onUnknown":"ask_human"},"type":"object"}},"required":["payment","policy","seller"],"type":"object"},"bodyType":{"enum":["json"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":240,"error":null}],"description_full":"[Payment decision: spend policy + seller reputation risk check, one verdict] Right before an AI agent pays: POST {payment, policy, seller} -> ONE verdict pay / dont_pay / ask_human. Runs the spend-policy check (limits, rolling cap, categories, allow/deny, hours, assets/chains, approval threshold) and the x402 seller reputation check (buyers, wash share, age, concentration), with reasons and one signed receipt. Stateless; never pays anyone. No charge if seller data is down. $0.02 USDC.","last_updated":"2026-10-21T21:46:41.753Z","schemes":["exact"]}