onyx_payment_gate
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. (price: $0.05 USDC, tier: metered)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brand | No | Optional brand the merchant CLAIMS to be (e.g. 'Russell & Bromley'). If a well-known brand is claimed on a freshly-registered domain, the clearance is HELD — the cloned-storefront pattern. | |
| domain | Yes | Merchant domain or URL you are about to pay, e.g. shop.example.com | |
| amount_usd | No | Optional amount you are about to pay (for the record; large amounts lower the auto-PROCEED bar). | |
| product_url | No | Optional specific product URL to read the observed price from. | |
| expected_price | No | Optional price you were quoted/expect. If the page shows a price, a large deviation downgrades the clearance. |