Authentication: invalid_refresh_token

Jay_Jay1
Contributor
Contributor

Hi all,

 

I am currently trying to integrate PayPals API. For this, I am using PayPal Postman template which can be found here: https://www.getpostman.com/collections/5f98c3a05528cf200b54

 

I got stuck in the process of creating a 3rd party access token from refresh token. It says: "error": "invalid_refresh_token".

 

My prior steps are as follows:

 

1. I have created the 1st party access token which works fine for the payment related APIs.

2. With one sandbox account, I logged in to the custom URL to get the authorization code: https://www.sandbox.paypal.com/signin/authorize?scope=openid &response_type=code&redirect_uri={{redirce_url}}&client_id={{client_id}}

3. With the authorization code I have created the user_refresh_token and user_access_token

4. Then I wanted to get the 3rd party access token from refresh token( by using the received user_refresh_token)- which lead to the issue described.

 

Thanks for your help.

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.