Authorization Failed during captured order refund on behalf of seller.
psy-online
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Jul-26-2021
10:29 AM
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": [
{
"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-onboard...) API
"scopes": [
]
4 REPLIES 4
psy-online
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul-27-2021
06:30 AM
hi @MTS_Justin ,
Could you please take a look or refer to another person? It would be very helpful if you guys could help me out.

Moderator
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul-28-2021
04:57 AM
Hello,
It looks like a permissions issue.
I've made a change to the account permissions, please try again and if the issue re-occurs, please share a new debug id so I can review it.
Thanks !
Was my post helpful? If so, please give me a kudos!
It looks like a permissions issue.
I've made a change to the account permissions, please try again and if the issue re-occurs, please share a new debug id so I can review it.
Thanks !
Was my post helpful? If so, please give me a kudos!
psy-online
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul-28-2021
07:52 AM
Hello,
Thanks for your response. I have tested again. Unfortunately, the same issue persists. Here is the latest debug id
15608988562e5
psy-online
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul-29-2021
10:06 AM
Unfortunately, the previous rest application got deleted by mistake. Please investigate with this debug id instead
2f35f0b501ec

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
Related Content
- GET /customer/partners/:partner_id/merchant-integrations/:seller_id returning 404 in Sandbox. Help! in Sandbox Environment
- Authorization failed due to insufficient permissions in REST APIs
- Possible to use the Authorize & Capture payments function for a marketplace in the UAE? in PayPal Payments Standard
- multiparty vendor in REST APIs
- PayPal API - Sending partner-referrals keeps coming back as Unauthorised in REST APIs