M F A

Check OTP Verification

PUT
/mfa/v2/verifications

Validates the received OTP from your user with the check code returned from the Send OTP code API. If the codes match, then the OTP is validated, and the recipient’s phone number or email address is successfully verified.

Authorization

bearerAuth
AuthorizationBearer <token>

JWT access token returned by Signing In (POST /auth/v1/tokens/).

In: header

Header Parameters

Content-Type*string
Default"application/json; charset=utf-8"

Request Body

application/json

otpPasscode*string

OTP passcode received by end-user

checkCode*string

Checkcode value returned from “SendVerifcation“ API

Response Body

application/json

application/json

application/json

application/json

curl -X PUT "https://example.com/mfa/v2/verifications" \  -H "Content-Type: application/json; charset=utf-8" \  -H "Content-Type: application/json" \  -d '{    "otpPasscode": "130051",    "checkCode": "EUBDE42YKQWBWTIN"  }'

"{ \n  \"status\":200,\n \"replyMessage\": \"[Request handled successfully]\",\n \"requestId\": \"32a6d800-405e-11ea-9ffd-47489e6dbc08\",\n \"replyCode\": 0,\n \"requestTime\": \"2020-01-26T19:06:30.912\",\n \"data\": {\n         \"otpPasscodeStatus\": 1\n\t\t}\n}"