curl -X GET {{ request.base_url }}withdraw/api/v1/links -H
- "X-Api-Key: "
+ "X-Api-Key: {{ user.wallets[0].inkey }}"
@@ -51,8 +51,8 @@
curl -X GET {{ request.base_url
- }}withdraw/api/v1/links/<withdraw_id> -H "X-Api-Key:
- "
+ }}withdraw/api/v1/links/<withdraw_id> -H "X-Api-Key: {{
+ user.wallets[0].inkey }}"
@@ -86,7 +86,7 @@
"max_withdrawable": <integer>, "uses": <integer>,
"wait_time": <integer>, "is_unique": <boolean>,
"webhook_url": <string>}' -H "Content-type: application/json" -H
- "X-Api-Key: "
+ "X-Api-Key: {{ user.wallets[0].adminkey }}"
@@ -122,8 +122,8 @@
<string>, "min_withdrawable": <integer>,
"max_withdrawable": <integer>, "uses": <integer>,
"wait_time": <integer>, "is_unique": <boolean>}' -H
- "Content-type: application/json" -H "X-Api-Key:
- "
+ "Content-type: application/json" -H "X-Api-Key: {{
+ user.wallets[0].adminkey }}"
@@ -147,8 +147,8 @@
curl -X DELETE {{ request.base_url
- }}withdraw/api/v1/links/<withdraw_id> -H "X-Api-Key:
- "
+ }}withdraw/api/v1/links/<withdraw_id> -H "X-Api-Key: {{
+ user.wallets[0].adminkey }}"
@@ -176,7 +176,7 @@
curl -X GET {{ request.base_url
}}withdraw/api/v1/links/<the_hash>/<lnurl_id> -H
- "X-Api-Key: "
+ "X-Api-Key: {{ user.wallets[0].inkey }}"
diff --git a/templates/withdraw/csv.html b/templates/withdraw/csv.html
new file mode 100644
index 0000000..6290290
--- /dev/null
+++ b/templates/withdraw/csv.html
@@ -0,0 +1,12 @@
+{% extends "print.html" %} {% block page %} {% for page in link %} {% for threes
+in page %} {% for one in threes %} {{one}}, {% endfor %} {% endfor %} {% endfor
+%} {% endblock %} {% block scripts %}
+
+{% endblock %}
diff --git a/templates/withdraw/display.html b/templates/withdraw/display.html
index 812c95f..3ef545c 100644
--- a/templates/withdraw/display.html
+++ b/templates/withdraw/display.html
@@ -4,32 +4,29 @@
- ID:
- Unique:
-
-
+ ID: {{ qrCodeDialog.data.id }}
+ Unique: {{ qrCodeDialog.data.is_unique }}
(QR code will change after each withdrawal)
- Max. withdrawable:
- sat
- Wait time:
- seconds
- Withdraws:
- /
-
+ Max. withdrawable: {{
+ qrCodeDialog.data.max_withdrawable }} sat
+ Wait time: {{ qrCodeDialog.data.wait_time }} seconds
+ Withdraws: {{ qrCodeDialog.data.used }} / {{
+ qrCodeDialog.data.uses }}
|
+ |
{% endfor %}
-
+