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

Build getInvoiceStatus query API #715

Open
otech47 opened this issue Nov 9, 2022 · 0 comments
Open

Build getInvoiceStatus query API #715

otech47 opened this issue Nov 9, 2022 · 0 comments

Comments

@otech47
Copy link
Member

otech47 commented Nov 9, 2022

WalletType: query - getInvoiceStatus

query {
  getInvoiceStatus(invoice: String!): String
}
  • Use LND API: /v2/invoices/lookup and return the status of the invoice
  • Two possible results: PAID or UNPAID
  • If we can't lookup the invoice from any Lightning node we will have to track the contributor id or wallet ID that originated the invoice creation to hit the lookup endpoint there
@otech47 otech47 changed the title Buid getInvoiceStatus query API Build getInvoiceStatus query API Nov 9, 2022
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