1
Wallet Refill API
β
Done
D
dev.thebells1111Sep 14, 2022
An API so a user can refill their wallet without needing to use the browser extension would be nice. Do a GET request with the lightning address, customKey, and customValue (or Alby address) in a query, and get an invoice string returned that the app can use to generate a QR code with. This let's apps using the OAuth functionality the ability for users to refill their wallet from a mobile device without needing to run to their desktop browser.
Comments
You should already be able to do that:
https://guides.getalby.com/alby-wallet-api/reference/api-reference/invoices
This endpoint allows you to create invoices on behalf of the user.
Feel free to reach out to me in case you have any questions!