Permission denied upon refund creation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm facing an issue with the REST Payment API and cannot find any information on it. Also, the information link in the error message appears to be broken.
When creating a refund on an existing capture, I get the following error (PERMISSION_DENIED).
While the HTTP response code is 401 unauthorized, I have a reponse body as opposed to unauthenticated calls.
I didn't change the code making this call and it was working perfectly until this morning. I also didn't change any setting of my application token and seem to have all rights on payments:
The problem doesn't seem related to this particular capture as my previous refund attempts didn't work either.
Thanks for your help,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Also, is there any emergency tech support line I can reach? I have a lot of pending transactions and my customers are waiting.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
This error can come from different scenario. This error means that the API user used on the request does not have enough permission to do a refund.
This error can for example be triggered when :
- The API caller that made the Refund request is a different one than the one who did the original capture.
- If you use a third party permission system, you may have not granted the permission to refund to the API caller on the PayPal account Third party permission list.
I invite you to check those configuration to see if the issue came from here.
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Order capture started to return 403 after account type was changed from personal to business in Sandbox Environment
- Get all available scopes in REST APIs
- Permission Denied on Void Authorized Order in REST APIs
- Please enable REFUND permission for my sandbox client id. in Sandbox Environment
- Authorization failed due to insufficient permissions. in Sandbox Environment