aboutsummaryrefslogtreecommitdiffstats
path: root/index.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-01-18 23:14:48 -0800
committerAdam Soltys <[email protected]>2023-01-18 23:14:48 -0800
commitef3679051214a9b3047b68f236eac656edcf8d38 (patch)
tree426eda7cf7e36026c60da2ae28ce7c61804518f8 /index.js
parent90ddef9f0dd93e8f980eb728cf0519d9215163f0 (diff)
downloadcoinos-server-ef3679051214a9b3047b68f236eac656edcf8d38.tar.gz
coinos-server-ef3679051214a9b3047b68f236eac656edcf8d38.zip
bitcoin invoices
Diffstat (limited to 'index.js')
-rw-r--r--index.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/index.js b/index.js
index 1ade59d8..6a34f543 100644
--- a/index.js
+++ b/index.js
@@ -50,6 +50,7 @@ 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.post("/bitcoin", payments.bitcoin);
app.get("/voucher/:id", payments.voucher);
app.post("/redeem", optional, payments.redeem);