Dont worry, there should not be any problem in installing gpay and phonepe business app after you have done a factory data resetBut make sure that you backup your photos, videos and contacts before performing a factory reset
No physical damge or liquid damage is not covered under warranty...you will only get technical support even with extended warranty just like you get for manufacturer's warranty within 1 year