mirror of
https://github.com/lnbits/lnbits.git
synced 2025-10-10 20:42:32 +02:00
Merge pull request #381 from arcbtc/FastAPI
restored create invoice api endpoint
This commit is contained in:
@@ -44,7 +44,7 @@ async def create_invoice(
|
|||||||
*,
|
*,
|
||||||
wallet_id: str,
|
wallet_id: str,
|
||||||
amount: int, # in satoshis
|
amount: int, # in satoshis
|
||||||
memo: Optional[str] = None,
|
memo: str,
|
||||||
description_hash: Optional[bytes] = None,
|
description_hash: Optional[bytes] = None,
|
||||||
extra: Optional[Dict] = None,
|
extra: Optional[Dict] = None,
|
||||||
webhook: Optional[str] = None,
|
webhook: Optional[str] = None,
|
||||||
|
Reference in New Issue
Block a user