ValidateToken

Validate Token

Validate token

post/token/validate

Request

  • Base URL
    http://api.payu.in
  • URL
    http://api.payu.in/token/validate
  • Auth
    none declared. Required headers: Authorization, clientType

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

No recorded changes to this operation across all 1 revision of this API.