From d77e304e127ffb5e3eb6933e3166bb8a43a54f82 Mon Sep 17 00:00:00 2001 From: Ashkan Jalali <55811147+ashkanjalaliQ@users.noreply.github.com> Date: Thu, 28 Apr 2022 17:07:58 +0430 Subject: [PATCH] Update _api_docs.html add "webhook" and "unit" arguments to api document --- lnbits/core/templates/core/_api_docs.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lnbits/core/templates/core/_api_docs.html b/lnbits/core/templates/core/_api_docs.html index 0e74f38e4..5df37676e 100644 --- a/lnbits/core/templates/core/_api_docs.html +++ b/lnbits/core/templates/core/_api_docs.html @@ -48,7 +48,7 @@ {"X-Api-Key": "{{ wallet.inkey }}"}
Body (application/json)
{"out": false, "amount": <int>, "memo": <string>}{"out": false, "amount": <int>, "memo": <string>, "unit": <string>, "webhook": <url:string>}
Returns 201 CREATED (application/json)