aboutsummaryrefslogtreecommitdiffstats
path: root/index.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-01-18 19:45:14 -0800
committerAdam Soltys <[email protected]>2023-01-18 19:45:14 -0800
commit963aa2d12683ad3cf9ab2927efa5361945a8bc58 (patch)
treeecddd30b2120675818d6356e6f9278209ce244e0 /index.js
parentd62cc3b3db7d96ec48b71bb4adff99d134f934d7 (diff)
downloadcoinos-server-963aa2d12683ad3cf9ab2927efa5361945a8bc58.tar.gz
coinos-server-963aa2d12683ad3cf9ab2927efa5361945a8bc58.zip
pots
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);