Skip to main content

Otp Verification

This API is used to verify the Mobile number or Email address of the customer.

Request Body required
  • otp number required

    A one-time code sent via SMS or Email.

  • source string required

    Possible values: [email, mobile]

    The source to verify.

Responses

Success response


{
"statusCode": 200,
"data": {
"accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI2MzJjMzQ3NTIyNjlmMTJjNTc5NTIyNzMiLCJpYXQiOjE2NjM4NDMyODAsImV4cCI6MTY2Mzg0Njg4MH0.zo2mIgKO_uHYiENpSPhOfMJf_zZFQb66BhB4sjU0Lec",
"tokenType": "Bearer",
"expiresIn": 3600
}
}