Request for Evidence
POST
https://endpoint.YOURDOMAIN.com/requestforevidencenotification
Body Parameters
- bodyobject
- timestampstring<date-time>requiredDescriptionDefault2025-01-01T12:00:00ZFormatdate-time
- processorCaseNumberstringDescriptionDefaultEXT123
- processorChargeIdstringDescriptionDefaultCH123
- orderIdstringrequiredDescriptionDefault1-123
- claimIdinteger<int64>requiredDescriptionDefault123Formatint64
- processorNamestringDescriptionDefaultStripe
- issueDatestring<date>requiredDescriptionDefault2025-01-01Formatdate
- dueDatestring<date>requiredDescriptionDefault2025-01-03Formatdate
- hoursLeftUntilDisputedinteger<int32>requiredDescriptionDefault48Formatint32
- claimTypestring<CHARGEBACK | PRE_CHARGEBACK | FAIL_TO_BILL | FRAUD_DECISION | DEBIT_MEMO | FRAUD_ALERT | REQUEST_FOR_INFORMATION | COMPENSATION_REQUEST | MERCHANT_CONFIRMED_FRAUD | VICTIM_CONFIRMED_FRAUD>requiredDescriptionDefaultCHARGEBACKAllowedCHARGEBACKPRE_CHARGEBACKFAIL_TO_BILLFRAUD_DECISIONDEBIT_MEMOFRAUD_ALERTREQUEST_FOR_INFORMATIONCOMPENSATION_REQUESTMERCHANT_CONFIRMED_FRAUDVICTIM_CONFIRMED_FRAUD
- reasonCodestringDescriptionDefault10.1
- reasonCategorystring<FRAUD | SERVICE | GENERAL | AUTHORIZATION | PROCESSING_ERROR>DescriptionDefaultFRAUDAllowedFRAUDSERVICEGENERALAUTHORIZATIONPROCESSING_ERROR
- cardTypestringDescriptionDefaultVISA
- amountClaimCurrencynumberrequiredDescriptionDefault100
- claimCurrencystringrequiredDescriptionDefaultUSD
- requestedEvidenceTypesstring[]requiredDescriptionDefaultINVOICE,PROOF_OF_DELIVERY
- uniqueMessageIdstringrequiredDescriptionDefaultnotif-123
Responses
200
curl
curl --request POST \
--url https://endpoint.YOURDOMAIN.com/requestforevidencenotification \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"timestamp": "2025-01-01T12:00:00Z",
"processorCaseNumber": "EXT123",
"processorChargeId": "CH123",
"orderId": "1-123",
"claimId": 123,
"processorName": "Stripe",
"issueDate": "2025-01-01",
"dueDate": "2025-01-03",
"hoursLeftUntilDisputed": 48,
"claimType": "CHARGEBACK",
"reasonCode": "10.1",
"reasonCategory": "FRAUD",
"cardType": "VISA",
"amountClaimCurrency": 100,
"claimCurrency": "USD",
"requestedEvidenceTypes": [
"INVOICE",
"PROOF_OF_DELIVERY"
],
"uniqueMessageId": "notif-123"
}'javascript
var myHeaders = new Headers();
myHeaders.append("accept", "application/json");
myHeaders.append("content-type", "application/json");
var raw = JSON.stringify({
"timestamp": "2025-01-01T12:00:00Z",
"processorCaseNumber": "EXT123",
"processorChargeId": "CH123",
"orderId": "1-123",
"claimId": 123,
"processorName": "Stripe",
"issueDate": "2025-01-01",
"dueDate": "2025-01-03",
"hoursLeftUntilDisputed": 48,
"claimType": "CHARGEBACK",
"reasonCode": "10.1",
"reasonCategory": "FRAUD",
"cardType": "VISA",
"amountClaimCurrency": 100,
"claimCurrency": "USD",
"requestedEvidenceTypes": [
"INVOICE",
"PROOF_OF_DELIVERY"
],
"uniqueMessageId": "notif-123"
});
var requestOptions = {
method: 'POST',
headers: myHeaders,
body: raw,
redirect: 'follow'
};
fetch("https://endpoint.YOURDOMAIN.com/requestforevidencenotification", 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://endpoint.YOURDOMAIN.com/requestforevidencenotification")
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.body = JSON.dump({
"timestamp": "2025-01-01T12:00:00Z",
"processorCaseNumber": "EXT123",
"processorChargeId": "CH123",
"orderId": "1-123",
"claimId": 123,
"processorName": "Stripe",
"issueDate": "2025-01-01",
"dueDate": "2025-01-03",
"hoursLeftUntilDisputed": 48,
"claimType": "CHARGEBACK",
"reasonCode": "10.1",
"reasonCategory": "FRAUD",
"cardType": "VISA",
"amountClaimCurrency": 100,
"claimCurrency": "USD",
"requestedEvidenceTypes": [
"INVOICE",
"PROOF_OF_DELIVERY"
],
"uniqueMessageId": "notif-123"
})
response = https.request(request)
puts response.read_body
python
import requests
import json
url = "https://endpoint.YOURDOMAIN.com/requestforevidencenotification"
payload = json.dumps({
"timestamp": "2025-01-01T12:00:00Z",
"processorCaseNumber": "EXT123",
"processorChargeId": "CH123",
"orderId": "1-123",
"claimId": 123,
"processorName": "Stripe",
"issueDate": "2025-01-01",
"dueDate": "2025-01-03",
"hoursLeftUntilDisputed": 48,
"claimType": "CHARGEBACK",
"reasonCode": "10.1",
"reasonCategory": "FRAUD",
"cardType": "VISA",
"amountClaimCurrency": 100,
"claimCurrency": "USD",
"requestedEvidenceTypes": [
"INVOICE",
"PROOF_OF_DELIVERY"
],
"uniqueMessageId": "notif-123"
})
headers = {
'accept': 'application/json',
'content-type': 'application/json'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
200