Should I pay?
should_i_payPre-payment decision for any A2A payment: "should I pay this seller $N?". Call it before every payment to an unknown agent or x402 seller — the agent-facing equivalent of a credit check: pay $0.01 to avoid paying a scammer $N. Answers with action PAY / CAUTION / SKIP, confidence and expected loss in USDC sized to your exact amount. Target by ERC-8004 agent_id, Solana pubkey, x402 seller_url or seller pay_to wallet. Agent targets use on-chain ERC-8004 evidence; seller targets use Bazaar demand (repeat payers/calls). For seller targets wallet_flow is marked not_available — demand data does not see seller→payer round trips. Use agent_interact_gate instead when the question is broader than payment. REST: GET /api/v1/should-i-pay ($0.01).
Args: agent_id: ERC-8004 agent id of the payment TARGET (or use another target) solana_asset: Solana 8004 agent pubkey (alternative to agent_id) seller_url: x402 seller resource URL or domain (alternative target) pay_to: seller payTo wallet — EVM 0x… or Solana base58 (alternative target) amount_usd: the USDC amount you are about to pay
Not investment advice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pay_to | No | ||
| agent_id | No | ||
| amount_usd | No | ||
| seller_url | No | ||
| solana_asset | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |