get https://ibexpay-api.ibexmercado.com/lnurl/perform-withdraw/websocket
Perform LNURL-Withdraw to accept NFC payments (i.e. BoltCard)
Steps to perform LNURL-Withdraw
- Client calls this route with params bpt_id (BPT you want to receive payment), amount_msat (amount you're withdrawing/being paid), and tip_amount_msat (amount being tipped optional)
- Client then sends this json via the websocket
{ "lnurl": string, // lnurlw "bolt11ToCancel": string // optional bolt11 to be canceled }
- Client will be notified when the lnurlw has been withdrawn via websocket message