Pm_open_api_405 error on position api

I’m getting this error: {“status”:405,“message”:“Method Not Allowed”,“error_code”:“PM_OPEN_API_405”}
On get position API described here: https://developer.paytmmoney.com/docs/api/position-api/

Hi @sanjoy.dasgupta, position API is a GET api so make sure that you have selected the correct http method. Please find below the curl command and api doc link for reference -

Curl Command -

curl --location --request GET 'https://developer.paytmmoney.com/orders/v1/position' \
--header 'x-jwt-token: {{JWT-TOKEN}}'

Api Doc Link -
https://developer.paytmmoney.com/docs/api/position-api/

1 Like