API Reference
Lightning Address
Receive LN Withdrawal [POST]

Receive Ln-Withdrawal

https://sandboxapi.bitnob.co/api/v1/lnurl/receivelnurlwithdrawal (opens in a new tab)


Body Parameters

ParametertypeRequired
customerEmailstring
descriptionint32
lnurlstring
satoshisint32

Request

lightning address/ Create LN-Withdrawal
curl --request GET \
     --url https://sandboxapi.bitnob.co/api/v1/lnurl/receivelnurlwithdrawal \
     --header 'Authorization: Bearer API-KEY' \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '
{
  "customerEmail": "string",
  "satoshis": 0,
  "lnurl": "string",
  "description": "string"
}
'

Responses

🟢 200 - Result example
{
"status": true,
"message": "",
"data": "receive LnUrl Withdrawal successful"
}
 
Last updated on