Maybe you could look at the Phoenix wallet code?
Recurring payments could be done using a paynym right? Like how you can pop your username@stacker.news into your LN wallet and send money over and over to the same address.