Redirect back to a specific page in app from an external url opened with capacitor Browser

Hi guys,
I would like to know if someone has experience (or link to docs) to redirect back to a specific url in the app from an external url opened with the Browser of @capacitor/browser.

Basically I have an external checkout so when I click the checkout button in the app it opens the checkout in the app browser and after the payment I would like to be redirected into the thank you page of the app.

Any advice is precious!

Thanks and kind regards,

Davide