Please add twofa_type ("pin" or "totp") field in https://api.kite.trade/session/token & https://api.kite.trade/user/profile, as required to show prompt msg. to the User before placing order via third party (web.stockedge.com) platform. We (web.stockedge.com) want to show msg. to our Users before placing order who do not have TOTP enabled.
Hi @sujith , when user placed order if the TOTP is not enable , zerodha shows the error message. Before placeing order there is any API to get this user information if TOTP is enable or not.
I'm afraid we can't add this to the session data or share this with entities that aren't Zerodha.
The solution is to show error dialog to user when order place request gets input exception.