You need to ask the IPS about it how it will be handled by IPS4. My app is extension for a key generations in the Commerce, but payment process and everything else is provided by IPS4.
In my app you have option to refresh the key but it need to be done manually.