Build & Earn
Turn an existing API into an agent-purchasable service
Keep the function. Freeze the JSON contract. Challenge before side effects.
If the unpaid path already does the work, agents will never pay. Put 402 in front of the expensive or side-effecting handler.
Publish OpenAPI that matches live behaviour. Additional properties closed unless you mean to be open.