diff --git a/lnbits/core/templates/core/_api_docs.html b/lnbits/core/templates/core/_api_docs.html index 746d2e1..d3d4c8f 100644 --- a/lnbits/core/templates/core/_api_docs.html +++ b/lnbits/core/templates/core/_api_docs.html @@ -9,7 +9,7 @@ POST /api/v1/payments
Headers
- {"Grpc-Metadata-macaroon": "{{ wallet.inkey }}"}
+ {"api_key": "{{ wallet.inkey }}"}
Body (application/json)
{"out": false, "amount": <int>, "memo": <string>}
Returns 201 CREATED (application/json)
@@ -24,7 +24,7 @@ POST /api/v1/payments
Headers
- {"Grpc-Metadata-macaroon": "{{ wallet.adminkey }}"} + {"api_key": "{{ wallet.adminkey }}"}
Body (application/json)
{"out": true, "bolt11": <string>}
Returns 201 CREATED (application/json)
@@ -40,7 +40,7 @@ GET /api/v1/payments/<checking_id>
Headers
- {"Grpc-Metadata-macaroon": "{{ wallet.inkey }}"} + {"api_key": "{{ wallet.inkey }}"}
Returns 200 OK (application/json)
{"paid": <bool>}
Curl example