{
    "id": null,
    "status": "pending",
    "dialCode": null,
    "authorizedPhoneNumber": null,
    "verificationMessage": null,
    "createTime": null,
    "expireTime": null,
    "metadata": null
}
Represents a one-time passcode session used to authenticate users through a USSD dial. Enables secure phone-bound verification with optional user feedback messaging.
{
    "id": null,
    "status": "pending",
    "dialCode": null,
    "authorizedPhoneNumber": null,
    "verificationMessage": null,
    "createTime": null,
    "expireTime": null,
    "metadata": null
}
📋
Properties
id
string
Unique identifier for this USSD OTP session.
status
enum<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
dialCode
string
USSD dial code that the user should dial (e.g., 71512345#) to initiate the OTP verification.
authorizedPhoneNumber
string
Authorized phone number (MSISDN) associated with this OTP. May be masked for privacy.
verificationMessage
string
Message shown to the user after successful verification, typically rendered on the USSD interface.MaxLength: 255
createTime
string
Timestamp when this OTP session was created.
expireTime
string
Expiration time after which the OTP becomes invalid.
metadata
object
Optional metadata for attaching additional context or tracking info to this OTP session.