Though I'm neither the best reference in this matter nor this form You used is the most common I too consider it correct. Furthermore,Google is supporting my conviction,the "thank you for your +infinitive verb" is correct.
"Végy egy kerékpárt,nem fogod megbánni...feltéve ha életben maradsz."Samuel Langhorne Clemens link: https://cdn.rios.hu/dl/upc/2024-02/02/91209_d2j2gi0v6zwls7lx_1000006503.jpg