ApiLightning addresses
Link address to the wallet that receives its payments
PATCH
Set providerId to receive on a connected external LNbits provider (BYO wallet), accountWalletId to receive on a specific account wallet, or neither to reset to the default platform-provisioned wallet. Only one of the two may be set. Ownership of both the address and the target wallet/provider is verified.
bearerid*stringX-API-Version?stringAPI version for header-based versioning
Default
"1"Value in
"1""2"application/json- body
nwcConnectionId?|NWC connection id (your own wallet) to receive payments on. Null clears it.
accountWalletId?|Specific account wallet id to receive payments. Null clears it.
Wallet link updated.
curl -X PATCH 'http://localhost:3001/api/v1/lightning-address/string/wallet' \ -H 'Content-Type: application/json' \ -d '{}'Example Response200
Empty