Need to mininmize the ios app or close the app

1.We have a requirement, a customer makes the payment from the web app, then it uses the ios app for swiping the card. so as soon as the transaction ends, we need to either close the ios app or give focus to the web app to complete the transaction.

we are leveraging the mobile app for card reader functionality.

Need to mininmize the ios app or close the app
 
 
Q