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

Service fees not included in the pay-invoice response #493

Open
raucao opened this issue Oct 18, 2024 · 0 comments
Open

Service fees not included in the pay-invoice response #493

raucao opened this issue Oct 18, 2024 · 0 comments

Comments

@raucao
Copy link

raucao commented Oct 18, 2024

It only includes the routing fee itself, but not the service fee, because it simply returns the route info:

responseBody.PaymentRoute = sendPaymentResponse.PaymentRoute

Thus, a wallet will show only the routing fee when paying an invoice. For example: service fee is 5 sats, routing fee is 0, wallet/extension will show 0 sats fee.

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