{
    "openapi": "3.1.0",
    "info": {
        "title": "TrolyPage Agent Commerce API",
        "version": "1.0.0"
    },
    "paths": {
        "/api/premium-data": {
            "get": {
                "operationId": "getPremiumData",
                "responses": {
                    "200": {
                        "description": "Success"
                    },
                    "402": {
                        "description": "Payment Required"
                    }
                },
                "x-payment-info": {
                    "intent": "charge",
                    "method": "stripe",
                    "amount": 500,
                    "currency": "USD"
                }
            }
        },
        "/api/x402-payment": {
            "get": {
                "operationId": "payWithX402",
                "responses": {
                    "402": {
                        "description": "x402 Payment Required",
                        "headers": {
                            "x-402-facilitator": {
                                "schema": {
                                    "type": "string"
                                }
                            },
                            "x-402-wallet": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
