Permanent LNURL-withdraw

Static LNURL-withdraw provides an LNURL tied to a wallet that will always be active. This will allow direct withdraw access to the wallet at all times.

GetLnurlWalletWithdrawStatic

GET https://<yourdomain>/v1/wallet/:wallet_key/lnurl/withdraw-static

Path Parameters

NameTypeDescription

wallet_key

string

wal_ for server side waka_ for client side

Query Parameters

NameTypeDescription

memo

string

default memo to always show

num_satoshis

number

default withdrawal amount

passThru

string

base64 encoded json data to pass along

{
    "lnurl" : "LNURL1DP68GUP69UHKCMNSV9UJUMR0VDSKCW3CXYCNZTMKXYHHWCTVD3JHGTMHV94KCA6L23XX27JCDAA82M2R0F8XKV6FF9HXVVMTX9F8XU30D3H82UNV94C8YMMRV4EHX0MWW4K47UMPW3HHX6RFWV7NYFNDV4KK702EDAXX7DJTWCJ"
}

These LNURLs allow unlimited access to withdrawing from the wallet!

curl -u sak_XXXXXXX: \
"https://<yourdomain>/v1/wallet/waka_XXXXXXXXX/lnurl/withdraw-static?num_satoshis=3"

Last updated