I’m surprised to see the previous six comments being negative.
There’s nothing wrong with building a simple, potentially useful service and charging for it upfront.
This is actually a great example of how you should test such ideas.
Congratulations - and the market validation journey has just begun. Cheers!