Transaction Search API : PERMISSION_DENIED
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
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 ?
Thanks
- Labels:
-
Reporting APIs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- No transaction details found from the API of my sandbox account (Less than 3 years data) in Sandbox Environment
- Prevent changing shipping address via SET_PROVIDED_ADDRESS not working. Orders V2 Advanced Checkout in REST APIs
- List all balances API call in sandbox is returning 404 in REST APIs
- How to determine if transaction is credit or debit from Transactions-search API in REST APIs
- How do I generate PayPal Client ID & Secret Key? in REST APIs