aboutsummaryrefslogtreecommitdiffstats
path: root/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'index.js')
-rw-r--r--index.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/index.js b/index.js
index fd365e1a..1ade59d8 100644
--- a/index.js
+++ b/index.js
@@ -48,6 +48,8 @@ app.post("/send", auth, payments.send);
app.get("/payments", auth, payments.list);
app.get("/payments/:hash", auth, payments.get);
app.post("/lightning/send", auth, payments.sendLightning);
+app.get("/pot/:name", payments.pot);
+app.post("/withdraw", auth, payments.withdraw);
app.get("/voucher/:id", payments.voucher);
app.post("/redeem", optional, payments.redeem);