Pay Lnurl
https://sandboxapi.bitnob.co/api/v1/lnurl/paylnurl (opens in a new tab)
Pay another service using lnurl
Body Parameters
Parameter | type | Required |
---|---|---|
encodedLnUrl the lnurl to pay | string | ✅ |
satoshis amount to pay | int32 | ✅ |
reference a unique reference you generate to keep track of this payment | string | ✅ |
customerEmail the customer making this payment | string | ✅ |
comment a message to send with the payment | string |
Request
lightning address/ Pay lnurl
curl --request POST \
--url https://sandboxapi.bitnob.co/api/v1/lnurl/paylnurl \
--header 'Authorization: Bearer API-KEY' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"encodedLnUrl": "string",
"satoshis": 0,
"reference": "string",
"customerEmail": "string",
"comment": "string"
}
'
Responses
🟢 200 - Result example
{
}
Last updated on