Woocommerce thank you page url


Good evening

In a plugin I’m making, the user in woocommerce adds a product to the cart, makes the full checkout, and is redirected to a page where his product is prepared and sent by email. From there, I want to make a redirect in my php code to the default thank you page. Does anyone knows how to retrieve the url of the thanks page to a php variable?