Your server can process the data and convert it into the format required by the payment gateway.
Finally redirecting the guest to the payment gateway with the data in the required format.
Examples where this may be required are adding authorization headers or passwords or transforming the data into a specific format required by the payment gateway.