Ussd Otp
Ussd Otp
A USSD OTP represents a one-time passcode session used to authenticate users through a USSD dial flow.
It enables secure, phone-bound verification, ensuring that the person interacting via USSD is the legitimate account holder.
In addition to generating and validating the OTP, the flow may include user-facing feedback messages that confirm the process.
PropertiesidstringUnique identifier for this USSD OTP session.
statusenum<string>Status of the OTP session. One of:
- pending: Awaiting verification.
- verified: OTP was successfully confirmed.
- expired: OTP expired before verification.
Available options: pending verified expired
dialCodestringUSSD dial code that the user should dial (e.g., *715*12345#) to initiate the OTP verification.
authorizedPhoneNumberstringAuthorized phone number (MSISDN) associated with this OTP. May be masked for privacy.
verificationMessagestringMessage shown to the user after successful verification, typically rendered on the USSD interface.
MaxLength: 255
createTimestringTimestamp when this OTP session was created.
expireTimestringExpiration time after which the OTP becomes invalid.
metadataobjectOptional metadata for attaching additional context or tracking info to this OTP session.