How Versioning Works
The Decisionly API uses URL-based versioning. You specify the API version directly in the URL path of your requests. We will bump the API version for breaking changes. Non-breaking changes, such as adding new fields or endpoints, will not trigger a version bump. All API endpoints are versioned by including the version in the URL path. For example:https://api.decisionly.com/v3/issuer/caseshttps://api.decisionly.com/v2/issuer/cases
Version History
- v3 (Current)
- v2
- v1
v3 Changes
Visa Filing Requirements
v3 requires more evidence for Visa disputes. These fields are validated when you run the workflow or file a case, and a case missing one returns a400. v2 requirements are unchanged. See Filing Requirements for the full list.
Paths are relative to
dispute_evidence.<reason>.
Dispute Evidence
Evidence is sent and returned asdispute_evidence instead of the flat issuer_evidence. dispute_evidence contains one object named after dispute.reason, which only accepts the evidence fields relevant to that reason. See Dispute Types for the fields each reason uses.
v2:
- The object name must match
dispute.reason. Sending a field that doesn’t apply to the reason returns a400
Removed Deprecated Fields
Fields deprecated in v2 are removed in v3. Sending one returns a400.
- Cases: the top-level
reasonis no longer accepted or returned. Usedispute.reason - File a case:
file_modeandqueue_if_too_earlyare removed, so the endpoint always files a chargeback. To run your workflow rules, use run_workflow - Evidence:
merchant_contact.was_attempted,return.was_attemptedandrefund.was_promisedare removed. Providingmerchant_contact.attempted_date,return.attempted_dateorrefund.promised_datesignifies the attempt or promise - Evidence: the
fraudobject (fraud.was_reported,fraud.submit_report) is removed. Decisionly always submits the fraud report when filing a fraud chargeback
Renamed Fields
Some evidence fields are renamed in v3. Sending the old name returns a400 that names the replacement.
merchant_contact.date→merchant_contact.attempted_datereturn.date→return.attempted_daterefund.promise_date→refund.promised_dateamount_correction.amountandamount_correction.currency→correct_amountandcorrect_currency, directly ondispute_evidence.incorrect_amount
v2 Changes
Terminal Statuses
Terminal case states are now represented as distinct status values instead of using a genericclosed status with a closed_reason field:
v1 behavior:
- Terminal cases had
status: "closed"with aclosed_reasonfield indicating the specific outcome - A single
case.closedwebhook was triggered for all terminal states
- Terminal states are now first-class status values:
accepted,rejected,expired,withdrawn,merchant_credited - The
closed_reasonfield has been removed - Each terminal status has its own dedicated webhook event:
case.accepted,case.rejected,case.expired,case.withdrawn,case.merchant_credited - The
case.closedwebhook is deprecated
File endpoint
Cases are now filed using a dedicated file endpoint.Evidence Structure Changes
Theissuer_evidence object has been reorganized in v2 for better clarity and consistency:
Field groupings:
- Amount corrections:
correct_amountandcorrect_currency→amount_correction.amountandamount_correction.currency - Return shipping:
return.shipping_carrierandreturn.shipping_tracking→return.shipping.carrierandreturn.shipping.tracking_number - Service end date:
service_end_date→service.end_date - Resolution: Previously flat resolution fields are now organized into specific resolution type objects:
- Product resolution fields →
productobject (order_id, description, condition, type) - Cancellation fields →
cancellationobject (id, date, description, policy_provided) - Refund fields →
refundobject (was_promised, promise_date, description) - Return fields →
returnobject (date, was_successful, description, policy_provided, shipping) - Delivery fields →
deliveryobject (date, expected_date) - Service fields →
serviceobject (end_date) - Card fraud fields →
cardobject (lost_date, is_active, cardholder_has_possession, possession_at_transaction)
- Product resolution fields →
merchant_contact.success→merchant_contact.was_successfulreturn.success→return.was_successfulrefund.promised→refund.was_promisedcard.active→card.is_active
cardholder_message→cardholder_explanationexplanation→issuer_explanationmerchant_contact.prohibited_description→merchant_contact.prohibited_reason