Shopware 6 REST API payment redirectURL problem

We need payment gateway url in redirectUrl params. In current response when we click on redirectUrl it goes to home page.

Shopware documentation payment-for-an-order

For example on the website we have a default payment method selected when we process to checkout, it goes to third party payment gateway URL where we enter the payment details and after success it returns back to our website.

So basically it doesn’t go that payment gateway URL on the mobile app.

Anyone can help?