← Back to directory

[Spend policy: agent payment risk check] Before an AI agent pays an invoice or m...

https://micro-saas-agent.onrender.com/api/spend/check

Overview

[Spend policy: agent payment risk check] Before an AI agent pays an invoice or merchant: POST {payment, policy} -> allow / deny / needs_approval plus the rules that fired (per-tx limit, rolling cap, merchant categories, allow/deny lists, hours + timezone, assets/chains, approval threshold) and an Ed25519-signed receipt bound to your request hash. Deterministic, stateless, no custody, moves no money. Bad bodies rejected before payment. $0.02 USDC.

Protocol x402 (POST)
Price $0.02
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider GW8 Signal API
Source bazaar
Indexed 2026-10-21 22:23:41

Health

Status healthy
Latency (p50) 435ms
Uptime (30d) 100.0%
Reliability Score 95/100
Last Checked 2026-10-31 07:12:58
Last Healthy 2026-10-31 07:12:58
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "body": { "payment": { "agentId": "ap-agent-7", "amount": "420.00", "chain": "base", "currency": "USDC", "memo": "INV-10442", "merchantCategory": "office-supplies", "recipientDomain": "acme-supplies.com", "recipientId": "acct_acme_supplies", "timestamp": "2026-10-21T15:30:00Z" }, "policy": { "allowList": [ "acme-supplies.com" ], "allowedAssets": [ "USDC" ], "allowedChains": [ "base" ], "allowedHours": { "days": [ "mon", "tue", "wed", "thu", "fri" ], "end": "18:00", "start": "08:00", "timezone": "America/Denver" }, "blockedCategories": [ "gambling", "crypto-exchange" ], "currency": "USDC", "perTxLimit": "1000", "requireApprovalAbove": "750", "rollingCap": { "limit": "5000", "spentSoFar": "1200", "windowHours": 24 } } }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "checks": [ { "detail": "420 <= per-tx limit 1000", "result": "pass", "rule": "per_tx_limit" } ], "decision": "allow", "decisionReceipt": { "accessType": "SPEND_POLICY_DECISION", "alg": "Ed25519", "endpoint": "POST /api/spend/check", "payload": "eyJ2Ijox…", "query": { "decision": "allow", "requestSha256": "7faa…" }, "response_sha256": "…", "signature": "base64…", "signed": true, "verify_url": "https://micro-saas-agent.onrender.com/api/receipt/verify" }, "engine": "gw8-spend-policy/1", "reasons": [], "remaining": { "perTx": "1000", "rollingCapAfter": "3380", "rollingCapBefore": "3800" } }, "type": "json" }