-
+
-## Tip us
+## Powered by LNbits
-If you like this project [send some tip love](https://demo.lnbits.com/lnurlp/link/fH59GD)!
+LNbits empowers everyone with modular, open-source tools for building Bitcoin-based systems — fast, free, and extendable.
+
+[](https://shop.lnbits.com/)
+[](https://shop.lnbits.com/)
+[](https://my.lnbits.com/login)
+[](https://news.lnbits.com/)
+[](https://extensions.lnbits.com/) [](https://demo.lnbits.com/tipjar/DwaUiE4kBX6mUW6pj3X5Kg)
[docs]: https://github.com/lnbits/lnbits/wiki
[docs-badge]: https://img.shields.io/badge/docs-lnbits.org-673ab7.svg
diff --git a/docs/_config.yml b/docs/_config.yml
index 75ddd399..6373311c 100644
--- a/docs/_config.yml
+++ b/docs/_config.yml
@@ -4,6 +4,7 @@ color_scheme: dark
logo: "/logos/lnbits-full-inverse.png"
search_enabled: true
url: https://docs.lnbits.org
+markdown: gfm
aux_links:
"LNbits on GitHub":
- "//github.com/lnbits/lnbits"
diff --git a/docs/guide/fastapi_transition.md b/docs/devs/fastapi_transition.md
similarity index 97%
rename from docs/guide/fastapi_transition.md
rename to docs/devs/fastapi_transition.md
index f385b468..1a166a9f 100644
--- a/docs/guide/fastapi_transition.md
+++ b/docs/devs/fastapi_transition.md
@@ -1,3 +1,9 @@
+---
+layout: default
+title: FastAPI extension upgrade
+nav_order: 1
+---
+
## Defining a route with path parameters
**old:**
diff --git a/docs/guide/admin_ui.md b/docs/guide/admin_ui.md
index f732d9e5..f71019a2 100644
--- a/docs/guide/admin_ui.md
+++ b/docs/guide/admin_ui.md
@@ -1,78 +1,134 @@
---
layout: default
title: Admin UI
-nav_order: 4
+nav_order: 1
---
-# Admin UI
+
+
+
+
+
+
+
+ Refresh Interval and History Size are for
- historical purposes only.
- API URL and JSON Path fields can use the
- {to} and {TO} placeholders for the code of the
- currency
- {TO} is the uppercase code and {to} is the
- lowercase code
- checkout.session.async_payment_failedcheckout.session.async_payment_succeededcheckout.session.completedcheckout.session.expiredGET /api/v1/wallet
- {"X-Api-Key": ""}{"id": <string>, "name": <string>, "balance":
- <int>}
- curl api/v1/wallet -H "X-Api-Key:
- "
- POST /api/v1/payments
- {"X-Api-Key": ""}{"out": false, "amount": <int>, "memo": <string>,
- "expiry": <int>, "unit": <string>, "webhook":
- <url:string>, "internal": <bool>}
- {"payment_hash": <string>, "payment_request":
- <string>}
- curl -X POST api/v1/payments -d
- '{"out": false, "amount": <int>, "memo": <string>}' -H
- "X-Api-Key:
- " -H
- "Content-type: application/json"
- POST /api/v1/payments (reveal
- admin keys
- )
- {"X-Api-Key": ""}
- {"out": true, "bolt11": <string>}
- {"payment_hash": <string>}
- curl -X POST api/v1/payments -d
- '{"out": true, "bolt11": <string>}' -H "X-Api-Key:
- " -H "Content-type: application/json"
- POST
- /api/v1/payments/decode
- {"data": <string>}
- curl -X POST api/v1/payments/decode -d
- '{"data": <bolt11/lnurl, string>}' -H "Content-type:
- application/json"
- GET
- /api/v1/payments/<payment_hash>
- {"X-Api-Key": ""}
- {"paid": <bool>}
- curl -X GET
- api/v1/payments/<payment_hash> -H
- "X-Api-Key:
- " -H
- "Content-type: application/json"
- WS
- /api/v1/ws/<invoice_key>
-
- wscat -c /
- {"balance": <int>, "payment": <object>}
- Authorization
-
-
- header.
- | - Header Name - | -- Header Value - | -
|---|---|
| - Authorization - | -
-
-
-
- Bearer
-
-
-
- |
-
-
-
-
- -
-
-
-
`name` and
- `sort description` fields are what the users will
- see when browsing the list of extensions.
- `id` field is used internally and in the URL of
- your extension.
- created_at, updated_at and
- extra.
-
- (Owner Data) that will be used as a title for the public
- page.
- (Owner Data) that will be used as a description for the
- public page. (Client Data) that will be shown as inputs in
- the public page form.
- (Client Data) as parameters.
- (Owner Data) that represents the wallet which
- will generate the invoice and receive the payments.
- Wallet will be
- shown.
- (Owner Data) that represents the currency
- which will be used to for the amount.
- Currency will
- be shown.
- (Owner Data) or
- (Client Data) that represents the amount (in
- the selected currency).
- Integer and
- Float will be shown.
- (Client Data) that will be set to true when
- the invoice is paid.
- Boolean will be
- shown.
- - -
- {{SITE_DESCRIPTION}} -
- - -- is requesting an invoice: -
- {% if LNBITS_DENOMINATION != 'sats' %} -- Authenticate with ? -
-- For every website and for every LNbits wallet, a new keypair - will be deterministically generated so your identity can't be - tied to your LNbits wallet or linked across websites. No other - data will be shared with - . -
-- Your public key for is: -
-
-
-
- is requesting
-
-
-
-
- and a
- -char
- comment
-
-
-
- is requesting
- between
- and
-
-
-
-
- and a
- -char
- comment
-
-
-