Permission denied for Rest api call
ipragmatech
New Community Member
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Oct-14-2017
03:24 AM
I have created a paypal, developer and sandbox account. Generated token with the following endpoint
https://api.sandbox.paypal.com/v1/oauth2/token?grant_type=client_credentials
response:
{ "scope": "https://uri.paypal.com/services/subscriptions https://api.paypal.com/v1/payments/.* https://api.paypal.com/v1/vault/credit-card https://uri.paypal.com/services/applications/webhooks openid https://uri.paypal.com/payments/payouts https://api.paypal.com/v1/vault/credit-card/.*", "nonce": "2017-10-14T10:14:13ZRrNLl-vpeyiZ3XDR-dDKZKg2ezKsG8wy8E3exOOzdbk", "access_token": "A21AAG6ijXDu1mkpWKlnPNfC_YwDwXm-a9yNsn7_YpQIYmen5NO8fTtFxUmD-S4M2BK5sdaStvu8O_ZOCaq0gs3lQNqDScUwg", "token_type": "Bearer", "app_id": "APP-80W284485P519543T", "expires_in": 32400 }
But got the following issue for the given endpoint:
https://api.sandbox.paypal.com/v1/payments/payment/PAY-6KK93612DG144664xxxxxx
{ "name": "PERMISSION_DENIED", "message": "No permission for the requested operation", "information_link": "https://developer.paypal.com/docs/api/payments/#errors", "debug_id": "43464f3481061" }
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.
Related Content
- Return Shipping Paid by Buyer? in About Protections
- Chumba Casino supported by PayPal's resolution team despite supporting documents limited account now in About Protections
- Help resolving issue that is not listed on options for resolution. in About Protections
- Clicking through to paypal.syf.com results in Access Denied in About Products
- Unauthorised account usage but pay pal says no problem !!!!! in Disputes and claims