The previous http url is not working, so changed it to https.
Also, I was getting Reference Error if crypto package was not imported. So, explicitly importing crypto package fixed that error.
In addition, the payload received in the API request does not contain keys like isSimChanged and verificationTimestamp which are present in the profile object. This causes function _verifyPayload to fail unnecessarily.
The previous http url is not working, so changed it to https. Also, I was getting Reference Error if crypto package was not imported. So, explicitly importing crypto package fixed that error.
In addition, the payload received in the API request does not contain keys like
isSimChanged
andverificationTimestamp
which are present in the profile object. This causes function_verifyPayload
to fail unnecessarily.