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

chetankulthe
Contributor
Contributor

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

Login to Me Too
2 REPLIES 2

MTS_Justin
Moderator
Moderator
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!
Login to Me Too

harriwachi
Contributor
Contributor

Got Http response code 400 when accessing https://api.sandbox.paypal.com/v1/payments/payment.

Experiencing the same in paypal integration in laravel 

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.