{"rule_id":"AB-078","category":"openapi","icon":"💳","title":"Payment Info in OpenAPI","short_description":"Your OpenAPI spec declares payment information for paid operations so agents know which endpoints cost money.","user_value":"Agents need to know which operations require payment before calling them. Declaring payment info prevents unexpected charges.","wrong_example":"Paid endpoints have no payment info in the spec. Agents call them and get surprise 402 errors.","right_example":"Paid operations clearly declare payment info. Agents know upfront which calls cost money.","effort_hint":"moderate","estimated_cost":"$10-50","severity":"medium","pillar":"discovery","version":"1.0.0","counted_in_score":true,"check":{"type":"content_parse","sources":["openapi_standard"],"target":"/openapi.json"},"fix":{"eligible":true,"type":"assisted","note":"Add x-payment-info extension to paid operations in OpenAPI spec"},"checklist_anchor":"#AB-078","checklist_url":"/agent-readiness-checklist#AB-078","html_url":"/rules/AB-078","json_url":"/rules/AB-078.json","related_rules":[{"rule_id":"AB-039","title":"API Spec at Standard Location","category":"openapi"},{"rule_id":"AB-040","title":"API Paths Defined","category":"openapi"},{"rule_id":"AB-041","title":"API Paths Reachable","category":"openapi"},{"rule_id":"AB-042","title":"Response Matches Spec","category":"openapi"},{"rule_id":"AB-043","title":"API Version Identified","category":"openapi"},{"rule_id":"AB-044","title":"API Title","category":"openapi"},{"rule_id":"AB-076","title":"OpenAPI Paths Reachable","category":"openapi"},{"rule_id":"AB-077","title":"OpenAPI Response Matches Spec","category":"openapi"}]}