Skip to main content

VerifyOtpResponseDto

Response DTO containing the result of OTP verification, indicating whether the OTP is valid and providing a message.

validboolean

Indicates whether the OTP verification is successful. True if valid, false otherwise.

Example: true
messagestring

Message providing additional information about the OTP verification result. E.g., success message or error description.

Example: OTP verification successful.
VerifyOtpResponseDto
{
"valid": true,
"message": "OTP verification successful."
}