How to access admin type API route of server from Plugin Admin panel UI

Got a solution,

Just remove /api from the URL

http://localhost:1337/plugin-name/payment