Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paying an external lightning address #89

Open
grunch opened this issue Aug 8, 2023 · 0 comments
Open

Paying an external lightning address #89

grunch opened this issue Aug 8, 2023 · 0 comments

Comments

@grunch
Copy link
Contributor

grunch commented Aug 8, 2023

hi, I'm trying to pay a ln address using the recipient field, I'm doing it like this

curl --location 'https://mylndhubx.server/payinvoice' \
--header 'Content-Type: application/json' \
--header 'authorization: ey.....' \
--data-raw '{
    "recipient": "[email protected]",
    "amount": "0.00000006"
}'

but all the time I'm getting this response

{
    "error": "ServerResponseTimeout"
}

I have 5000 sats on balance on this account, and I already paid a lightning invoice with this same endpoint using the payment_request field and it worked ok, am I doing something wrong? thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant