aboutsummaryrefslogtreecommitdiffstats
path: root/index.ts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2025-07-12 22:52:01 -0700
committerAdam Soltys <[email protected]>2025-07-12 22:52:01 -0700
commit53a4d40f6861312a6fc6e6d99c317a0d82eda32f (patch)
tree7c0e87c16800cd1dfc0817ab3150c7dd2e274beb /index.ts
parent34b83c88006cb0aa52551199a49fe96c2cc51186 (diff)
downloadcoinos-server-53a4d40f6861312a6fc6e6d99c317a0d82eda32f.tar.gz
coinos-server-53a4d40f6861312a6fc6e6d99c317a0d82eda32f.zip
check account ownership
Diffstat (limited to 'index.ts')
-rw-r--r--index.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/index.ts b/index.ts
index a401d3d3..8c8d4eaf 100644
--- a/index.ts
+++ b/index.ts
@@ -82,6 +82,9 @@ app.post("/replace", auth, payments.replace);
app.get("/decode/:bolt11", payments.decode);
app.post("/fetchinvoice", payments.fetchinvoice);
+app.get("/auth", payments.auth);
+app.post("/order", payments.order);
+
app.get("/encode", lnurl.encode);
app.get("/decode", lnurl.decode);
app.get("/lnurl/verify/:id", lnurl.verify);