Get Otp
Allows user to generate OTP for a given phone number or email address
application/json
Request Body required
typeOfMode object
An enumeration.
emailId Emailid
email id of the user
phoneNumber Phonenumber
phone number of the user
Responses
- 200
- 422
Successful Response
application/json
Schema
Example (from schema)
Schema
reqId Reqid
errors undefined[] required
data object required
status Status
Status of current transaction
OTPTransactionId Otptransactionid
Unique request id for each OTP request
ExpiryTime Expirytime
Expiry Time for otp
{
"reqId": "string",
"errors": [
null
],
"data": {
"status": "string",
"OTPTransactionId": "string",
"ExpiryTime": "string"
}
}
Validation Error
application/json
Schema
Example (from schema)
Schema
- Array [
- Array [
- ]
- ]
detail object[]
loc object[] required
anyOf
MOD1
MOD2
string
integer
msg Message required
type Error Type required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...