API - Dispute missing evidence type
ishabidevs
New Community Member
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Feb-11-2020
10:32 PM
Hello,
Im trying to provide an evidence using my app. for this im using request js to send the request to paypal.
My request looks like this:
request({
method: 'POST',
preambleCRLF: true,
postambleCRLF: true,
headers: {
'Authorization': 'Bearer token'
},
multipart: [
{
'content-type': 'application/json',
body: JSON.stringify(input)
},
{ body: fs.createReadStream(path.join(__dirname, '../attestation.pdf')) }
]
}
And my input is :
const input = {
"input": {
"evidences": [
{
"evidence_type": "PROOF_OF_FULFILLMENT",
"evidence_info": {
"tracking_info": [
{
"carrier_name": "FEDEX",
"tracking_number": "122533485"
}
]
},
"notes": "Test"
}
]
}
};
And i always got this error from paypal:
StatusCode: 400 - [{\"location\":\"body\",\"issue\":\"MISSING_EVIDENCE_TYPE\"}]...
StatusCode: 400 - [{\"location\":\"body\",\"issue\":\"MISSING_EVIDENCE_TYPE\"}]...
Labels:
Login to Me Too
- Labels:
-
Payments REST APIs
-
Webhooks REST APIs
1 REPLY 1
pengfei
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May-27-2020
04:20 AM
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
- disputes provide evidence api 415 UNSUPPORTED_MEDIA_TYPE in Sandbox Environment
- Paypal Customer Dispute API - Provide Evidence always returns MISSING_OR_INVALID_REQUEST_BODY in REST APIs
- How to adjudicate / settle a dispute in sandbox? in REST APIs
- dispute api provide-evidence MISSING_OR_INVALID_REQUEST_BODY in REST APIs
- The FRAUD was Committed by "ZEST Ads Limited - China" in PayPal Reporting