Add twofa_type Field in https://api.kite.trade/session/token

Tamalk
Tamalk edited April 2022 in Kite Publisher
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.
  • sujith
    @Tamalk,
    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.
  • tuhinkole
    tuhinkole edited April 2022
    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.
  • SRIJAN
    No,as Sujith Sir told above,you have to place a test order to check if totp is enabled or not.
Sign In or Register to comment.