From ee8e20ce1dbcc0476ec698dd8c9d0ff99e260db7 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 9 Jul 2025 12:09:08 -0700 Subject: update docs --- src/routes/(static)/docs/+page.svelte | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/routes/(static)/docs/+page.svelte b/src/routes/(static)/docs/+page.svelte index 7ac6e013..f53787e5 100644 --- a/src/routes/(static)/docs/+page.svelte +++ b/src/routes/(static)/docs/+page.svelte @@ -105,16 +105,18 @@
Request params
-
type
+
type (string, default: lightning)
bitcoin or lightning
-
amount
-
amount in satoshis
-
webhook
+
fiat (boolean, default: false)
+
whether the amount is denominated in satoshis or local currency
+
amount (numeric)
+
amount to be paid
+
webhook (string, optional)
- (optional) endpoint to hit when the invoice is paid + remote endpoint to call when the invoice is paid
-
secret
-
a secret for the webhook to check
+
secret (string, optional)
+
a secret value passed to the webhook to authenticate the request
-- cgit v1.2.3