Dispute
POST
https://api.forter-secure.com/v2/claims
Header Parameters
- api-versionstringrequiredExampleDescription
- x-forter-siteidstringrequiredExampleDescription
Body Parameters
- bodyclaimRequestrequiredDescription
- additionalCostAmountrequiredDescription
- amountLocalCurrencystringExampleDescriptionMax Length20
- amountUSDstringExampleDescriptionMax Length12
- currencystringExampleDescriptionMax Length3Pattern[A-Z]{3}
- amountAmountrequiredDescription
- amountLocalCurrencystringExampleDescriptionMax Length20
- amountUSDstringExampleDescriptionMax Length12
- currencystringExampleDescriptionMax Length3Pattern[A-Z]{3}
- chargeIdstringExampleDescriptionMax Length100
- chargebackShippingInfoobject
- ChargebackShippingInfo
- additionalShippingInfostringExampleDescriptionMax Length100
- carrierstringExampleDescriptionMax Length50
- proofOfShippingURLstringExampleDescriptionMax Length1024
- signedProofOfShippingbooleanExampleDescription
- trackingNumberstringExampleDescriptionMax Length50
- commentsstringExampleDescriptionMax Length255
- dueDatestring<date>requiredExampleDescriptionFormatdate
- externalClaimStatusstringExampleDescriptionMax Length100
- goodsRecoveredbooleanDescription
- invoiceURLstringExampleDescriptionMax Length1024
- issueDatestring<date>requiredExampleDescriptionFormatdate
- orderIdstringExampleDescriptionMax Length40
- originalPayloadobject
- GeneralPayloadMap
- processorChargebackCaseIdstringExampleDescriptionMax Length75
- processorNamestring<Adyen | Airwallex | AmazonPay | AMEX | AuthorizeNet | Be2bill | BlueSnap | Braintree | BusinessTrack | Chase | Checkout | Citcon | Citibank | ConcoraCredit | Credorax | Cybersource | Dalenys | Discover | Dlocal | Ebanx | Elavon | emerchantpay | Fidelity | FirstData | Fiserv | Fortis | FreedomPay | Globalpay | Ilixium | Ingenico | IQ | Klarna | MCP | MerchantConnect | Merlink | MidTrans | NCR | Nuvei | OceanPay | OmniPayGroup | Payabl | Paymentech | Paymenttech | PayPal | PayPlus | PaySafe | PayU | PayUEastEurope | PayULatam | Privvy | Przelewy | RazorPay | Revolut | Safecharge | Shift4 | Shopify | Sofort | Sprint | Square | Stripe | Vantiv | Wirecard | Worldline | Worldnet | WorldpayAccertify | WorldpayDisputes | WorldpayMAI | Xendit | Zen>ExampleDescriptionAllowedAdyenAirwallexAmazonPayAMEXAuthorizeNetBe2billBlueSnapBraintreeBusinessTrackChaseCheckoutCitconCitibankConcoraCreditCredoraxCybersourceDalenysDiscoverDlocalEbanxElavonemerchantpayFidelityFirstDataFiservFortisFreedomPayGlobalpayIlixiumIngenicoIQKlarnaMCPMerchantConnectMerlinkMidTransNCRNuveiOceanPayOmniPayGroupPayablPaymentechPaymenttechPayPalPayPlusPaySafePayUPayUEastEuropePayULatamPrivvyPrzelewyRazorPayRevolutSafechargeShift4ShopifySofortSprintSquareStripeVantivWirecardWorldlineWorldnetWorldpayAccertifyWorldpayDisputesWorldpayMAIXenditZenMax Length50
- reasonstringExampleDescriptionMax Length100
- reasonCodestringExampleDescriptionMax Length50
- reasonTypestring<FRAUD | SERVICE | OTHER | AUTHORIZATION | PROCESSING_ERROR>requiredExampleDescriptionAllowedFRAUDSERVICEOTHERAUTHORIZATIONPROCESSING_ERROR
- sourceDetailsstringExampleDescription
- sourceTypestring<PROCESSOR_CB | AMEX | DISCOVER | PAYPAL | PROCESSOR_INQUIRY | CUSTOMER_SUPPORT | SHIPPING_CARRIER | THIRD_PARTY | FORTER | OTHER>requiredExampleDescriptionAllowedPROCESSOR_CBAMEXDISCOVERPAYPALPROCESSOR_INQUIRYCUSTOMER_SUPPORTSHIPPING_CARRIERTHIRD_PARTYFORTEROTHER
- statusstring<OPEN | IN_DISPUTE | WON | LOST | CANCELED>requiredExampleDescriptionAllowedOPENIN_DISPUTEWONLOSTCANCELED
- typestring<CHARGEBACK | PRE_CHARGEBACK | DEBIT_MEMO | REQUEST_FOR_INFORMATION | FRAUD_ALERT>requiredExampleDescriptionAllowedCHARGEBACKPRE_CHARGEBACKDEBIT_MEMOREQUEST_FOR_INFORMATIONFRAUD_ALERT
- wasRefundedbooleanDescription
Responses
200
- claimResponseDescription
- messagestringrequiredExampleDescriptionMax Length1000
- statusstringrequiredExampleDescriptionMax Length50
400
401
404
500
curl
curl --request POST \
--url https://api.forter-secure.com/v2/claims \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'api-version: 10.3' \
--header 'x-forter-siteid: a1b2c3d4e5f6' \
--data '{
"additionalCost": {},
"amount": {},
"chargebackShippingInfo": {},
"dueDate": "2016-01-30",
"issueDate": "2016-01-20",
"originalPayload": {},
"reasonType": "FRAUD",
"sourceType": "PROCESSOR_CB",
"status": "OPEN",
"type": "CHARGEBACK"
}'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({
"additionalCost": {},
"amount": {},
"chargebackShippingInfo": {},
"dueDate": "2016-01-30",
"issueDate": "2016-01-20",
"originalPayload": {},
"reasonType": "FRAUD",
"sourceType": "PROCESSOR_CB",
"status": "OPEN",
"type": "CHARGEBACK"
});
var requestOptions = {
method: 'POST',
headers: myHeaders,
body: raw,
redirect: 'follow'
};
fetch("https://api.forter-secure.com/v2/claims", 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/v2/claims")
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({
"additionalCost": {},
"amount": {},
"chargebackShippingInfo": {},
"dueDate": "2016-01-30",
"issueDate": "2016-01-20",
"originalPayload": {},
"reasonType": "FRAUD",
"sourceType": "PROCESSOR_CB",
"status": "OPEN",
"type": "CHARGEBACK"
})
response = https.request(request)
puts response.read_body
python
import requests
import json
url = "https://api.forter-secure.com/v2/claims"
payload = json.dumps({
"additionalCost": {},
"amount": {},
"chargebackShippingInfo": {},
"dueDate": "2016-01-30",
"issueDate": "2016-01-20",
"originalPayload": {},
"reasonType": "FRAUD",
"sourceType": "PROCESSOR_CB",
"status": "OPEN",
"type": "CHARGEBACK"
})
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 claimResponse
{
"message": "Claim received",
"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)