The OTP code is sent to the mobile successfully, but when I call the callValidateRestApi() function, the validation part does not seem to work.
It keeps returning me the following error message:
“API Authorization: An error occurred. Please contact miniOrange administrator”
I am setting the $customerKey and $apiKey variable accordingly, just like in the callGenerateRestApi() function, which is working just fine.
Please assist in order to validate the OTP code successfully.