The Generate Invoice endpoint is unique in that it returns an LnTx object vs a wtx object. The LnTx object in this case represents an unpaid invoice. To check the status of this - use the /lntx
post
https://api.lnpay.co/
v1/wallet/:wallet_key/invoice
PostWalletInvoice
To check if an invoice has been paid or not use the LnTx endpoint ​
cURL
Node.js
Python
JavaScript
curl -u sak_XXXXXXX: \
-H "Content-Type: application/json" \
-X POST \
-d '{"num_satoshis":5, "memo":"Test invoice from the docs","passThru":" {\"ticketId\":\"556\"} "}' \