3d secure payments with hosted tokenization



Currently we use the hosted tokenization iframe to get a temporary token which we then use to make an mpgRequest to take payment.

We are looking to implement a 3D-Secure check to that flow. How would I go about doing that. Looking at the documentation it seems as though I need to convert that temporary token into card details and exp number to get a CAVV which we then can use to make a purchase with 3D-secure. 

Any help will be greatly appreciated.