{"name":"onyx_payment_gate","tier":"standard","price_usdc":"0.05","endpoint":"https://onyx-actions.onrender.com/v1/onyx_payment_gate","method":"POST","input_schema":{"type":"object","properties":{"domain":{"type":"string","description":"Merchant domain or URL you are about to pay, e.g. shop.example.com"},"amount_usd":{"type":"number","description":"Optional amount you are about to pay (for the record; large amounts lower the auto-PROCEED bar)."},"expected_price":{"type":"number","description":"Optional price you were quoted/expect. If the page shows a price, a large deviation downgrades the clearance."},"product_url":{"type":"string","description":"Optional specific product URL to read the observed price from."}},"required":["domain"]},"description":"Pre-payment clearance for agents. Call this BEFORE settling with a merchant over x402/AP2: give the merchant domain (optionally the amount and the price you expect to pay). Onyx assembles a single hard clearance — PROCEED / REVIEW / HOLD — from its Ed25519-signed observation log: Onyx-Verified status, live TLS/reachability/off-domain-redirect facts, domain age, and observed-vs-expected price. Facts with methods disclosed, signed and verifiable; Onyx never asserts the merchant is honest — it ensures you read real signed ground-truth before you move money. The check agents run at the payment chokepoint.","when_to_use":"The check an agent runs at the PAYMENT CHOKEPOINT — immediately before settling with a merchant over x402/AP2. One call returns PROCEED/REVIEW/HOLD from signed ground-truth, so the agent never moves money on an unverified, unreachable, off-domain-redirecting, or wildly-mispriced endpoint.","vs_alternatives":"onyx_merchant_fact_check returns the raw facts; this returns a single hard clearance built from them plus Onyx-Verified status — the one call to wire into a payment guard. Verify any input free at /verify; check verified status at /verified/{domain}.","example_request":{"domain":"shop.example.com","amount_usd":49.99,"expected_price":49.99},"example_response":{"ok":true,"domain":"shop.example.com","clearance":"PROCEED","signals":{"onyx_verified":true,"tls_valid":true,"reachable":true,"redirected_off_domain":false,"domain_age_days":412},"reasons":["domain holds a current Onyx Verified record","..."]},"settle_to":"0x3fD9ee1373562f894D322B37DFFAd7a5D2b2d78f","network":"base","facilitator":"https://facilitator.xpay.sh","payment_required":false,"free_introspection":true,"note":"GET this URL = free introspection card. POST with x402 payment header to call."}