Call Generate Url api with valid parameter define above. and In Response, in success case encdata and Url will received .
You have to auto redirect POST form to response url with encdata field having response value
<form method="post" action="URL received from generate url API"> <textarea name="encdata" style="display:none">value received from generate url API</textarea> <input type="submit" value="Submit"> </form>
After the process is completed check the redirect URL you are getting the encrypted data, you need to decrypt that data using JWT key.