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.
Properties
string
Unique identifier for this USSD OTP session.
enum<string>
Status of the OTP session. One of:
- pending: Awaiting verification.
- verified: OTP was successfully confirmed.
- expired: OTP expired before verification.
pending verified expiredstring
USSD dial code that the user should dial (e.g., *715*12345#) to initiate the OTP verification.
string
Authorized phone number (MSISDN) associated with this OTP. May be masked for privacy.
string
Message shown to the user after successful verification, typically rendered on the USSD interface.MaxLength:
255string
Timestamp when this OTP session was created.
string
Expiration time after which the OTP becomes invalid.
object
Optional metadata for attaching additional context or tracking info to this OTP session.