Hack A Lapp/Introduction to Bitcoins Lightning Network App Development/C-Lightning with python/Check if your customer has paid the invoice/quiz

{you want to see if the invoice with the payment hash  was paid. what do you do? - -  + iterate over all invoices by calling   and check for each invoice if the payment hash matches and then check the status.
 * type="[]"}
 * no the argument can be a lable but not the payment hash. also if ph was a lable the invoice is a json dict and not a string.
 * if the  was a label and not the payment hash this code would workd
 * yes! Hopefully you can also write the code for this.

{You have an invoice stored on  how can you access the amount? - -  -
 * type="[]"}
 * No. Unfortunately not.
 * yes! msatoshi stands for milisatoshi
 * No. c-lightning uses mili satoshi as a unit