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 Tokens
on your BTCPay Server - Create a new token
- Leave PublicKey blank
- Request pairing
- Copy pairing code
- Open your Node-RED instance
- Drag & drop the
btcpay api
node from the palette to the workspace and double-click on it, to open the node editor - In the
Client
dropdown menu pick theAdd New btcpay-api-config
option 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 client
button - the private key and token fields will be automatically filled with your api credentials - Push
Update