When using the Cloud API to switch between the POS app and Softpay, it is necessary to set specific parameters to make sure that the switch back to POS app after the transaction is executed as intended.
When executing the PUT call (endpoint documentation) to start the transaction, make sure to set the following parameters:
switchBackTimeout:
βParameter description from AppSwitch documentationactivityToResume:
βParameter description from AppSwitch documentation
The descriptions above are from the AppSwitch documentation, but they also apply for the Cloud API integration.
Here is the dedicated section describing different approaches for switching back using a Cloud integration.