Skip to main content
When you create a case with a test mode API key (prefix test_), Decisionly recognizes special values for issuer_explanation and the file category that bypass AI analysis and return mock Evidence Review results. Use these to exercise both the pass and fail branches of your workflow rules without crafting realistic evidence and documents. In test mode you can also simulate a case outcome to close a case with any terminal status.
These overrides only take effect on accounts using a test_ API key. In live mode they’re treated as regular values.

Evidence Review and Fraud Liability overrides

Include one of the values below anywhere in issuer_explanation on the case’s dispute_evidence to replace the AI Evidence Review result and/or Fraud Liability result for the case. For all dispute reasons: For fraud disputes, you can additionally control Fraud Liability:

Documentation Review overrides

Set a file’s category to one of the values below when uploading the file to replace the AI Documentation Review result for that file. The relevance check is skipped entirely. This is a per-file override — you can mix valid_document and invalid_document files in the same case.

Evidence Review example

Upload a file with the valid_document category, then create a case that references it and uses invalid_evidence to force conditions review to fail:

Simulating case outcomes

In live mode, a case closes when the card network reports a result. In test mode, you can close a case yourself with any terminal status. Use this to test how your system handles each outcome, such as cardholder communication and money movement.
This endpoint is only available with a test_ API key. Requests with a live API key return a 403 error.
Send a POST request to /v3/issuer/cases/{case_id}/simulate with the status to close the case with: See Case Lifecycle for what each status means. The case closes the same way it would in live mode: the matching webhook event is sent. When you simulate merchant_credited_and_recovered, the case’s recovered_amount is set to half the disputed amount, rounded to the nearest minor unit. You can only simulate an outcome on an open case. If the case is already closed, the request returns a 400 error.
Response

Evidence Review

How Documentation Review and Conditions Review work in production

Workflow Rules

Configure how cases are handled based on evidence review results