> ## Documentation Index
> Fetch the complete documentation index at: https://www.marqeta.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Disputes Evidence Collection

> Learn how to use the Cases endpoint to submit evidence for disputes.

export const EndpointCard = ({method = "API", title, children, href, arrow = true}) => {
  const METHOD_STYLES = {
    GET: {
      bg: "mint-bg-green-400/20 dark:mint-bg-green-400/20",
      text: "mint-text-green-700 dark:mint-text-green-400",
      border: "mint-border-green-300 dark:mint-border-green-700"
    },
    POST: {
      bg: "mint-bg-blue-400/20 dark:mint-bg-blue-400/20",
      text: "mint-text-blue-700 dark:mint-text-blue-400"
    },
    PUT: {
      bg: "mint-bg-yellow-400/20 dark:mint-bg-yellow-400/20",
      text: "mint-text-yellow-700 dark:mint-text-yellow-400"
    },
    PATCH: {
      bg: "mint-bg-orange-400/20 dark:mint-bg-orange-400/20",
      text: "mint-text-orange-700 dark:mint-text-orange-400"
    },
    DELETE: {
      bg: "mint-bg-red-400/20 dark:mint-bg-red-400/20",
      text: "mint-text-red-700 dark:mint-text-red-400"
    },
    API: {
      bg: "mint-bg-black",
      text: "mint-text-white"
    }
  };
  const MethodBadge = ({method}) => {
    const style = METHOD_STYLES[method?.toUpperCase()] ?? METHOD_STYLES.GET;
    return <span className={`
          method-pill rounded-lg font-semibold px-1.5 py-0.5 text-xs leading-5 ${style.bg} ${style.text}`}>
        {method?.toUpperCase()}
      </span>;
  };
  const content = <div className="group flex items-center gap-4 border border-gray-200 dark:border-gray-700 rounded-xl p-5 hover:border-gray-400 dark:hover:border-gray-500 hover:shadow-md transition-all cursor-pointer">
      {}
      <div className="shrink-0">
        <MethodBadge method={method} />
      </div>
      {}
      <div className="flex-1 min-w-0">
        <p className="font-semibold text-gray-900 dark:text-white text-sm leading-snug">{title}</p>
        {children && <p className="mt-1 text-sm text-gray-500 dark:text-gray-400 line-clamp-2">{children}</p>}
      </div>
    </div>;
  if (!href) return content;
  return <a href={href} className="block no-underline border-b-0 mb-2">
      {content}
    </a>;
};

Managed by Marqeta (MxM) customers and hybrid card programs must submit evidence for [Regulation E](/developer-guides/disputes-regulation-e/) disputes to the `/cases` endpoint. Evidence collection requirements vary by program type, as described in the following table.

| Program type               | Program responsibility                                                           | Required evidence                                                                                                                              |
| -------------------------- | -------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
| MxM JIT programs           | Program provides money movement evidence; Marqeta handles communications         | Documentation for provisional credit grant, reversal, and permanent credit submitted via API or the disputes portal within three business days |
| Hybrid JIT programs        | Program provides both money movement and communication evidence                  | Documentation for all credit events plus consumer communication records submitted via API or the disputes portal within three business days    |
| MxM pre-funded programs    | Marqeta handles all evidence collection and communications                       | No evidence required — you can monitor dispute events through the disputes portal                                                              |
| Hybrid pre-funded programs | Program provides communication evidence; Marqeta handles money movement evidence | Consumer communication dates and content for all credit events submitted via API or the disputes portal within three business days             |

<h2 id="_create_a_dispute_case_event_with_evidence">
  Create a dispute case event with evidence
</h2>

**Action:** `POST`\
**Endpoint:** `/cases/{case_token}/events`

Create a dispute case event with evidence.

<h3 id="_path_parameter">
  Path parameter
</h3>

| Fields                                            | Description                                                                                                          |
| ------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| case\_token<br /><br />string<br /><br />Required | Unique identifier of the dispute case, generated by Marqeta.<br /><br />**Allowable Values:**<br /><br />36 char max |

<h3 id="_body_field_details">
  Body field details
</h3>

| Fields                                                                                  | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| name<br /><br />string<br /><br />Required                                              | Name of the event.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| category<br /><br />string<br /><br />Optional                                          | Category to which the event belongs.<br /><br />**Allowable Values:**<br /><br />`REG_E`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| event\_date<br /><br />string<br /><br />Optional                                       | Date and time of the event, in UTC.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-dd’T’HH:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| created\_by<br /><br />string<br /><br />Required                                       | User who created the event.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| evidence\_details<br /><br />object<br /><br />Required                                 | Details of the evidence for the dispute.<br /><br />**Allowable Values:**<br /><br />`pc_amount`, `webhook_id`, `notes`, `evidences`                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| evidence\_details.**pc\_amount**<br /><br />string<br /><br />Required                  | Amount of provisional credit granted or reversed.<br /><br />**Allowable Values:**<br /><br />Any positive decimal greater than zero, written as a string                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| evidence\_details.**webhook\_id**<br /><br />string<br /><br />Optional                 | Marqeta-generated identifier of the webhook associated with the case event.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| evidence\_details.**notes**<br /><br />string<br /><br />Optional                       | Notes about the evidence.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| evidence\_details.**evidences**<br /><br />array of objects<br /><br />Required         | One or more objects containing evidence about the dispute.<br /><br />**Allowable Values:**<br /><br />Valid array of `evidences` objects                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| evidence\_details.evidences\[].**evidence**<br /><br />string<br /><br />Required       | Text containing evidence or evidence identifiers (such as a case document ID).<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| evidence\_details.evidences\[].**evidence\_type**<br /><br />string<br /><br />Required | Type of evidence submitted (ID, text content, or other).<br /><br />**Allowable Values:**<br /><br />`COMMUNICATION_CONTENT`, `EXTERNAL_TRANSACTION_ID`, `CRM_ID`, `CASE_DOCUMENT_ID`, `OTHER`<br /><br />For `ProgramGrantedProvisionalCredit` or `ProgramRevertedProvisionalCredit` events, at least one submitted `evidence_type` must be `EXTERNAL_TRANSACTION_ID`.<br /><br />For `ProgramCommunicatedGrantingProvisionalCredit` or `ProgramCommunicatedRevertingProvisionalCredit` events, at least one submitted `evidence_type` must be `COMMUNICATION_CONTENT`, `CRM_ID`, or `CASE_DOCUMENT_ID`. |

<h3 id="_response_body">
  Response body
</h3>

| Fields                                                          | Description                                                                                                                                       |
| --------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| token<br /><br />string<br /><br />Returned                     | Unique identifier of the event, generated by Marqeta.<br /><br />**Allowable Values:**<br /><br />36 char max                                     |
| case\_token<br /><br />string<br /><br />Returned               | Unique identifier of the associated case that triggered this event, generated by Marqeta.<br /><br />**Allowable Values:**<br /><br />36 char max |
| name<br /><br />string<br /><br />Returned                      | Name of the event.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                       |
| category<br /><br />string<br /><br />Conditionally returned    | Category to which the event belongs.<br /><br />**Allowable Values:**<br /><br />`REG_E`                                                          |
| created\_by<br /><br />string<br /><br />Returned               | User who created the event.<br /><br />**Allowable Values:**<br /><br />255 char max                                                              |
| event\_date<br /><br />string<br /><br />Conditionally returned | Date and time of the event, in UTC.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-dd’T’HH:mm:ssZ                                    |
| created\_time<br /><br />string<br /><br />Returned             | Date and time when the event was created, in UTC.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-dd’T’HH:mm:ssZ                      |

<h3 id="_sample_request">
  Sample request
</h3>

```json JSON expandable lines wrap theme={null}
{
  "name": "ProgramCommunicatedGrantingProvisionalCredit",
  "category": "REG_E",
  "created_by": "agent_123",
  "event_date": "2026-01-15T10:30:00Z",
  "evidence_details": {
    "pc_amount": "150.00",
    "webhook_id": "webhook_789",
    "notes": "Customer provided receipt",
    "evidences": [
      {
        "evidence": "crm_case_12345",
        "evidence_type": "CRM_ID"
      },
      {
        "evidence": "evidence 555",
        "evidence_type": "COMMUNICATION_CONTENT"
      }
    ]
  }
}
```

<h3 id="_sample_response">
  Sample response
</h3>

```json JSON lines wrap theme={null}
{
  "token": "event_xyz789abc123",
  "case_token": "case_abc123def456",
  "name": "ProgramCommunicatedGrantingProvisionalCredit",
  "category": "REG_E",
  "event_date": "2026-01-15T10:30:00Z",
  "created_by": "agent_123",
  "created_time": "2026-01-15T10:30:15.123Z"
}
```

<h2 id="_retrieve_evidence_for_a_case_event">
  Retrieve evidence for a case event
</h2>

**Action:** `GET`\
**Endpoint:** `/cases/{case_token}/events/{event_token}/evidences`

Retrieve evidence for a specific case event.

<h3 id="_path_parameter_2">
  Path parameter
</h3>

| Fields                                             | Description                                                                                                          |
| -------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| case\_token<br /><br />string<br /><br />Required  | Unique identifier of the dispute case, generated by Marqeta.<br /><br />**Allowable Values:**<br /><br />36 char max |
| event\_token<br /><br />string<br /><br />Required | Unique identifier of the case event, generated by Marqeta.<br /><br />**Allowable Values:**<br /><br />36 char max   |

<h3 id="_response_body_2">
  Response body
</h3>

| Fields                                                                | Description                                                                                                                                                                                    |
| --------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| pc\_amount<br /><br />string<br /><br />Returned                      | Amount of provisional credit granted or reversed.<br /><br />**Allowable Values:**<br /><br />Any positive decimal greater than zero, written as a string                                      |
| webhook\_id<br /><br />string<br /><br />Conditionally returned       | Marqeta-generated identifier of the webhook associated with the case event.<br /><br />**Allowable Values:**<br /><br />255 char max                                                           |
| notes<br /><br />string<br /><br />Conditionally returned             | Notes about the evidence.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                             |
| evidences<br /><br />array of objects<br /><br />Returned             | One or more objects containing evidence about the dispute.<br /><br />**Allowable Values:**<br /><br />Valid array of `evidences` objects                                                      |
| evidences\[].**evidence**<br /><br />string<br /><br />Returned       | Text containing evidence or evidence identifiers (such as a case document ID).<br /><br />**Allowable Values:**<br /><br />255 char max                                                        |
| evidences\[].**evidence\_type**<br /><br />string<br /><br />Returned | Type of evidence submitted (ID, text content, or other).<br /><br />**Allowable Values:**<br /><br />`COMMUNICATION_CONTENT`, `EXTERNAL_TRANSACTION_ID`, `CRM_ID`, `CASE_DOCUMENT_ID`, `OTHER` |

<h3 id="_sample_response_2">
  Sample response
</h3>

```json JSON lines wrap theme={null}
{
  "pc_amount": "10.00",
  "notes": "Granted pc on date mentioned",
  "evidences": [
    {
      "evidence": "12355sd343434",
      "evidence_type": "EXTERNAL_TRANSACTION_ID"
    },
    {
      "evidence": "Communicated via email",
      "evidence_type": "COMMUNICATION_CONTENT"
    }
  ]
}
```

<h2 id="_add_evidence_to_an_existing_case_event">
  Add evidence to an existing case event
</h2>

**Action:** `POST`\
**Endpoint:** `/cases/{case_token}/events/{event_token}/evidences`

Add evidence to an existing case event.

<h3 id="_path_parameter_3">
  Path parameter
</h3>

| Fields                                             | Description                                                                                                          |
| -------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| case\_token<br /><br />string<br /><br />Required  | Unique identifier of the dispute case, generated by Marqeta.<br /><br />**Allowable Values:**<br /><br />36 char max |
| event\_token<br /><br />string<br /><br />Required | Unique identifier of the case event, generated by Marqeta.<br /><br />**Allowable Values:**<br /><br />36 char max   |

<h3 id="_body_field_details_2">
  Body field details
</h3>

| Fields                                                                | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| --------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| pc\_amount<br /><br />string<br /><br />Required                      | Amount of provisional credit granted or reversed.<br /><br />**Allowable Values:**<br /><br />Any positive decimal greater than zero, written as a string                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| webhook\_id<br /><br />string<br /><br />Optional                     | Marqeta-generated identifier of the webhook associated with the case event.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| notes<br /><br />string<br /><br />Optional                           | Notes about the evidence.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| evidences<br /><br />array of objects<br /><br />Required             | One or more objects containing evidence about the dispute.<br /><br />**Allowable Values:**<br /><br />Valid array of `evidences` objects                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| evidences\[].**evidence**<br /><br />string<br /><br />Required       | Text containing evidence or evidence identifiers (such as a case document ID).<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| evidences\[].**evidence\_type**<br /><br />string<br /><br />Required | Type of evidence submitted (ID, text content, or other).<br /><br />**Allowable Values:**<br /><br />`COMMUNICATION_CONTENT`, `EXTERNAL_TRANSACTION_ID`, `CRM_ID`, `CASE_DOCUMENT_ID`, `OTHER`<br /><br />For `ProgramGrantedProvisionalCredit` or `ProgramRevertedProvisionalCredit` events, at least one submitted `evidence_type` must be `EXTERNAL_TRANSACTION_ID`.<br /><br />For `ProgramCommunicatedGrantingProvisionalCredit` or `ProgramCommunicatedRevertingProvisionalCredit` events, at least one submitted `evidence_type` must be `COMMUNICATION_CONTENT`, `CRM_ID`, or `CASE_DOCUMENT_ID`. |

<h3 id="_response_body_3">
  Response body
</h3>

| Fields                                                                | Description                                                                                                                                                                                    |
| --------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| pc\_amount<br /><br />string<br /><br />Returned                      | Amount of provisional credit granted or reversed.<br /><br />**Allowable Values:**<br /><br />Any positive decimal greater than zero, written as a string                                      |
| webhook\_id<br /><br />string<br /><br />Conditionally returned       | Marqeta-generated identifier of the webhook associated with the case event.<br /><br />**Allowable Values:**<br /><br />255 char max                                                           |
| notes<br /><br />string<br /><br />Conditionally returned             | Notes about the evidence.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                             |
| evidences<br /><br />array of objects<br /><br />Returned             | One or more objects containing evidence about the dispute.<br /><br />**Allowable Values:**<br /><br />Valid array of `evidences` objects                                                      |
| evidences\[].**evidence**<br /><br />string<br /><br />Returned       | Text containing evidence or evidence identifiers (such as a case document ID).<br /><br />**Allowable Values:**<br /><br />255 char max                                                        |
| evidences\[].**evidence\_type**<br /><br />string<br /><br />Returned | Type of evidence submitted (ID, text content, or other).<br /><br />**Allowable Values:**<br /><br />`COMMUNICATION_CONTENT`, `EXTERNAL_TRANSACTION_ID`, `CRM_ID`, `CASE_DOCUMENT_ID`, `OTHER` |

<h3 id="_sample_request_2">
  Sample request
</h3>

```json JSON lines wrap theme={null}
{
  "pc_amount": "109.45",
  "webhook_id": "webhookid-123",
  "notes": "Granted pc on date mentioned",
  "evidences": [
    {
      "evidence": "evidence 111",
      "evidence_type": "OTHER"
    }
  ]
}
```

<h3 id="_sample_response_3">
  Sample response
</h3>

```json JSON lines wrap theme={null}
{
  "pc_amount": "109.45",
  "webhook_id": "webhookid-123",
  "notes": "Granted pc on date mentioned",
  "evidences": [
    {
      "evidence": "evidence 111",
      "evidence_type": "OTHER"
    }
  ]
}
```
