v2

latestOpenAPI 3.0.1MIT2026-07-31803580.5 KB

Evaluate agent payment policy from query parameters

GET variant of the payment preflight endpoint.

get/api/agent/can-pay

Query parameters

endpointstring required

Paid API endpoint URL the agent wants to evaluate before payment.

max_usdcstring

Maximum USDC-denominated amount the agent policy allows for this call.

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

Named agent payment policy profile to apply to the decision.

verify_liveboolean

Whether Ontario should perform a fresh live verification before deciding.

Response

Payment decision

agent_policystring
decision'allow' | 'review' | 'deny'
declared_price_usdcnumber nullable
endpointstring
max_usdcnumber nullable
reasonstring
reasonsstring[]
recommendationsobject[]
report_integrity_okboolean
warningsstring[]