CheckManagerOTP
CheckManagerOTP¶
Description: Verifies a TOTP code against the currently active manager OTP secret. This method does not change any manager data and is useful for settings screens and pre-checks before sensitive actions.
Access Control¶
🛡️ Access Level Required:
SESSION_MANAGER,SESSION_ADMIN, orSESSION_DEALER
Request Parameters¶
| Name | Type | Required | Description |
|---|---|---|---|
| code | string | Yes | Current TOTP code from the manager authenticator app |
Request Example¶
{
"code": "123456"
}
Response Example¶
{
"data": "OK"
}
Error Examples¶
OTP Is Not Enabled¶
{
"error": "OTP_NOT_ENABLED"
}
Invalid Code¶
{
"error": "INVALID_OTP_CODE"
}
Manager Not Found¶
{
"error": "MANAGER_NOT_FOUND"
}