input('frequency'), $request->input('starts_at'), ); return response()->json([ 'success' => true, 'next_invoice_at' => $nextRun, ]); } }