agora_pay_guard
Pre-payment guard for AI agents: before paying an x402 endpoint, checks its payment request (official USDC contract, network, price vs your spending policy, payTo address against US OFAC sanctioned crypto addresses and the Chainalysis on-chain oracle, domain age via RDAP, AMF/ESMA blacklists, HTTPS). Returns ALLOW / REVIEW / HALT with the safest payment option and an Ed25519-signed receipt for your audit trail. Price: $0.01 USDC per call, paid with x402.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The x402 endpoint the agent is about to pay (https) | |
| method | No | GET or POST (default GET) | |
| policy | No | Optional spending policy: max_price_usd, budget_remaining_usd, allowed_domains[], allowed_networks[] (CAIP-2), expected_pay_to | |
| payment_required | No | Optional: the 402 PAYMENT-REQUIRED header (base64) or JSON body the agent already received |