Withdraw from a LNURL-withdraw

Withdraw from a LNURL-withdraw string.

To use this endpoint, decode a LNURL-withdraw QR code and perform a /GET request on the decoded url to get the JSON response. Then, ask the user for an exact amount to withdraw (if necessary). Then, call this api with the necessary parameters

The bolt11 returned is for tracking purposes. As per the protocol, the bolt11 is supposed to be paid asynchronously; therefore caller of this api is responsible for tracking the payment status of the bolt11

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

the account to credit the amount of the withdraw to.

Body Params
int32
required

The amount to withdraw from a LNURL-withdraw.

string
required

The k1 is the unique identifier of the LnUrl Withdraw that you get when decoding the lnurl.

string
required

The callback is a url of the LNURL Withdraw that you get when decoding the lnurl.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json