Update README.md

This commit is contained in:
Arc 2020-02-19 22:20:10 +00:00 committed by GitHub
parent 17f059a8de
commit 1b11f91517
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,3 +6,9 @@ https://github.com/btcontract/lnurl-rfc/blob/master/spec.md#3-lnurl-withdraw
With this extension to can create/edit LNURL withdraws, set a min/max amount, set time (useful for subscription services)
![lnurl](https://i.imgur.com/qHi7ExL.png)
## API endpoint
Easily fetch one-off LNURL
curl -H "Content-type: application/json" -X POST https://YOUR-LNBITS/withdraw/api/v1/lnurlmaker -d '{"amount":"100","memo":"ATM"}' -H "Grpc-Metadata-macaroon: YOUR-WALLET-ADMIN-KEY"