ApiV1StoreAuthOtpVerify
Verify an OTP and receive authentication tokens
Verify an OTP and receive authentication tokens. If no customer account exists for the verified phone/email, one is created.
Request Body
application/json
verificationId*string
Length
1 <= lengthotp*string
Length
6 <= length <= 6Response Body
application/json
curl -X POST "https://api-pub.ezcart.io/v1/store/auth/otp/verify" \ -H "Content-Type: application/json" \ -d '{ "verificationId": "string", "otp": "string" }'{
"customerId": "string",
"tokens": {
"accessToken": "string",
"refreshToken": "string",
"expiresIn": 0
}
}