User details is not working

Currently I’m trying to call GET user details API using cURL, but somehow it’s failing.
Pasting screenshot below

Can anyone please report this as bug?

Hi @sumitkanoje

The curl which you are using has incorrect url. This is the correct curl :

curl --location --request GET 'https://developer.paytmmoney.com/accounts/v1/user/details' \
--header 'x-jwt-token: {{jwtToken}}'

You can refer our docs API DOCS for curl and detailed description of all the supported APIs.

1 Like

Looks like the details are not consistent of API documentation,

Please check the highlighted part in screenshot below, & consider making URL consistent everywhere

Hi @sumitkanoje Thanks for the feedback. We have updated the document.