How do we generate new access token using refresh token?
Hi Sohail,
You can use the following API for generating the access_token, using refresh_token.
Method : POST
URL : [https://api-t2.fyers.in/vagator/v2/refresh_token](https://api-t2.fyers.in/vagator/v2/refresh_token)
Body : {
"refresh_token" : "your-refresh-token",
"identity_type" : "pin",
"identifier" : "your-pin"
}
Toi cũng muốn biết
You can try this script