https://api.sandbox.paypal.com/v1/payments/payment Giving [PERMISSION DENIED ERROR]
chetankulthe
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Dec-06-2018
09:21 AM
API I am calling is https://api.sandbox.paypal.com/v1/payments/payment
I am trying to use payment api .. but I am getting following error can anyone fix this ..is kind of Permission error ..
{"name":"PERMISSION_DENIED","message":"No permission for the requested operation","information_link":"https://developer.paypal.com/docs/api/payments/#errors","debug_id":"be3d2996839a1"}
Labels:
- Labels:
-
REST
2 REPLIES 2
MTS_Justin
Moderator
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec-10-2018
03:00 AM
Hello,
It sounds like one of the following scenarios occurred.
1. Your using the wrong REST credentials. Either you're using the sandbox REST credentials against our production environment, or vice-versa.
2. You did not request an access token before submitting the payment creation request.
https://developer.paypal.com/docs/api/overview/#get-an-access-token
Was my post helpful? If so, please give me a kudos!
It sounds like one of the following scenarios occurred.
1. Your using the wrong REST credentials. Either you're using the sandbox REST credentials against our production environment, or vice-versa.
2. You did not request an access token before submitting the payment creation request.
https://developer.paypal.com/docs/api/overview/#get-an-access-token
Was my post helpful? If so, please give me a kudos!
harriwachi
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr-07-2021
11:05 AM
Got Http response code 400 when accessing https://api.sandbox.paypal.com/v1/payments/payment.
Experiencing the same in paypal integration in laravel
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
- Im getting PERMISSION_DENIED on SandBox API in Sandbox Environment
- what permissions to expect in oauth_third_party when tracking seller status in REST APIs
- Order not found for PAYMENT.CAPTURE.DENIED webhook in REST APIs
- I Have PayPal API Billing Authentication Failure Python-Flask in REST APIs
- Need API Permission - Trying to make PP work with my Constant Contact Account in Sandbox Environment