How to use the publisher API callback to get order details


the finished() gives back a request_token only, how to use it to get more details ?
is there a sample javascript code to read the order just placed in the previous window
or to how use this token to get the positions of the user using a function like authHoldings() ?
there is no sample code in the docs
  • sujith
    You need to have a Kite Connect to fetch order details.
    You can use that request token to generate session and fetch orderbook.
    You can read more about fetching access token and fetch orderbook here.
  • developer
    What's validity time of request token?
  • sujith
    You can refer to this thread.
Sign In or Register to comment.