Arc
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
lnbits/extensions/tpos/templates/tpos/_api_docs.html
|
|
@ -12,7 +12,7 @@ |
|
|
|
<code>{"X-Api-Key": <invoice_key>}</code><br /> |
|
|
|
<h5 class="text-caption q-mt-sm q-mb-none">Body (application/json)</h5> |
|
|
|
<h5 class="text-caption q-mt-sm q-mb-none">Returns 201 CREATED (application/json)</h5> |
|
|
|
<code>{"lnurl": <string>}</code> |
|
|
|
<code>{"currency": <string>, "id": <string>, "name": <string>, "wallet": <string>}</code> |
|
|
|
<h5 class="text-caption q-mt-sm q-mb-none">Curl example</h5> |
|
|
|
<code>curl -X GET http://127.0.0.1:5000/tpos/api/v1/tposs -H "X-Api-Key: <invoice_key>" </code> |
|
|
|
</q-card-section> |
|
|
@ -44,7 +44,7 @@ |
|
|
|
<h5 class="text-caption q-mt-sm q-mb-none">Returns 201 NO_CONTENT</h5> |
|
|
|
<code></code> |
|
|
|
<h5 class="text-caption q-mt-sm q-mb-none">Curl example</h5> |
|
|
|
<code>curl -X DELETE http://127.0.0.1:5000/withdraw/api/v1/links/<tpos_id> -H "X-Api-Key: <admin_key>" |
|
|
|
<code>curl -X DELETE http://127.0.0.1:5000/tpos/api/v1/tposs/<tpos_id> -H "X-Api-Key: <admin_key>" |
|
|
|
</code> |
|
|
|
|
|
|
|
</q-card-section> |
|
|
|