{ "opencollection": "1.0.0", "info": { "name": "BTCPay Greenfield API Keys Lightning address API", "version": "v1" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "Lightning address", "type": "folder" }, "items": [ { "info": { "name": "Get store configured lightning addresses", "type": "http" }, "http": { "method": "GET", "url": "https://{btcpay-host}/api/v1/stores/:storeId/lightning-addresses", "params": [ { "name": "storeId", "value": "", "type": "path", "description": "The store ID" } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Get store configured lightning addresses" }, { "info": { "name": "Get store configured lightning address", "type": "http" }, "http": { "method": "GET", "url": "https://{btcpay-host}/api/v1/stores/:storeId/lightning-addresses/:username", "params": [ { "name": "storeId", "value": "", "type": "path", "description": "The store ID" }, { "name": "username", "value": "", "type": "path", "description": "The lightning address username" } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Get store configured lightning address" }, { "info": { "name": "Add or update store configured lightning address", "type": "http" }, "http": { "method": "POST", "url": "https://{btcpay-host}/api/v1/stores/:storeId/lightning-addresses/:username", "params": [ { "name": "storeId", "value": "", "type": "path", "description": "The store ID" }, { "name": "username", "value": "", "type": "path", "description": "the lightning address username" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Add or update store configured lightning address" }, { "info": { "name": "Remove configured lightning address", "type": "http" }, "http": { "method": "DELETE", "url": "https://{btcpay-host}/api/v1/stores/:storeId/lightning-addresses/:username", "params": [ { "name": "storeId", "value": "", "type": "path", "description": "The store ID" }, { "name": "username", "value": "", "type": "path", "description": "The lightning address username" } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Remove store configured lightning address" } ] } ], "bundled": true }