ValidateToken

Validate Token

Validate token

post/token/validate

Headers

Authorizationstring required
clientTypestring required

Request body

tokenstring

Token Value

mobileNumberstring

Mobile Number should be same as used in token generation

emailstring

Email to which OTP should be send

sendOtpOnFailureEnabledboolean

Send otp when token validation fails

Example request

{
  "token": "eyJhbGci..",
  "mobileNumber": "9999999999",
  "email": "test@example.com",
  "sendOtpRequestDTO": {
    "mobileNumber": "9999999999",
    "merchantName": "amazon",
    "merchantDomain": "thefabulous.store",
    "amount": 1000,
    "provider": "flipkart",
    "webfrontPrefix": "shop",
    "subClient": "subClient",
    "channel": "SMS",
    "recipient": {
      "email": "test@example.com"
    }
  }
}

Response

Token validated successfully

string required

Changes