> ## 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.

# Credit Account Disputes

> Use Credit Disputes to create and manage disputes on a credit account.

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>;
};

Use the credit account disputes endpoints to create and manage disputes on a [credit account](/core-api/credit-accounts/).

For more on disputes, see [About Credit Account Disputes](/developer-guides/about-credit-account-disputes/).

Creating a dispute triggers the creation of a [journal entry](/core-api/credit-account-journal-entries/) belonging to the `DISPUTE` group. For more on dispute journal entries, see [Disputes](/developer-guides/about-credit-account-journal-entries/#_disputes) in the About Credit Account Journal Entries guide.

<h2 id="create_dispute_for_account">
  Create account dispute
</h2>

**Action:** `POST`\
**Endpoint:** `/credit/accounts/{account_token}/disputes`

Create a dispute of a journal entry on a credit account.

<h3 id="_url_path_parameters">
  URL path parameters
</h3>

| Fields                                               | Description                                                                                                                                                                                                                                 |
| ---------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| account\_token<br /><br />string<br /><br />Required | Unique identifier of the credit account for which to create a dispute.<br /><br />Send a `GET` request to `/credit/accounts` to retrieve existing credit account tokens.<br /><br />**Allowable Values:**<br /><br />Existing account token |

<h3 id="_request_body">
  Request body
</h3>

| Fields                                                     | Description                                                                                                                                                                                                           |
| ---------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| token<br /><br />string<br /><br />Optional                | Unique identifier of the dispute.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                             |
| ledger\_entry\_token<br /><br />string<br /><br />Required | Unique identifier of the journal entry (`authorization.clearing` type only) in dispute.<br /><br />**Allowable Values:**<br /><br />36 char max<br /><br />Existing `authorization.clearing` type journal entry token |
| amount<br /><br />decimal<br /><br />Required              | Amount of the dispute. Max value is equal to the value of the original transaction.<br /><br />**Allowable Values:**<br /><br />0.01 min                                                                              |
| category<br /><br />string<br /><br />Required             | Category to which the dispute belongs.<br /><br />**Allowable Values:**<br /><br />`FRAUD`, `AUTH`, `PROCESSING_ERROR`, `CONSUMER_DISPUTE`                                                                            |
| notes<br /><br />string<br /><br />Optional                | Additional information on the dispute (for example, a reason for the dispute).<br /><br />**Allowable Values:**<br /><br />750 char max                                                                               |

<h3 id="_sample_request_body">
  Sample request body
</h3>

```json JSON lines wrap theme={null}
{
  "token": "dispute_token_1234",
  "ledger_entry_token": "journal_entry_token1222",
  "amount": 500,
  "category": "FRAUD"
}
```

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

| Fields                                                             | Description                                                                                                                                                                                                                                                                                                                                                                              |
| ------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| token<br /><br />string<br /><br />Returned                        | Unique identifier of the dispute.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                                                                                                                                                                                                |
| ledger\_entry\_token<br /><br />string<br /><br />Returned         | Unique identifier of the journal entry (`authorization.clearing` type only) in dispute.<br /><br />**Allowable Values:**<br /><br />Existing journal entry token                                                                                                                                                                                                                         |
| account\_token<br /><br />string<br /><br />Returned               | Unique identifier of the credit account on which the dispute was created.<br /><br />**Allowable Values:**<br /><br />36 char max<br /><br />Existing account token                                                                                                                                                                                                                      |
| amount<br /><br />decimal<br /><br />Returned                      | Amount of the dispute.<br /><br />**Allowable Values:**<br /><br />Format: 0.00                                                                                                                                                                                                                                                                                                          |
| status<br /><br />string<br /><br />Returned                       | Status of the dispute.<br /><br />- `ACTIVE` - The dispute is active and awaiting resolution.<br />- `REVERSED` - The dispute has been reversed and is no longer active.<br />- `AH_WON` - The account holder won the dispute.<br />- `AH_LOST` - The account holder lost the dispute.<br /><br />**Allowable Values:**<br /><br />`ACTIVE`, `REVERSED`, `AH_WON`, `AH_LOST`, `REFUNDED` |
| category<br /><br />string<br /><br />Returned                     | Category to which the dispute belongs.<br /><br />**Allowable Values:**<br /><br />`FRAUD`, `AUTH`, `PROCESSING_ERROR`, `CONSUMER_DISPUTE`                                                                                                                                                                                                                                               |
| notes<br /><br />string<br /><br />Conditionally returned          | Additional information on the dispute (for example, a reason for the dispute).<br /><br />**Allowable Values:**<br /><br />750 char max                                                                                                                                                                                                                                                  |
| resolved\_at<br /><br />datetime<br /><br />Conditionally returned | Date and time when the dispute was resolved and no longer in `ACTIVE` status.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                   |
| updated\_time<br /><br />datetime<br /><br />Returned              | Date and time when the dispute was last updated on Marqeta’s credit platform, in UTC.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                           |
| created\_time<br /><br />datetime<br /><br />Returned              | Date and time when the dispute was created on Marqeta’s credit platform, in UTC.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                |

<h3 id="_sample_response_body">
  Sample response body
</h3>

```json JSON lines wrap theme={null}
{
  "token": "dispute_token_1234",
  "ledger_entry_token": "journal_entry_token1222",
  "account_token": "account_token_12",
  "amount": 500,
  "status": "ACTIVE",
  "category": "FRAUD",
  "notes": "fraudulent purchase",
  "resolved_at": "2023-07-01T00:27:09Z",
  "updated_time": "2023-07-01T00:27:09Z",
  "created_time": "2023-07-01T00:27:09Z"
}
```

<h2 id="get_disputes_by_account">
  List account disputes
</h2>

**Action:** `GET`\
**Endpoint:** `/credit/accounts/{account_token}/disputes`

Retrieve an array of disputes on a credit account.

This endpoint supports [sorting and pagination](/core-api/sorting-and-pagination/).

<h3 id="_url_path_parameters_2">
  URL path parameters
</h3>

| Fields                                               | Description                                                                                                                                                                                                                                      |
| ---------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| account\_token<br /><br />string<br /><br />Required | Unique identifier of the credit account for which to retrieve the disputes.<br /><br />Send a `GET` request to `/credit/accounts` to retrieve existing credit account tokens.<br /><br />**Allowable Values:**<br /><br />Existing account token |

<h3 id="_url_query_parameters">
  URL query parameters
</h3>

| Fields                                                                | Description                                                                                                                                                                                                                                                                                                                                                                                                  |
| --------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| count<br /><br />integer<br /><br />Optional                          | Number of disputes resources to retrieve.<br /><br />**Allowable Values:**<br /><br />1–100                                                                                                                                                                                                                                                                                                                  |
| start\_index<br /><br />integer<br /><br />Optional                   | Sort order index of the first resource in the returned array.<br /><br />**Allowable Values:**<br /><br />0 min                                                                                                                                                                                                                                                                                              |
| sort\_by<br /><br />string<br /><br />Optional                        | Field on which to sort. Prefix the field name with a hyphen (`-`) to sort in descending order. Omit the hyphen to sort in ascending order.<br /><br />**NOTE:** You must sort using system field names such as `lastModifiedTime`, and not by the field names appearing in response bodies such as `last_modified_time`.<br /><br />**Allowable Values:**<br /><br />`lastModifiedTime`, `-lastModifiedTime` |
| ledger\_entry\_tokens<br /><br />array of strings<br /><br />Optional | Unique identifier of the journal entry in dispute. This type of identifier can only be used for `authorization.clearing`-type journal entries.<br /><br />**Allowable Values:**<br /><br />Existing `authorization.clearing`-type journal entry token                                                                                                                                                        |
| statuses<br /><br />array of strings<br /><br />Optional              | Status of the dispute.<br /><br />**Allowable Values:**<br /><br />`ACTIVE`, `REVERSED`, `AH_WON`, `AH_LOST`, `REFUNDED`<br /><br />Valid dispute status                                                                                                                                                                                                                                                     |

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

| Fields                                                                         | Description                                                                                                                                                                                                                                                                                                                                                                              |
| ------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| count<br /><br />integer<br /><br />Returned                                   | Number of resources returned.<br /><br />**Allowable Values:**<br /><br />1-10                                                                                                                                                                                                                                                                                                           |
| start\_index<br /><br />integer<br /><br />Returned                            | Sort order index of the first resource in the returned array.<br /><br />**Allowable Values:**<br /><br />Any integer                                                                                                                                                                                                                                                                    |
| end\_index<br /><br />integer<br /><br />Returned                              | Sort order index of the last resource in the returned array.<br /><br />**Allowable Values:**<br /><br />Any integer                                                                                                                                                                                                                                                                     |
| is\_more<br /><br />boolean<br /><br />Returned                                | A value of `true` indicates that more unreturned resources exist.<br /><br />**Allowable Values:**<br /><br />`true`, `false`                                                                                                                                                                                                                                                            |
| data<br /><br />array of objects<br /><br />Returned                           | Contains one or more disputes on a credit account.<br /><br />**Allowable Values:**<br /><br />One or more dispute objects                                                                                                                                                                                                                                                               |
| data\[].**token**<br /><br />string<br /><br />Returned                        | Unique identifier of the dispute.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                                                                                                                                                                                                |
| data\[].**ledger\_entry\_token**<br /><br />string<br /><br />Returned         | Unique identifier of the journal entry (`authorization.clearing` type only) in dispute.<br /><br />**Allowable Values:**<br /><br />Existing journal entry token                                                                                                                                                                                                                         |
| data\[].**account\_token**<br /><br />string<br /><br />Returned               | Unique identifier of the credit account on which the dispute was created.<br /><br />**Allowable Values:**<br /><br />36 char max<br /><br />Existing account token                                                                                                                                                                                                                      |
| data\[].**amount**<br /><br />decimal<br /><br />Returned                      | Amount of the dispute.<br /><br />**Allowable Values:**<br /><br />Format: 0.00                                                                                                                                                                                                                                                                                                          |
| data\[].**status**<br /><br />string<br /><br />Returned                       | Status of the dispute.<br /><br />- `ACTIVE` - The dispute is active and awaiting resolution.<br />- `REVERSED` - The dispute has been reversed and is no longer active.<br />- `AH_WON` - The account holder won the dispute.<br />- `AH_LOST` - The account holder lost the dispute.<br /><br />**Allowable Values:**<br /><br />`ACTIVE`, `REVERSED`, `AH_WON`, `AH_LOST`, `REFUNDED` |
| data\[].**category**<br /><br />string<br /><br />Returned                     | Category to which the dispute belongs.<br /><br />**Allowable Values:**<br /><br />`FRAUD`, `AUTH`, `PROCESSING_ERROR`, `CONSUMER_DISPUTE`                                                                                                                                                                                                                                               |
| data\[].**notes**<br /><br />string<br /><br />Conditionally returned          | Additional information on the dispute (for example, a reason for the dispute).<br /><br />**Allowable Values:**<br /><br />750 char max                                                                                                                                                                                                                                                  |
| data\[].**resolved\_at**<br /><br />datetime<br /><br />Conditionally returned | Date and time when the dispute was resolved and no longer in `ACTIVE` status.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                   |
| data\[].**updated\_time**<br /><br />datetime<br /><br />Returned              | Date and time when the dispute was last updated on Marqeta’s credit platform, in UTC.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                           |
| data\[].**created\_time**<br /><br />datetime<br /><br />Returned              | Date and time when the dispute was created on Marqeta’s credit platform, in UTC.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                |

<h3 id="_sample_response_body_2">
  Sample response body
</h3>

```json JSON lines wrap theme={null}
{
  "count": 1,
  "start_index": 0,
  "end_index": 0,
  "is_more": true,
  "data": [
    {
      "token": "dispute_token_1234",
      "ledger_entry_token": "journal_entry_token1222",
      "account_token": "account_token_12",
      "amount": 500,
      "status": "ACTIVE",
      "category": "FRAUD",
      "notes": "fraudulent purchase",
      "resolved_at": "2021-07-01T00:27:09Z",
      "updated_time": "2021-07-01T00:27:09Z",
      "created_time": "2021-07-01T00:27:09Z"
    }
  ]
}
```

<h2 id="retrieve_dispute">
  Retrieve account dispute
</h2>

**Action:** `GET`\
**Endpoint:** `/credit/accounts/{account_token}/disputes/{dispute_token}`

Retrieve a dispute from a credit account.

<h3 id="_url_path_parameters_3">
  URL path parameters
</h3>

| Fields                                               | Description                                                                                                                                                                                                                                    |
| ---------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| account\_token<br /><br />string<br /><br />Required | Unique identifier of the credit account from which to retrieve a dispute.<br /><br />Send a `GET` request to `/credit/accounts` to retrieve existing credit account tokens.<br /><br />**Allowable Values:**<br /><br />Existing account token |
| dispute\_token<br /><br />string<br /><br />Required | Unique identifier of the dispute to retrieve.<br /><br />Send a `GET` request to `/credit/accounts/{account_token}/disputes` to retrieve existing dispute tokens.<br /><br />**Allowable Values:**<br /><br />Existing dispute token           |

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

| Fields                                                             | Description                                                                                                                                                                                                                                                                                                                                                                              |
| ------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| token<br /><br />string<br /><br />Returned                        | Unique identifier of the dispute.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                                                                                                                                                                                                |
| ledger\_entry\_token<br /><br />string<br /><br />Returned         | Unique identifier of the journal entry (`authorization.clearing` type only) in dispute.<br /><br />**Allowable Values:**<br /><br />Existing journal entry token                                                                                                                                                                                                                         |
| account\_token<br /><br />string<br /><br />Returned               | Unique identifier of the credit account on which the dispute was created.<br /><br />**Allowable Values:**<br /><br />36 char max<br /><br />Existing account token                                                                                                                                                                                                                      |
| amount<br /><br />decimal<br /><br />Returned                      | Amount of the dispute.<br /><br />**Allowable Values:**<br /><br />Format: 0.00                                                                                                                                                                                                                                                                                                          |
| status<br /><br />string<br /><br />Returned                       | Status of the dispute.<br /><br />- `ACTIVE` - The dispute is active and awaiting resolution.<br />- `REVERSED` - The dispute has been reversed and is no longer active.<br />- `AH_WON` - The account holder won the dispute.<br />- `AH_LOST` - The account holder lost the dispute.<br /><br />**Allowable Values:**<br /><br />`ACTIVE`, `REVERSED`, `AH_WON`, `AH_LOST`, `REFUNDED` |
| category<br /><br />string<br /><br />Returned                     | Category to which the dispute belongs.<br /><br />**Allowable Values:**<br /><br />`FRAUD`, `AUTH`, `PROCESSING_ERROR`, `CONSUMER_DISPUTE`                                                                                                                                                                                                                                               |
| notes<br /><br />string<br /><br />Conditionally returned          | Additional information on the dispute (for example, a reason for the dispute).<br /><br />**Allowable Values:**<br /><br />750 char max                                                                                                                                                                                                                                                  |
| resolved\_at<br /><br />datetime<br /><br />Conditionally returned | Date and time when the dispute was resolved and no longer in `ACTIVE` status.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                   |
| updated\_time<br /><br />datetime<br /><br />Returned              | Date and time when the dispute was last updated on Marqeta’s credit platform, in UTC.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                           |
| created\_time<br /><br />datetime<br /><br />Returned              | Date and time when the dispute was created on Marqeta’s credit platform, in UTC.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                |

<h3 id="_sample_response_body_3">
  Sample response body
</h3>

```json JSON lines wrap theme={null}
{
  "token": "dispute_token_1234",
  "ledger_entry_token": "journal_entry_token1222",
  "account_token": "account_token_12",
  "amount": 500,
  "status": "ACTIVE",
  "category": "FRAUD",
  "notes": "string",
  "resolved_at": "2023-07-01T00:27:09Z",
  "updated_time": "2023-07-01T00:27:09Z",
  "created_time": "2023-07-01T00:27:09Z"
}
```

<h2 id="transition_dispute">
  Update account dispute
</h2>

**Action:** `POST`\
**Endpoint:** `/credit/accounts/{account_token}/disputes/{dispute_token}/transitions`

Update the amount or status of a dispute on a credit account.

<h3 id="_url_path_parameters_4">
  URL path parameters
</h3>

| Fields                                               | Description                                                                                                                                                                                                                                  |
| ---------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| account\_token<br /><br />string<br /><br />Required | Unique identifier of the credit account from which to update a dispute.<br /><br />Send a `GET` request to `/credit/accounts` to retrieve existing credit account tokens.<br /><br />**Allowable Values:**<br /><br />Existing account token |
| dispute\_token<br /><br />string<br /><br />Required | Unique identifier of the dispute to update.<br /><br />Send a `GET` request to `/credit/accounts/{account_token}/disputes` to retrieve existing credit account tokens.<br /><br />**Allowable Values:**<br /><br />Existing dispute token    |

<h3 id="_request_body_2">
  Request body
</h3>

| Fields                                                                               | Description                                                                                                                                                                                                                                                                                                                                                                              |
| ------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| amount<br /><br />decimal<br /><br />Required                                        | Updated amount of the dispute, based on the resolution.<br /><br />**Allowable Values:**<br /><br />Format: 0.00                                                                                                                                                                                                                                                                         |
| status<br /><br />string<br /><br />Required                                         | Status of the dispute.<br /><br />- `ACTIVE` - The dispute is active and awaiting resolution.<br />- `REVERSED` - The dispute has been reversed and is no longer active.<br />- `AH_WON` - The account holder won the dispute.<br />- `AH_LOST` - The account holder lost the dispute.<br /><br />**Allowable Values:**<br /><br />`ACTIVE`, `REVERSED`, `AH_WON`, `AH_LOST`, `REFUNDED` |
| notes<br /><br />string<br /><br />Optional                                          | Additional information on the dispute update (for example, a reason for the dispute update).<br /><br />**Allowable Values:**<br /><br />750 char max                                                                                                                                                                                                                                    |
| token<br /><br />string<br /><br />Optional                                          | Unique identifier of the dispute update.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                                                                                                                                                                                         |
| source\_created\_time<br /><br />datetime<br /><br />Optional                        | Date and time when the dispute occurred.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                        |
| interest\_adjustments<br /><br />array of objects<br /><br />Optional                | List of interest adjustments and their effective times, if applicable. Note that this typically only applies for a cross-cycle activity, such as a dispute or payment.<br /><br />**Allowable Values:**<br /><br />Valid array of one or more `interest_adjustments` objects                                                                                                             |
| interest\_adjustments\[].**currency\_code**<br /><br />string<br /><br />Required    | Valid three-digit <a href="https://www.iso.org/iso-4217-currency-codes.html" target="_blank" rel="noopener">ISO 4217 currency code</a>.<br /><br />**Allowable Values:**<br /><br />`USD`                                                                                                                                                                                                |
| interest\_adjustments\[].**effective\_date**<br /><br />datetime<br /><br />Required | Date and time when the dispute interest charge originally happened, in UTC.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                     |
| interest\_adjustments\[].**amount**<br /><br />decimal<br /><br />Required           | The fee amount.<br /><br />**Allowable Values:**<br /><br />- `< 0 (Credit)` - The dispute is initiated.<br />- `> 0 (Debit)` - The dispute is lost.                                                                                                                                                                                                                                     |

<h3 id="_sample_request_body_2">
  Sample request body
</h3>

```json JSON lines wrap theme={null}
{
  "amount": 500,
  "status": "AH_WON"
}
```

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

| Fields                                                    | Description                                                                                                                                                                                                                                                                                                                                                                              |
| --------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| amount<br /><br />decimal<br /><br />Returned             | Amount of the updated dispute, based on the resolution.<br /><br />**Allowable Values:**<br /><br />Format: 0.00                                                                                                                                                                                                                                                                         |
| status<br /><br />string<br /><br />Returned              | Status of the dispute.<br /><br />- `ACTIVE` - The dispute is active and awaiting resolution.<br />- `REVERSED` - The dispute has been reversed and is no longer active.<br />- `AH_WON` - The account holder won the dispute.<br />- `AH_LOST` - The account holder lost the dispute.<br /><br />**Allowable Values:**<br /><br />`ACTIVE`, `REVERSED`, `AH_WON`, `AH_LOST`, `REFUNDED` |
| notes<br /><br />string<br /><br />Conditionally returned | Additional information on the dispute update (for example, a reason for the dispute update).<br /><br />**Allowable Values:**<br /><br />750 char max                                                                                                                                                                                                                                    |
| account\_token<br /><br />string<br /><br />Returned      | Unique identifier of the credit account on which the dispute was updated.<br /><br />**Allowable Values:**<br /><br />Existing account token                                                                                                                                                                                                                                             |
| token<br /><br />string<br /><br />Returned               | Unique identifier of the dispute update.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                                                                                                                                                                                         |
| created\_time<br /><br />datetime<br /><br />Returned     | Date and time when the dispute update was created on Marqeta’s credit platform, in UTC.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                         |

<h3 id="_sample_response_body_4">
  Sample response body
</h3>

```json JSON lines wrap theme={null}
{
  "amount": 500,
  "status": "AH_WON",
  "notes": "account holder evidence accepted",
  "account_token": "my_account_token_12",
  "token": "dispute_update_token1234",
  "created_time": "2023-07-01T00:27:09Z"
}
```


## Related topics

- [About Credit Account Disputes](/docs/developer-guides/about-credit-account-disputes.md)
- [Credit Overview](/docs/developer-guides/credit-landing-page.md)
- [About Credit Account Journal Entries](/docs/developer-guides/about-credit-account-journal-entries.md)
- [About Credit Accounts](/docs/developer-guides/about-credit-accounts.md)
- [2021 Release Notes](/docs/developer-guides/release-notes-2021.md)
