cancel
Showing results for 
Search instead for 
Did you mean: 

https://api.sandbox.paypal.com/v1/payments/payment Giving [PERMISSION DENIED ERROR]

Highlighted
New Community Member

https://api.sandbox.paypal.com/v1/payments/payment Giving [PERMISSION DENIED ERROR]

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"}

1 REPLY
Moderator

Re: https://api.sandbox.paypal.com/v1/payments/payment Giving [PERMISSION DENIED ERROR]

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!