generated from alexk111/node-red-node-typescript-starter
-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
btcpay-ipn-handler.json
58 lines (58 loc) · 1.17 KB
/
btcpay-ipn-handler.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
[
{
"id": "104235db.a6176a",
"type": "btcpay-ipn",
"z": "ee9c9c24.20b96",
"client": "",
"path": "/btcpay-ipn",
"name": "",
"x": 400,
"y": 1240,
"wires": [["8c74d639.2e0d88"]]
},
{
"id": "a2a2d5f9.0bc0d8",
"type": "comment",
"z": "ee9c9c24.20b96",
"name": "IPN handler",
"info": "",
"x": 410,
"y": 1200,
"wires": []
},
{
"id": "bbf0388f.9332e8",
"type": "debug",
"z": "ee9c9c24.20b96",
"name": "Invoice Data",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": true,
"complete": "payload",
"targetType": "msg",
"statusVal": "payload.status",
"statusType": "msg",
"x": 790,
"y": 1240,
"wires": []
},
{
"id": "8c74d639.2e0d88",
"type": "switch",
"z": "ee9c9c24.20b96",
"name": "check status",
"property": "payload.status",
"propertyType": "msg",
"rules": [
{ "t": "eq", "v": "confirmed", "vt": "str" },
{ "t": "eq", "v": "complete", "vt": "str" }
],
"checkall": "false",
"repair": false,
"outputs": 2,
"x": 590,
"y": 1240,
"wires": [["bbf0388f.9332e8"], ["bbf0388f.9332e8"]]
}
]