Septs by steps
Call the add invoice endpoint
When the Webhook is called you received funds.
Notify the user that own this account that he received funds.
Invoice States Table
|0||OPEN||Invoice is waiting to be paid|
|1||SETTLED||Invoice is settled|
|2||CANCEL||Invoice is canceled/expired|
|3||ACCEPTED||Payment has arrived at the node. Invoice needs to be manually settled for the payment to complete|