Verify OTP

KB Tags associated with this article:
Use all tags
Body

Description

Authenticates the Customer OTP token.

HTTP Method

GET

Example Test URL Request

https://test.httpapi.com/api/customers/authenticate/verify-otp.json?auth-userid=0&api-key=key&customerid=0&otp=987654

Parameters

Name Data Type Required / Optional Description
auth-userid Integer Required Authentication Parameter
api-key String Required Authentication Parameter
customerid Integer Required Customer ID of the Customer
otp String Required OTP sent to the Customer

Response

Returns true (Boolean), if the OTP token is authenticated.

In case of any errors, a status key with value as ERROR alongwith an error message will be returned.