Hello, I am trying to test my integration with the PayPal APIs v2, but I am not able to refund (either partially or fully) a payment after I capture it. This is the output from the (POST) call to https://api.sandbox.paypal.com/v2/payments/captures/26K90472HS220132T/refund { "name": "NOT_AUTHORIZED", "message": "Authorization failed due to insufficient permissions.", "debug_id": "2b35619a75167", "details": [ { "issue": "PERMISSION_DENIED", "field": "capture_id", "value": "26K90472HS220132T", "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" } ] } I am able to retrieve the details (GET) of the Order and the capture, and it shows "COMPLETED" as status, but somehow I am not able to refund the capture. FYI I am experiencing the same behavior with both cURL and the Checkout Java SDK (which I am using in my application). Can you please help me? Am I doing something wrong? Are refunds not allowed in Sandbox? Thank you very much for your help, Celestino
... View more