Does Payline redirects the site into bank's site or any other way it is working?

Ok. Is that payment method redirects the site into bank’s site or any other way it is working?

These payment service providers are not affiliated to each other, so they APIs act differently.