{ "opencollection": "1.0.0", "info": { "name": "BTCPay Greenfield API Keys Stores (Email) API", "version": "v1" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "Stores (Email)", "type": "folder" }, "items": [ { "info": { "name": "Get store email settings", "type": "http" }, "http": { "method": "GET", "url": "https://{btcpay-host}/api/v1/stores/:storeId/email", "params": [ { "name": "storeId", "value": "", "type": "path", "description": "The store ID" } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Retrieve the email settings configured for specific store. The password field will be masked if present." }, { "info": { "name": "Update store email settings", "type": "http" }, "http": { "method": "PUT", "url": "https://{btcpay-host}/api/v1/stores/:storeId/email", "params": [ { "name": "storeId", "value": "", "type": "path", "description": "The store ID" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Update a store's email settings" }, { "info": { "name": "Send an email for a store", "type": "http" }, "http": { "method": "POST", "url": "https://{btcpay-host}/api/v1/stores/:storeId/email/send", "params": [ { "name": "storeId", "value": "", "type": "path", "description": "The store ID" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Send an email using the store's SMTP server" } ] } ], "bundled": true }