pay_preflight
Can an agent pay at this host? Rails, endpoint, price, freshness. Unpaid calls return HTTP 402 at $0.001 USDC. Same resource URL as the REST route.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Public hostname without a scheme. A scheme, port, path, and leading www. are stripped if present. After normalize: two or more DNS labels, each [a-z0-9] with optional interior hyphens (max 63 chars), total length at most 253. Empty input, literal IPs, and bare labels are rejected. | |
| intent | No | Payment intent filter. Omit or send empty to default to any. Must be checkout, api, or any. |