Validate Otp
Validates the OTP passed by user against a specific session id
application/json
Request Body required
transactionId Transactionid required
Unique request id for each OTP request
otp Otp required
OTP value as entered by the user
Responses
- 200
- 422
Successful Response
application/json
Schema
Example (from schema)
Schema
reqId Reqid
errors undefined[] required
data object required
status Status
Validation status cofirming entered OTP enetered is correct or not
{
"reqId": "string",
"errors": [
null
],
"data": {
"status": "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...