how to download the files attachment of documents in dispute's message.

mrhero
Contributor
Contributor

i am trying to download the files attachment of documents in dispute's message using api (has jwt token) but return error NOT_AUTHORIZED PERMISSION_DENIED. Thanks for all the support.

Login to Me Too
5 REPLIES 5

MTS_Chiranjeevi
Moderator
Moderator

Good day @mrhero,

 

Thank you for posting to the PayPal community.

 

https://developer.paypal.com/docs/api/customer-disputes/v1/#error-PERMISSION_DENIED

 

While performing API calls on behalf of other PayPal account, please make sure to on-board that particular seller/merchant account and the seller can then grant you API permission to process payments on their behalf.

 

https://developer.paypal.com/docs/multiparty/ 

 

https://developer.paypal.com/docs/multiparty/seller-onboarding/ 

 

If your still facing the issue, please create a MTS ticket via - https://www.paypal-support.com/s/?language=en_US with detailed error information. 

 

Sincerely,

Chiranjeevi

PayPal/Braintree MTS

 

If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.

Login to Me Too

mrhero
Contributor
Contributor

Thanks for your help, but maybe you're misunderstanding what I mean. Currently I got the details of the dispute at "https://api-m.paypal.com/v1/customer/disputes/{id}" in which there is a message section containing the attached document links like " https://api-m.paypal.com/v2/content/documents/DIS-010-4c465d94-241c-4e1f-b384-9de78f7200bb/files/1/d..." how can i use API to get this file your server?

Login to Me Too

oduis
Contributor
Contributor

Did you find a solution? I am having the exact same problem.

Login to Me Too

fazleyrabby
Contributor
Contributor

I am still having the same issue. Did you guys find any way to download the attachment?

Login to Me Too

ekomzo
Contributor
Contributor

Anyone can resolve this issue, I don;t see any example to download documents in dispute.

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.