aboutsummaryrefslogtreecommitdiffstats
path: root/index.ts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2025-09-04 08:20:11 -0700
committerAdam Soltys <[email protected]>2025-09-04 15:03:38 -0700
commitfdfbb781f40775f39dbaa10269f559695f670b37 (patch)
treea731019bc0cafbec594a0653c55f7fbe62700358 /index.ts
parent044c1737289f89d111bcc8c3c709479286dcf29d (diff)
downloadcoinos-server-square.tar.gz
coinos-server-square.zip
create external paymentsquare
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 02a6e0b5..d4748059 100644
--- a/index.ts
+++ b/index.ts
@@ -86,6 +86,7 @@ app.post("/replace", auth, payments.replace);
app.get("/decode/:bolt11", payments.decode);
app.post("/fetchinvoice", payments.fetchinvoice);
+app.get("/square/sync", auth, square.sync);
app.get("/square/connect", auth, square.connect);
app.get("/square/auth", auth, square.auth);
app.post("/square/payment", square.payment);