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

# List account disputes

> Retrieve an array of disputes on a credit account.

GET/credit/accounts/\{account\_token}/disputes

Retrieve an array of disputes on a credit account.

This endpoint supports [sorting and pagination](https://www.marqeta.com/docs/core-api/sorting-and-pagination.md).

## URL path parameters

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

## URL query parameters

| Fields | Description |
| - | - |
| count integer  Optional | Number of disputes resources to retrieve. **Allowable Values:**  1–100 |
| start\_index integer  Optional | Sort order index of the first resource in the returned array. **Allowable Values:**  0 min |
| sort\_by string  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. **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`. **Allowable Values:**  `lastModifiedTime`, `-lastModifiedTime` |
| ledger\_entry\_tokens array of strings  Optional | Unique identifier of the journal entry in dispute. This type of identifier can only be used for `authorization.clearing`-type journal entries. **Allowable Values:**  Existing `authorization.clearing`-type journal entry token |
| statuses array of strings  Optional | Status of the dispute. **Allowable Values:**  `ACTIVE`, `REVERSED`, `AH_WON`, `AH_LOST`, `REFUNDED`  Valid dispute status |

## Response body

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

## Sample response body

```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"
    }
  ]
}
```


## Related topics

- [Credit Account Disputes Overview](https://www.marqeta.com/docs/core-api/credit-account-disputes.md)
- [List account adjustments](https://www.marqeta.com/docs/core-api/credit-account-adjustments/list-account-adjustments.md)
- [List account journal entries](https://www.marqeta.com/docs/core-api/credit-account-journal-entries/list-account-journal-entries.md)
- [List dispute cases](https://www.marqeta.com/docs/core-api/disputes-mastercard/dispute-cases-mastercard/list-dispute-cases-mastercard.md)
- [Update account dispute](https://www.marqeta.com/docs/core-api/credit-account-disputes/update-account-dispute.md)
