Configuration
You first need to create a new BTCPay store:
- Log in to your BTCPay Server instance
- Go to Stores menu
- Click on
Create a new store - Enter a name
- Push
Create
Now you need to pair the BTCPay client in Node-RED with the BTCPay store:
- Navigate to
Stores > Settings > Access Tokenson your BTCPay Server - Create a new token
- Leave PublicKey blank
- Request pairing
- Copy pairing code
- Open your Node-RED instance
- Drag & drop the
btcpay apinode from the palette to the workspace and double-click on it, to open the node editor - In the
Clientdropdown menu pick theAdd New btcpay-api-configoption and press the pencil button at the right to add a new API configuration - Enter the https URL to your BTCPay Server instance
- Paste the pairing code you copied on step 5
- Click the
Pair clientbutton - the private key and token fields will be automatically filled with your api credentials - Push
Update