Verify shopper's email id
For manual registration, the shopper must verify his email address to activate his account. The merchant website should display a form to accept the OTP, similar to the below screenshot.

POST
/auth/validate-email
Headers
Name
Type
Description
Authorization*
String
"Bearer" + shopper access token
Shopper access token return in /auth/register API
Content-Type
String
application/json
Request Body
Name
Type
Description
code
String
OTP received at the email id
{
"ok": true,
"result": {
"success": true
}
}
Last updated
Was this helpful?