diff options
| author | Adam Soltys <[email protected]> | 2024-11-21 10:47:25 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-11-21 10:47:25 -0800 |
| commit | 3b15d16339c9209f307f8453af91fba15f3d340c (patch) | |
| tree | d9f4ca8879c6a0b29ca8f6ad795c2154387626fd /index.ts | |
| parent | 5642b90b54084061cdbbf6f1dc70c38245b05d5f (diff) | |
| download | coinos-server-3b15d16339c9209f307f8453af91fba15f3d340c.tar.gz coinos-server-3b15d16339c9209f307f8453af91fba15f3d340c.zip | |
wip
Diffstat (limited to 'index.ts')
| -rw-r--r-- | index.ts | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -56,7 +56,7 @@ app.post("/event", auth, nostr.publish); app.get("/info", payments.info); app.post("/payments", auth, payments.create); app.get("/payments", auth, payments.list); -app.get("/payments/:hash", auth, payments.get); +app.get("/payments/:hash", payments.get); app.post("/parse", auth, payments.parse); app.get("/fund/:name", payments.fund); app.get("/fund/:name/withdraw", payments.withdraw); @@ -125,6 +125,7 @@ app.post("/unlimit", admin, users.unlimit); app.get("/cash/:id/:version", ecash.get); app.post("/cash", ecash.save); +app.post("/cash/pay", ecash.pay); app.post("/claim", auth, ecash.claim); app.post("/mint", auth, ecash.mint); app.post("/melt", auth, ecash.melt); |
