diff options
| author | Adam Soltys <[email protected]> | 2023-01-18 19:45:14 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-01-18 19:45:14 -0800 |
| commit | 963aa2d12683ad3cf9ab2927efa5361945a8bc58 (patch) | |
| tree | ecddd30b2120675818d6356e6f9278209ce244e0 /index.js | |
| parent | d62cc3b3db7d96ec48b71bb4adff99d134f934d7 (diff) | |
| download | coinos-server-963aa2d12683ad3cf9ab2927efa5361945a8bc58.tar.gz coinos-server-963aa2d12683ad3cf9ab2927efa5361945a8bc58.zip | |
pots
Diffstat (limited to 'index.js')
| -rw-r--r-- | index.js | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -48,6 +48,8 @@ app.post("/send", auth, payments.send); app.get("/payments", auth, payments.list); app.get("/payments/:hash", auth, payments.get); app.post("/lightning/send", auth, payments.sendLightning); +app.get("/pot/:name", payments.pot); +app.post("/withdraw", auth, payments.withdraw); app.get("/voucher/:id", payments.voucher); app.post("/redeem", optional, payments.redeem); |
