There are two broad types of payment flows -
- Where customer is redirected to a third party page (bank OTP page, app login page, etc.)
- Where customer needs to approve the payment through an asynchronous process (example - by approving a payment request on their phone).
While the former requires a redirection to the third party page, the latter does not. In case the customer is redirected from your website to a third party page, you would also want them to return back to your application. The return_url provided in the create order API call is used for this.
Once the customer has completed the payment on the banks OTP page, we will redirect them back to your return_url. This will be a link based redirection, so if you have provided a return_url in Create Order API