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

# Retrieve delinquency state

> Retrieve details of the current delinquency state of a credit account.

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

Retrieve details of the current delinquency state of a credit account.

An account is delinquent when it is past due on payments and current when it is up to date on payments.

## URL path parameters

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

## Response body

| Fields | Description |
| - | - |
| account\_token string  Returned | Unique identifier of the credit account. **Allowable Values:**  Existing account token |
| is\_delinquent boolean  Returned | A value of `true` indicates that the account is currently delinquent. **Allowable Values:**  `true`, `false` |
| date\_account\_delinquent datetime  Conditionally returned | Date and time when the account last fell delinquent on the Marqeta platform, in UTC. If `is_delinquent` is `false`, a null value is returned. **Allowable Values:**  Format: yyyy-MM-ddThh:mm:ssZ |
| date\_account\_current datetime  Conditionally returned | Date and time when the account was last made current on the Marqeta platform, in UTC. If the account was never delinquent, this field returns the date and time the account was created on the Marqeta platform, in UTC. If `is_delinquent` is `true`, a null value is returned. **Allowable Values:**  Format: yyyy-MM-ddThh:mm:ssZ |
| total\_days\_past\_due integer  Returned | Total number of days that the account is past due. **Allowable Values:**  Any integer |
| delinquent\_days\_past\_statement\_end\_date integer  Conditionally returned | Total number of days that the account is past the oldest bucket's statement end date. **Allowable Values:**  Any integer |
| total\_past\_due decimal  Returned | Total amount that is past due. **Allowable Values:**  Format: 0.00 |
| current\_due decimal  Returned | Amount that is due for the current billing cycle. **Allowable Values:**  Format: 0.00 |
| total\_due decimal  Returned | Total amount that is due for the current billing cycle; the sum of `total_past_due_amount` and `current_due_amount`. **Allowable Values:**  Format: 0.00 |
| buckets array of objects  Conditionally returned | One or more delinquency buckets for an account. Each delinquency bucket represents a billing cycle during which the account was delinquent. **Allowable Values:**  One or more `buckets` objects |
| buckets\[].**bucket\_number** integer  Returned | Delinquency bucket number in the returned array. Delinquency buckets are returned from most recent to least; the most recent delinquency bucket is `1`. **Allowable Values:**  Any integer |
| buckets\[].**payment\_due\_date** datetime  Returned | Date that the payment was due for this delinquency bucket. **Allowable Values:**  Format: yyyy-MM-ddThh:mm:ssZ |
| buckets\[].**past\_due\_carried\_forward** decimal  Returned | Amount that is past due and carried forward from previous delinquency buckets. **Allowable Values:**  Format: 0.00 |
| buckets\[].**current\_due** decimal  Returned | Current amount that is due for this delinquency bucket. **Allowable Values:**  Format: 0.00 |
| buckets\[].**total\_due** decimal  Returned | Total amount that is due for this delinquency bucket; the sum of `past_due_carried_forward` and `current_due`. **Allowable Values:**  Format: 0.00 |
| buckets\[].**days\_past\_due** integer  Returned | Total number of days that the payment is past due for this delinquency bucket. **Allowable Values:**  Any integer |

## Sample response body

The following code block shows details of a delinquent account.

```json JSON expandable lines wrap theme={null}
{
  "account_token": "account_token_123",
  "is_delinquent": true,
  "date_account_delinquent": "2024-03-01T04:59:59.999Z",
  "date_account_current": null,
  "total_days_past_due": 91,
  "total_past_due": 100,
  "current_due": 40,
  "total_due": 140,
  "buckets": [
    {
      "bucket_number": 1,
      "payment_due_date": "2023-05-01T03:59:59.999Z",
      "past_due_carried_forward": 60,
      "current_due": 40,
      "total_due": 100,
      "days_past_due": 30
    },
    {
      "bucket_number": 2,
      "payment_due_date": "2024-04-01T03:59:59.999Z",
      "past_due_carried_forward": 20,
      "current_due": 40,
      "total_due": 60,
      "days_past_due": 60
    },
    {
      "bucket_number": 3,
      "payment_due_date": "2024-03-01T04:59:59.999Z",
      "past_due_carried_forward": 0,
      "current_due": 20,
      "total_due": 20,
      "days_past_due": 91
    }
  ]
}
```

The following code block shows details of a current account.

```json JSON lines wrap theme={null}
{
  "account_token": "account_token_111",
  "is_delinquent": false,
  "date_account_delinquent": null,
  "date_account_current": "2024-01-01T04:59:59.999Z",
  "total_days_past_due": 0,
  "total_past_due": 0,
  "current_due": 100,
  "total_due": 100,
  "buckets": []
}
```


## Related topics

- [Delinquency Overview](https://www.marqeta.com/docs/core-api/credit-account-delinquency.md)
- [Retrieve delinquency state transition](https://www.marqeta.com/docs/core-api/credit-account-delinquency/retrieve-state-transition.md)
- [Event Types](https://www.marqeta.com/docs/core-api/event-types.md)
- [List delinquency state transitions](https://www.marqeta.com/docs/core-api/credit-account-delinquency/list-state-transitions.md)
- [Retrieve statement data](https://www.marqeta.com/docs/core-api/cardholder-statements/statements/retrieve-data.md)
