Permission Denied on Void Authorized Order

kaneky
Contributor
Contributor

I have a platform app.

 

I have onboarded my sandbox dealer using this config

"tracking_id": "TRACKING-ID", "operations": [ { "operation": "API_INTEGRATION", "api_integration_preference": { "rest_api_integration": { "integration_method": "PAYPAL", "integration_type": "THIRD_PARTY", "third_party_details": { "features": [ "PAYMENT", "REFUND" ] } } } } ], "products": [ "EXPRESS_CHECKOUT" ], "legal_consents": [ { "type": "SHARE_DATA_CONSENT", "granted": true } ],

 

But whenever I want to Void an authorized order, i get this error { "name": "NOT_AUTHORIZED", "message": "Authorization failed due to insufficient permissions.", "debug_id": "46f734b031dfb", "details": [ { "issue": "PERMISSION_DENIED", "field": "authorization_id", "value": "7MC01883080675144", "description": "You do not have permission to access or perform operations on this resource.", "location": "path" } ], "links": [ { "href": "https://developer.paypal.com/docs/api/payments/v2/#error-PERMISSION_DENIED", "rel": "information_link" } ] }

 

What am I missing? Im using postman for testing. I can create, authorize, capture, but not void authorized order


Login to Me Too
1 REPLY 1

kaneky
Contributor
Contributor

This is my debug ID

46f734b031dfb
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.