Ver2.0 Trade History API throwing 404 error

API works fine if I revert back to older version. Please check.
{
“timestamp”: 1728383252246,
“status”: 404,
“error”: “Not Found”,
“path”: “/v2/tradeHistory/2024-08-01/2024-09-07/0”
}

Hello @Romesh ,

Upon review, we would like to inform you that the endpoint you are currently using is not correct. To receive the proper response, please use the following endpoint:
https://api.dhan.co/v2/trades/{from-date}/{to-date}/{page-number}.

By utilizing this correct endpoint, you should be able to retrieve the required data without any issues.

Thanks!
Please update the document.