Evidence
POST
https://api.forter-secure.com/v3/disputes/evidence/datapoints
Header Parameters
- api-versionstringrequiredExampleDescription
- x-forter-siteidstringrequiredExampleDescription
Body Parameters
- bodydisputeEvidenceDatapointsRequestRequestrequiredDescription
- airlineTicketNumbersstring[]Example
[ "TK123456", "TK789012" ]
Description - buyerReviewSurveysBuyerReviewSurvey[]Description
- overallRatingnumberExampleDescriptionMinimum1Maximum5
- reviewItemsBuyerReviewSurveyItem[]Description
- questionstringrequiredExampleDescriptionMax Length255
- ratingnumberrequiredExampleDescriptionMinimum1Maximum5
- reviewTextstringExampleDescriptionMax Length2000
- customerCorrespondencesCustomerCorrespondence[]Description
- contactDateTimestring<date>ExampleDescriptionFormatdate
- contactDescriptionstringExampleDescriptionMax Length1000
- contactIdstringrequiredExampleDescriptionMax Length100
- contactReasonstring<CANCELING | EXCHANGE | SICKNESS | NAME_CHANGE | INR | OTHER>ExampleDescriptionAllowedCANCELINGEXCHANGESICKNESSNAME_CHANGEINROTHER
- fedexAccountNumberstring[]Example
[ "123456789" ]
Description - itemsHeldInCustomsstring[]Example
[ "iPhone 15 Pro", "Leather Jacket" ]
Description - itemDescriptionsstring[]Example
[ "Nintendo Switch OLED, 64GB, white", "PlayStation 5 DualSense controller" ]
Description - orderIdstringExampleDescriptionMax Length40
- otherstring[]Example
[ "The order was placed by a returning customer with a verified delivery address." ]
Description - processorCaseNumberstringExampleDescriptionMax Length40
- processorChargeIdstringExampleDescriptionMax Length100
- proofsOfCreditBalanceProofOfCreditBalance[]Description
- amountnumberExampleDescriptionMax Length20
- appliedDatestring<date>requiredExampleDescriptionFormatdate
- currencystringExampleDescriptionMin Length3Max Length3Pattern[A-Z]{3}
- proofsOfDeliveryProofOfDelivery[]Description
- carrierstringExampleDescriptionMax Length50
- datestring<date>ExampleDescriptionFormatdate
- deliveryStatusstringExampleDescriptionMax Length50
- didCustomerSignForDeliverybooleanDescription
- trackingNumberstringrequiredExampleDescriptionMax Length50
- proofsOfPickupProofOfPickup[]Description
- pickupDatestring<date>ExampleDescriptionFormatdate
- providedIdentityVerificationMethodsstring[]Example
[ "ORDER_NUMBER" ]
Description - statusrequiredExampleDescriptionAllowedNOT_PICKED_UPPICKED_UP
- proofsOfRefundProofOfRefund[]Description
- refundAmountnumberExampleDescriptionMax Length20
- refundAuthorizationCodestringExampleDescriptionMax Length255
- refundChargeIdstringExampleDescriptionMax Length100
- refundCurrencystringExampleDescriptionMin Length3Max Length3Pattern[A-Z]{3}
- refundDatestring<date>ExampleDescriptionFormatdate
- refundTransactionIdstringrequiredExampleDescriptionMax Length50
- replacementItemsstring[]Example
[ "Item XYZ", "Item ABC" ]
Description
- proofsOfReplacementProofOfReplacement[]Description
- replacementAmountnumberExampleDescriptionMax Length20
- replacementCurrencystringExampleDescriptionMin Length3Max Length3Pattern[A-Z]{3}
- replacementDatestring<date>ExampleDescriptionFormatdate
- replacementIdstringrequiredExampleDescriptionMax Length50
- replacementItemsstring[]Example
[ "Item XYZ", "Item ABC" ]
Description - replacementTrackingNumberstringExampleDescriptionMax Length50
- shippingCarrierstringExampleDescriptionMax Length50
- proofsOfUsageProofOfUsage[]Description
- usageTimestampstring<date-time>requiredExampleDescriptionFormatdate-time
- reservationIdsstring[]Example
[ "RES-123456", "RES-789012" ]
Description - subscriptionDetailsSubscriptionDetails[]Description
- billingAgreementPolicystringExampleDescriptionMax Length1000
- isRecurringChargebooleanrequiredDescription
Responses
200
- disputeEvidenceDatapointsResponseDescription
- invalidEvidenceDatapointsInvalidEvidenceDataPoint[]Description
- datapointPathstringrequiredDescription
- failureReasonstringrequiredExampleDescriptionMax Length255
- messagestring<EVIDENCE_UPLOADED | SERVICE_UNAVAILABLE | SCHEMA_VALIDATION_FAILED>requiredExampleDescriptionAllowedEVIDENCE_UPLOADEDSERVICE_UNAVAILABLESCHEMA_VALIDATION_FAILEDMax Length1000
- statusstring<SUCCESS | FAILED>requiredExampleDescriptionAllowedSUCCESSFAILEDMax Length50
400
401
404
500
curl
curl --request POST \
--url https://api.forter-secure.com/v3/disputes/evidence/datapoints \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'api-version: 10.3' \
--header 'x-forter-siteid: a1b2c3d4e5f6' \
--data '{
"buyerReviewSurveys": [
{
"reviewItems": [
{
"question": "communication with seller",
"rating": 5
}
]
}
],
"customerCorrespondences": [
{
"contactId": "contact-123"
}
],
"proofsOfCreditBalance": [
{
"appliedDate": "2022-11-15"
}
],
"proofsOfDelivery": [
{
"trackingNumber": "123456"
}
],
"proofsOfPickup": [
{
"status": "NOT_PICKED_UP"
}
],
"proofsOfRefund": [
{
"refundTransactionId": "ABC123"
}
],
"proofsOfReplacement": [
{
"replacementId": "REP-123456"
}
],
"proofsOfUsage": [
{
"usageTimestamp": "2022-11-15T10:30:00Z"
}
],
"subscriptionDetails": [
{
"isRecurringCharge": false
}
]
}'javascript
var myHeaders = new Headers();
myHeaders.append("accept", "application/json");
myHeaders.append("content-type", "application/json");
myHeaders.append("api-version", "10.3");
myHeaders.append("x-forter-siteid", "a1b2c3d4e5f6");
var raw = JSON.stringify({
"buyerReviewSurveys": [
{
"reviewItems": [
{
"question": "communication with seller",
"rating": 5
}
]
}
],
"customerCorrespondences": [
{
"contactId": "contact-123"
}
],
"proofsOfCreditBalance": [
{
"appliedDate": "2022-11-15"
}
],
"proofsOfDelivery": [
{
"trackingNumber": "123456"
}
],
"proofsOfPickup": [
{
"status": "NOT_PICKED_UP"
}
],
"proofsOfRefund": [
{
"refundTransactionId": "ABC123"
}
],
"proofsOfReplacement": [
{
"replacementId": "REP-123456"
}
],
"proofsOfUsage": [
{
"usageTimestamp": "2022-11-15T10:30:00Z"
}
],
"subscriptionDetails": [
{
"isRecurringCharge": false
}
]
});
var requestOptions = {
method: 'POST',
headers: myHeaders,
body: raw,
redirect: 'follow'
};
fetch("https://api.forter-secure.com/v3/disputes/evidence/datapoints", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));ruby
require "uri"
require "json"
require "net/http"
url = URI("https://api.forter-secure.com/v3/disputes/evidence/datapoints")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Post.new(url)
request["accept"] = "application/json"
request["content-type"] = "application/json"
request["api-version"] = "10.3"
request["x-forter-siteid"] = "a1b2c3d4e5f6"
request.body = JSON.dump({
"buyerReviewSurveys": [
{
"reviewItems": [
{
"question": "communication with seller",
"rating": 5
}
]
}
],
"customerCorrespondences": [
{
"contactId": "contact-123"
}
],
"proofsOfCreditBalance": [
{
"appliedDate": "2022-11-15"
}
],
"proofsOfDelivery": [
{
"trackingNumber": "123456"
}
],
"proofsOfPickup": [
{
"status": "NOT_PICKED_UP"
}
],
"proofsOfRefund": [
{
"refundTransactionId": "ABC123"
}
],
"proofsOfReplacement": [
{
"replacementId": "REP-123456"
}
],
"proofsOfUsage": [
{
"usageTimestamp": "2022-11-15T10:30:00Z"
}
],
"subscriptionDetails": [
{
"isRecurringCharge": false
}
]
})
response = https.request(request)
puts response.read_body
python
import requests
import json
url = "https://api.forter-secure.com/v3/disputes/evidence/datapoints"
payload = json.dumps({
"buyerReviewSurveys": [
{
"reviewItems": [
{
"question": "communication with seller",
"rating": 5
}
]
}
],
"customerCorrespondences": [
{
"contactId": "contact-123"
}
],
"proofsOfCreditBalance": [
{
"appliedDate": "2022-11-15"
}
],
"proofsOfDelivery": [
{
"trackingNumber": "123456"
}
],
"proofsOfPickup": [
{
"status": "NOT_PICKED_UP"
}
],
"proofsOfRefund": [
{
"refundTransactionId": "ABC123"
}
],
"proofsOfReplacement": [
{
"replacementId": "REP-123456"
}
],
"proofsOfUsage": [
{
"usageTimestamp": "2022-11-15T10:30:00Z"
}
],
"subscriptionDetails": [
{
"isRecurringCharge": False
}
]
})
headers = {
'accept': 'application/json',
'content-type': 'application/json',
'api-version': '10.3',
'x-forter-siteid': 'a1b2c3d4e5f6'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
200
// Example disputeEvidenceDatapointsResponse
{
"invalidEvidenceDatapoints": [
{
"datapointPath": "",
"failureReason": "Missing required field"
}
],
"message": "EVIDENCE_UPLOADED",
"status": "SUCCESS"
}400
// Bad Request (Often missing a required parameter)
401
// Unauthorized (No valid API key provided)
404
// Not Found (The requested item doesn't exist)
500
// Server Error (Something went wrong on Forter's end)