diff --git a/lnbits/core/templates/core/_api_docs.html b/lnbits/core/templates/core/_api_docs.html index 3e6d1f0d..20081bf0 100644 --- a/lnbits/core/templates/core/_api_docs.html +++ b/lnbits/core/templates/core/_api_docs.html @@ -176,18 +176,16 @@ >POST /api/v1/payments/decode -
Headers
- {"X-Api-Key": "{{ wallet.inkey }}"}
Body (application/json)
- {"invoice": <string>} + {"data": <string>}
Returns 200 (application/json)
Curl example
curl -X POST {{ request.base_url }}api/v1/payments/decode -d - '{"data": <bolt11/lnurl, string>}' -H "X-Api-Key: - {{ wallet.inkey }}" -H "Content-type: application/json"