Hi, I am trying to test a captured order refund on behalf of a seller. But post request to https://api-m.sandbox.paypal.com/v2/payments/captures/1PX29488RF1413439/refund is resulting in the following error. { "name": "NOT_AUTHORIZED", "message": "Authorization failed due to insufficient permissions.", "debug_id": "95f507a738e5d", "details": [ { "issue": "PERMISSION_DENIED", "field": "capture_id", "value": "1PX29488RF1413439", "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" } ] } Note: Order has been created with "disbursement_mode": "DELAYED" and the seller was onboarded with both REFUND and DELAY_FUNDS_DISBURSEMENT features. This is the scopes array returned by Track seller onboarding status (https://developer.paypal.com/docs/platforms/seller-onboarding/before-payment/#5-track-seller-onboarding-status) API "scopes": [ "https://uri.paypal.com/services/payments/delay-funds-disbursement", "https://uri.paypal.com/services/payments/realtimepayment", "https://uri.paypal.com/services/payments/partnerfee", "https://uri.paypal.com/services/payments/refund", "https://uri.paypal.com/services/payments/payment/authcapture" ]
... View more