New to the community? Welcome! Please read our Community Rules and Guidelines
Pay, shop, and do even more on the PayPal appGet the App
I'm trying to use the Transaction Search API : /v1/reporting/transactions to fetch past transactions.
I have enabled 'Transaction Search' for in my sanbox app settings.
But when I invoke the API using postman, I get this error:
Reading answers to simialr questions, I did gather that I need the "https://uri.paypal.com/services/reporting/search/read" scope in my access token.
So I terminated my current access token using "https://api.sandbox.paypal.com/v1/oauth2/token/terminate" and regenerated my access token.
However I still don't get the "https://uri.paypal.com/services/reporting/search/read" scope in the response of the token api.
Could someone please advise me on what I'm missing ?
I have the same issue. Here is the debug ID: 1e64d774e4a52. The transaction API is selected in the app. In fact I deselected everything else ald left only the Transaction API but still got all scopes except actually the needed one. Tried requesting it in /v1/oauth2/token, and didn't get it
Actually, it looks like it just takes time until the changes take effect. Woke up today morning and did the same - login + /v1/reporting/transactions and worked perfectly, without any additional step on my side