v

latestOpenAPI 3.0.1MIT2026-08-08803582.8 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.

require_audit_receiptboolean

Set true only when a settlement-backed receipt is required beyond the free policy decision.

Response

Payment decision

agent_policystring
auditable_paid_continuationobject

Optional 0.002 USDC receipt path. It is recommended only after an allow decision and an explicit require_audit_receipt request.

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