x402-endpoint-readiness
live-endpoint-probe
x402-validator
x402-paid-api
x402-service
ai-agent-tool
agent-payment-preflight
payment-preflight
verify-before-payment
endpoint-verification
http-402-validation
can-pay
base-usdc
bazaar

Run a live x402 endpoint readiness check before payment

Changed on

Verify an x402 endpoint before an AI agent pays: get ALLOW or DENY with reasons, a readiness score, report ID and a settlement-backed SHA-256 evidence receipt. This x402 paid API verification service probes the HTTP 402 challenge, payTo, price, Base USDC network and asset, manifest freshness, budget and spend policy. Free can-pay and readiness checks are also available. Readiness evidence is not a safety guarantee.

post/api/agent/pay/v2

Request

  • Base URL: https://ontarioprotocol.com
  • URL: https://ontarioprotocol.com/api/agent/pay/v2
  • Auth: none required

Request body

agent_policy'strict' | 'standard' | 'permissive'

Policy posture used to produce the allow or deny decision.

endpointstring uri required

Public x402 paid API URL to probe and verify before an autonomous agent pays.

max_usdcstring

Optional maximum endpoint price allowed by the buyer policy.

querystring

Optional task context for the payment decision. When omitted, Ontario performs a general live x402 endpoint readiness check.

Response

Paid live endpoint readiness decision and evidence receipt

Changes

    • breaking

      the request property became required

    • info

      api tag live-endpoint-probe added

    • info

      api tag x402-endpoint-readiness added

    • info

      api tag x402-validator added

    • info

      the request property became optional

    • info

      the request property default value strict was added