aboutsummaryrefslogtreecommitdiffstats
path: root/index.ts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2025-09-18 14:42:13 -0700
committerAdam Soltys <[email protected]>2025-09-18 14:42:13 -0700
commit8c7fa95d44aabd38fadc3ef955d835ad3379ec6c (patch)
treec5c3b9f5490acd944656438d31355081835098d3 /index.ts
parentd2db386e53296babe4e4068ca8d68b3c052e0efb (diff)
downloadcoinos-server-8c7fa95d44aabd38fadc3ef955d835ad3379ec6c.tar.gz
coinos-server-8c7fa95d44aabd38fadc3ef955d835ad3379ec6c.zip
sendinvoice support
Diffstat (limited to 'index.ts')
-rw-r--r--index.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/index.ts b/index.ts
index 0ca35ec5..d9538427 100644
--- a/index.ts
+++ b/index.ts
@@ -67,6 +67,7 @@ app.post("/zapRequest", auth, nostr.zapRequest);
app.get("/thread/:id", nostr.thread);
app.get("/info", payments.info);
+app.post("/sendinvoice", auth, payments.sendinvoice);
app.post("/payments", auth, payments.create);
app.get("/payments", auth, payments.list);
app.get("/payments/:hash", payments.get);