{ "opencollection": "1.0.0", "info": { "name": "Swetrix Admin Annotations Revenue API", "version": "1.0" }, "request": { "auth": { "type": "apikey", "key": "X-Api-Key", "value": "{{X-Api-Key}}", "placement": "header" } }, "items": [ { "info": { "name": "Revenue", "type": "folder" }, "items": [ { "info": { "name": "Record Revenue Transaction", "type": "http" }, "http": { "method": "POST", "url": "https://api.swetrix.com/log/revenue", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "X-Api-Key", "value": "{{X-Api-Key}}", "placement": "header" } }, "docs": "Records a revenue transaction (sale, refund, or subscription) for the specified project. Server-side only — requires API key authentication via X-Api-Key header. Amounts should always be positive (type field distinguishes refunds)." } ] } ], "bundled": true }