aboutsummaryrefslogtreecommitdiffstats
path: root/index.ts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-03-08 22:23:17 -0700
committerAdam Soltys <[email protected]>2026-03-08 22:23:17 -0700
commitac05ab09314eebd1d939d9b032ddcb16446e294c (patch)
treefbeb1f5497ec2049bfbef31310aefce2d2297690 /index.ts
parent4437763b8dd21d2d13420146895b5fe29f72cc4b (diff)
downloadcoinos-server-ac05ab09314eebd1d939d9b032ddcb16446e294c.tar.gz
coinos-server-ac05ab09314eebd1d939d9b032ddcb16446e294c.zip
add LNURL-withdraw endpoints for fund-based NFC payments
Co-Authored-By: Claude Opus 4.6 <[email protected]>
Diffstat (limited to 'index.ts')
-rw-r--r--index.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/index.ts b/index.ts
index f557bba0..a322407e 100644
--- a/index.ts
+++ b/index.ts
@@ -136,6 +136,8 @@ app.get("/decode", lnurl.decode);
app.get("/lnurl/verify/:id", lnurl.verify);
app.get("/lnurlp/:username", lnurl.lnurlp);
app.get("/lnurl/:id", lnurl.lnurl);
+app.get("/lnurlw/:fundId", lnurl.lnurlw);
+app.get("/lnurlw/:fundId/callback", lnurl.lnurlwCallback);
app.get("/pay/:username", lnurl.pay);
app.get("/pay/:username/:amount", lnurl.pay);