💳
AB-078

Payment Info in OpenAPI

📋 OpenAPI Pillar: Discovery Moderate effort Severity: medium Est. cost: $10-50 Gap: documentation Fix: deterministic

What it means

Your OpenAPI spec declares payment information for paid operations so agents know which endpoints cost money.

Why it matters

Agents need to know which operations require payment before calling them. Declaring payment info prevents unexpected charges.

Evidence expected

This rule is verified by:

http Source: Runtime probe
✗

What's wrong

Paid endpoints have no payment info in the spec. Agents call them and get surprise 402 errors.

✓

What's right

Paid operations clearly declare payment info. Agents know upfront which calls cost money.

Check this rule on your site

Enter your URL to check just this one rule (AB-001).

Related rules in OpenAPI

Machine-Readable

This rule is also available as JSON: /rules/AB-078.json

Explore More

  • All Rules

    Browse the complete rules catalog

  • Agent Guide

    Learn how to fix this rule

  • Blog

    Related articles on agent readiness