Authorization failed due to insufficient permissions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am having problem doing a full refund of a Paypal order thru rest api in my sandbox environment.
My debug id is: e243253a7341b
Looks like my account is missing some sort of permission, even if I have used the paypal-auth-assertion as requested.
{
"additional_properties": "xxxxxx",
"body": {
"debug_id": "e243253a7341b",
"details": [
{
"description": "You do not have permission to access or perform operations on this resource.",
"field": "capture_id",
"issue": "PERMISSION_DENIED",
"location": "path",
"value": "0S9591641P553232R"
}
],
"links": [
{
"href": "https://developer.paypal.com/docs/api/payments/v2/#error-PERMISSION_DENIED",
"rel": "information_link"
}
],
"message": "Authorization failed due to insufficient permissions.",
"name": "NOT_AUTHORIZED"
},
"duration_time": 258,
"header": {
"APPLICATION_ID": "APP-80W284485P519543T",
"BORDER-IP": "xxxxxx",
"CALLER_ACCT_NUM": "Q2RVX7E2MS5Y8",
"Date": "Thu, 05 Ja[Removed. Phone #s not permitted]GMT",
"Keep-Alive": "xxxxxx",
"PROCESSING-IP": "xxxxxx",
"SERVER_INFO": "xxxxxx",
"paypal-debug-id": "e243253a7341b"
},
"status": 403
}
Could you please help me?

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.