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

# Statements

> To Statements to retrieve the account statements generated for a credit account at the end of a billing cycle.

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 statements endpoints to retrieve statement information or statement files for a [credit account](/core-api/credit-accounts/).

An account statement contains a summary of account activity that occurred during a billing cycle. For more on statements, see [About Credit Account Statements](/developer-guides/about-credit-account-statements/).

To receive a webhook notification when a statement is created, see [Credit account statement event](/core-api/event-types/#_credit_account_statement_event) in Event Types.

<h2 id="get_statement_summaries_by_account">
  List account statement summaries
</h2>

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

Retrieve an array of statement summaries tied to a cardholder’s account.

The statement summary, which is a summary of account activity on a statement, provides account holders with a synopsis of activity that occurred on the account during a specified billing cycle.

This endpoint supports [sorting and pagination](/core-api/sorting-and-pagination/). You can use optional query parameters to return a statement based on its exact opening or closing date, or a statement whose closing date falls within a range of dates.

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

| Fields                                               | Description                                                                                                                                                                                                                                                          |
| ---------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| account\_token<br /><br />string<br /><br />Required | The unique identifier of the credit account for which you want to retrieve statement summaries.<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                                                                                                                                                                                                                                                                                                                                                                             |
| --------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| start\_date<br /><br />datetime<br /><br />Optional | Returns statements with a matching opening date.<br /><br />If both `start_date` and `end_date` are specified, statements whose closing date falls between the start and end dates are returned.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                               |
| end\_date<br /><br />datetime<br /><br />Optional   | Returns statements with a matching closing date.<br /><br />If both `start_date` and `end_date` are specified, statements whose closing date falls between the start and end dates are returned.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                               |
| count<br /><br />integer<br /><br />Optional        | The number of 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 `createdTime`, and not by the field names appearing in response bodies such as `created_time`.<br /><br />**Allowable Values:**<br /><br />`createdTime`, `-createdTime` |

<h3 id="_response_body">
  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                           | One or more statement summaries.<br /><br />**Allowable Values:**<br /><br />One or more statement summary objects                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| data\[].**token**<br /><br />uuid<br /><br />Returned                          | Unique identifier of the statement summary.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| data\[].**account\_token**<br /><br />string<br /><br />Returned               | Unique identifier of the credit account on which the statement summary is generated.<br /><br />**Allowable Values:**<br /><br />36 char max<br /><br />Existing account token                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| data\[].**opening\_balance**<br /><br />decimal<br /><br />Returned            | Balance of the credit account when the statement period began.<br /><br />**Allowable Values:**<br /><br />Format: 0.00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| data\[].**closing\_balance**<br /><br />decimal<br /><br />Returned            | Balance of the credit account when the statement period ended.<br /><br />**Allowable Values:**<br /><br />Format: 0.00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| data\[].**credit\_limit**<br /><br />decimal<br /><br />Conditionally returned | Maximum balance the credit account can carry, as of the statement closing date.<br /><br />**Allowable Values:**<br /><br />Format: 0.00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| data\[].**available\_credit**<br /><br />decimal<br /><br />Returned           | Amount available to spend on the credit account, as of the statement closing date.<br /><br />**Allowable Values:**<br /><br />Format: 0.00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| data\[].**past\_due\_amount**<br /><br />decimal<br /><br />Returned           | Total payment amount, required to make the account current.<br /><br />**Allowable Values:**<br /><br />Format: 0.00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| data\[].**purchases**<br /><br />decimal<br /><br />Returned                   | Total amount of purchases made during the statement period.<br /><br />**Allowable Values:**<br /><br />Format: 0.00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| data\[].**interest**<br /><br />decimal<br /><br />Returned                    | Total amount of interest charged during the statement period.<br /><br />**Allowable Values:**<br /><br />Format: 0.00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| data\[].**fees**<br /><br />decimal<br /><br />Returned                        | Total amount of fees charged during the statement period. Does not include periodic fees.<br /><br />**Allowable Values:**<br /><br />Format: 0.00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| data\[].**credits**<br /><br />decimal<br /><br />Returned                     | Total amount of credits received during the statement period.<br /><br />**Allowable Values:**<br /><br />Format: 0.00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| data\[].**payments**<br /><br />decimal<br /><br />Returned                    | Total amount of payments made during the statement period.<br /><br />**Allowable Values:**<br /><br />Format: 0.00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| data\[].**days\_in\_billing\_cycle**<br /><br />integer<br /><br />Returned    | Number of days in the billing cycle, also known as the statement period.<br /><br />**Allowable Values:**<br /><br />Any integer                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| data\[].**cycle\_type**<br /><br />string<br /><br />Returned                  | Type of cycle.<br /><br />- `BEGINNING_REVOLVING` - Account is beginning to revolve and just started carrying a balance from the previous month.<br />- `REVOLVING` - Account is revolving and has been carrying a balance from month to month for more than one month.<br />- `END_REVOLVING` - Account is no longer revolving and the previous month’s balance is paid off.<br />- `TRANSACTING` - Account is not revolving and the balance is paid off each month.<br /><br />**Allowable Values:**<br /><br />`BEGINNING_REVOLVING`, `REVOLVING`, `END_REVOLVING`, `TRANSACTING`<br /><br />When <a href="/core-api/credit-accounts/#create_credit_account">creating</a> or <a href="/core-api/credit-accounts/#update_account">updating</a> an account, only `TRANSACTING` is allowed. |
| data\[].**opening\_date**<br /><br />datetime<br /><br />Returned              | Date and time when the statement period began.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| data\[].**closing\_date**<br /><br />datetime<br /><br />Returned              | Date and time when the statement period ended.<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 statement summary 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 expandable lines wrap theme={null}
{
  "count": 1,
  "start_index": 0,
  "end_index": 0,
  "is_more": true,
  "data": [
    {
      "token": "acc0544e-4075-fe67-93dd-6b5cd443adb1",
      "account_token": "my_account_token_12",
      "opening_balance": 1000,
      "closing_balance": 2000,
      "credit_limit": 10000,
      "available_credit": 800,
      "past_due_amount": 0,
      "purchases": 200,
      "interest": 0,
      "fees": 0,
      "credits": 0,
      "payments": 0,
      "days_in_billing_cycle": 31,
      "cycle_type": "BEGINNING_REVOLVING",
      "opening_date": "2021-07-01T00:27:09Z",
      "closing_date": "2021-07-01T00:27:09Z",
      "created_time": "2021-07-01T00:27:09Z"
    }
  ]
}
```

<h2 id="retrieve_statement_summary">
  Retrieve account statement summary
</h2>

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

Retrieve a statement summary for a credit account.

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

| Fields                                                          | Description                                                                                                                                                                                                                                                          |
| --------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| account\_token<br /><br />string<br /><br />Required            | The unique identifier of the credit account for which you want to retrieve a statement summary.<br /><br />Send a `GET` request to `/credit/accounts` to retrieve existing credit account tokens.<br /><br />**Allowable Values:**<br /><br />Existing account token |
| statement\_summary\_token<br /><br />string<br /><br />Required | The unique identifier of the statement summary to retrieve.<br /><br />Send a `GET` request to `/credit/accounts/{token}/statements/` to retrieve existing statement summary tokens.<br /><br />**Allowable Values:**<br /><br />Existing statement summary token    |

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

| Fields                                                             | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| ------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| token<br /><br />uuid<br /><br />Returned                          | Unique identifier of the statement summary.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| account\_token<br /><br />string<br /><br />Returned               | Unique identifier of the credit account on which the statement summary is generated.<br /><br />**Allowable Values:**<br /><br />36 char max<br /><br />Existing account token                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| opening\_balance<br /><br />decimal<br /><br />Returned            | Balance of the credit account when the statement period began.<br /><br />**Allowable Values:**<br /><br />Format: 0.00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| closing\_balance<br /><br />decimal<br /><br />Returned            | Balance of the credit account when the statement period ended.<br /><br />**Allowable Values:**<br /><br />Format: 0.00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| credit\_limit<br /><br />decimal<br /><br />Conditionally returned | Maximum balance the credit account can carry, as of the statement closing date.<br /><br />**Allowable Values:**<br /><br />Format: 0.00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| available\_credit<br /><br />decimal<br /><br />Returned           | Amount available to spend on the credit account, as of the statement closing date.<br /><br />**Allowable Values:**<br /><br />Format: 0.00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| past\_due\_amount<br /><br />decimal<br /><br />Returned           | Total payment amount, required to make the account current.<br /><br />**Allowable Values:**<br /><br />Format: 0.00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| purchases<br /><br />decimal<br /><br />Returned                   | Total amount of purchases made during the statement period.<br /><br />**Allowable Values:**<br /><br />Format: 0.00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| interest<br /><br />decimal<br /><br />Returned                    | Total amount of interest charged during the statement period.<br /><br />**Allowable Values:**<br /><br />Format: 0.00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| fees<br /><br />decimal<br /><br />Returned                        | Total amount of fees charged during the statement period. Does not include periodic fees.<br /><br />**Allowable Values:**<br /><br />Format: 0.00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| credits<br /><br />decimal<br /><br />Returned                     | Total amount of credits received during the statement period.<br /><br />**Allowable Values:**<br /><br />Format: 0.00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| payments<br /><br />decimal<br /><br />Returned                    | Total amount of payments made during the statement period.<br /><br />**Allowable Values:**<br /><br />Format: 0.00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| days\_in\_billing\_cycle<br /><br />integer<br /><br />Returned    | Number of days in the billing cycle, also known as the statement period.<br /><br />**Allowable Values:**<br /><br />Any integer                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| cycle\_type<br /><br />string<br /><br />Returned                  | Type of cycle.<br /><br />- `BEGINNING_REVOLVING` - Account is beginning to revolve and just started carrying a balance from the previous month.<br />- `REVOLVING` - Account is revolving and has been carrying a balance from month to month for more than one month.<br />- `END_REVOLVING` - Account is no longer revolving and the previous month’s balance is paid off.<br />- `TRANSACTING` - Account is not revolving and the balance is paid off each month.<br /><br />**Allowable Values:**<br /><br />`BEGINNING_REVOLVING`, `REVOLVING`, `END_REVOLVING`, `TRANSACTING`<br /><br />When <a href="/core-api/credit-accounts/#create_credit_account">creating</a> or <a href="/core-api/credit-accounts/#update_account">updating</a> an account, only `TRANSACTING` is allowed. |
| opening\_date<br /><br />datetime<br /><br />Returned              | Date and time when the statement period began.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| closing\_date<br /><br />datetime<br /><br />Returned              | Date and time when the statement period ended.<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 statement summary 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}
{
  "token": "acc0544e-4075-fe67-93dd-6b5cd443adb1",
  "account_token": "my_account_token_12",
  "opening_balance": 1000,
  "closing_balance": 2000,
  "credit_limit": 10000,
  "available_credit": 800,
  "past_due_amount": 0,
  "purchases": 200,
  "interest": 0,
  "fees": 0,
  "credits": 0,
  "payments": 0,
  "days_in_billing_cycle": 31,
  "cycle_type": "BEGINNING_REVOLVING",
  "opening_date": "2021-07-01T00:27:09Z",
  "closing_date": "2021-07-01T00:27:09Z",
  "created_time": "2021-07-01T00:27:09Z"
}
```

<h2 id="retrieve_statement_payment_info">
  Retrieve account statement payment information
</h2>

**Action:** `GET`\
**Endpoint:** `/credit/accounts/{account_token}/statements/{statement_summary_token}/paymentinfo`

Retrieve the payment information on a credit account’s statement summary.

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

| Fields                                                          | Description                                                                                                                                                                                                                                                                                          |
| --------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| account\_token<br /><br />string<br /><br />Required            | The unique identifier of the credit account for which you want to retrieve the statement payment information.<br /><br />Send a `GET` request to `/credit/accounts` to retrieve existing credit account tokens.<br /><br />**Allowable Values:**<br /><br />Existing account token                   |
| statement\_summary\_token<br /><br />string<br /><br />Required | The unique identifier of the statement summary from which to retrieve the payment information.<br /><br />Send a `GET` request to `/credit/accounts/{token}/statements/` to retrieve existing statement summary tokens.<br /><br />**Allowable Values:**<br /><br />Existing statement summary token |

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

| Fields                                                                                | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| token<br /><br />uuid<br /><br />Conditionally returned                               | Unique identifier of the statement payment.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| statement\_summary\_token<br /><br />uuid<br /><br />Conditionally returned           | Unique identifier of the statement summary.<br /><br />**Allowable Values:**<br /><br />Existing statement summary token                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| new\_statement\_balance<br /><br />decimal<br /><br />Conditionally returned          | Balance on the credit account when the statement period ended.<br /><br />**Allowable Values:**<br /><br />Format: 0.00                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| minimum\_payment\_due<br /><br />decimal<br /><br />Conditionally returned            | Minimum payment amount for the current statement period, based on the associated credit product settings.<br /><br />**Allowable Values:**<br /><br />Format: 0.00                                                                                                                                                                                                                                                                                                                                                                                                                               |
| payment\_due\_date<br /><br />datetime<br /><br />Conditionally returned              | Payment due date, based on the credit account settings.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| payment\_cutoff\_date<br /><br />datetime<br /><br />Conditionally returned           | Last day a payment can be made before interest and fees are charged to the account.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| three\_year\_savings<br /><br />decimal<br /><br />Conditionally returned             | Savings amount if the balance is paid off in three years versus only making minimum payments.<br /><br />**Allowable Values:**<br /><br />Format: 0.00                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| warnings<br /><br />array of objects<br /><br />Conditionally returned                | One or more payoff warnings.<br /><br />**Allowable Values:**<br /><br />One or more `warnings` objects                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| warnings\[].**type**<br /><br />string<br /><br />Conditionally returned              | Type of statement warning.<br /><br />- `MIN_PAYMENT` - Displays the total estimated payment amount and how long it would take to pay off the statement balance if only making minimum payments.<br />- `3_YEAR` - Displays the monthly payment amount and total estimated payment amount if paying off the statement balance in three years.<br /><br />**Allowable Values:**<br /><br />`MIN_PAYMENT`, `3_YEAR`                                                                                                                                                                                |
| warnings\[].**total\_paid**<br /><br />decimal<br /><br />Conditionally returned      | For the minimum payment warning type, this value represents the total amount of principal and interest to pay off the statement balance if only making the minimum payment each month.<br /><br />For the 3 Year warning type, this value represents the total amount of principal and interest if paying off the statement balance in three years.<br /><br />**Allowable Values:**<br /><br />Format: 0.00                                                                                                                                                                                     |
| warnings\[].**interest\_paid**<br /><br />decimal<br /><br />Conditionally returned   | For the minimum payment warning type, this value represents the total amount of interest to pay off the statement balance if only making the minimum payment each month.<br /><br />For the 3 Year warning type, this value represents the total amount of interest if paying off the statement balance in three years.<br /><br />**Allowable Values:**<br /><br />Format: 0.00                                                                                                                                                                                                                 |
| warnings\[].**monthly\_payment**<br /><br />decimal<br /><br />Conditionally returned | For the minimum payment warning type, this value is 0.<br /><br />For the 3 Year warning type, this value represents the fixed monthly payment amount required to pay off the statement balance in three years.<br /><br />**Allowable Values:**<br /><br />Format: 0.00                                                                                                                                                                                                                                                                                                                         |
| warnings\[].**pay\_off\_period**<br /><br />integer<br /><br />Conditionally returned | For the minimum payment warning type, this value represents the number of periods required to pay off the statement balance.<br /><br />For the 3 Year warning type, this value is 36 (months).<br /><br />**Allowable Values:**<br /><br />1 min                                                                                                                                                                                                                                                                                                                                                |
| warnings\[].**period\_type**<br /><br />string<br /><br />Conditionally returned      | Time unit of the pay off period.<br /><br />**Allowable Values:**<br /><br />`MONTH`, `YEAR`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| warnings\[].**disclosure**<br /><br />string<br /><br />Conditionally returned        | Statement disclosure in the case of negative or no amortization, or no lifetime repayment for the minimum payment warning type.<br /><br />- `NEGATIVE_OR_NO_AMORTIZATION` - Occurs when the interest amount is higher than the minimum payment; results in the outstanding balance remaining in perpetuity.<br />- `NO_LIFETIME_REPAYMENT` - Occurs when the interest amount is just below the minimum payment; results in the outstanding balance taking longer than a lifetime to pay off.<br /><br />**Allowable Values:**<br /><br />`NEGATIVE_OR_NO_AMORTIZATION`, `NO_LIFETIME_REPAYMENT` |
| created\_time<br /><br />datetime<br /><br />Conditionally returned                   | Date and time when the statement payment information 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 expandable lines wrap theme={null}
{
  "token": "5e3182dc-fc8f-4a83-8038-8808297ca0ca",
  "statement_summary_token": "acc0544e-4075-fe67-93dd-6b5cd443adb1",
  "new_statement_balance": 2000,
  "minimum_payment_due": 25,
  "payment_due_date": "2021-07-01T00:27:09Z",
  "payment_cutoff_date": "2021-07-01T00:27:09Z",
  "three_year_savings": 0,
  "warnings": [
    {
      "type": "MIN_PAYMENT",
      "total_paid": 0,
      "interest_paid": 0,
      "monthly_payment": 0,
      "pay_off_period": 1,
      "period_type": "MONTH",
      "disclosure": "NEGATIVE_OR_NO_AMORTIZATION"
    }
  ],
  "created_time": "2021-07-01T00:27:09Z"
}
```

<h2 id="list_statement_journal_entries">
  List account statement journal entries
</h2>

**Action:** `GET`\
**Endpoint:** `/credit/accounts/{account_token}/statements/{statement_summary_token}/journalentries`

Retrieve an array of journal entries on a credit account’s statement summary.

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

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

| Fields                                                          | Description                                                                                                                                                                                                                                                                                  |
| --------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| account\_token<br /><br />string<br /><br />Required            | The unique identifier of the credit account for which to retrieve the statement journal entries.<br /><br />Send a `GET` request to `/credit/accounts` to retrieve existing credit account tokens.<br /><br />**Allowable Values:**<br /><br />Existing account token                        |
| statement\_summary\_token<br /><br />string<br /><br />Required | The unique identifier of the statement summary from which to retrieve journal entries.<br /><br />Send a `GET` request to `/credit/accounts/{token}/statements/` to retrieve existing statement summary tokens.<br /><br />**Allowable Values:**<br /><br />Existing statement summary token |

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

| Fields                                              | Description                                                                                                                                                                                                                                                                                                                                                                                                  |
| --------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| count<br /><br />integer<br /><br />Optional        | Specifies the number of journal entries to return.<br /><br />**Allowable Values:**<br /><br />1–100                                                                                                                                                                                                                                                                                                         |
| start\_index<br /><br />integer<br /><br />Optional | Specifies the sort order index from which to begin returning journal entries.<br /><br />**Allowable Values:**<br /><br />0 min                                                                                                                                                                                                                                                                              |
| expand<br /><br />string<br /><br />Optional        | Embeds the specified object into the response.<br /><br />**Allowable Values:**<br /><br />`detailObject`                                                                                                                                                                                                                                                                                                    |
| 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` |

<h3 id="_response_body_4">
  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 journal entries on a credit account.<br /><br />**Allowable Values:**<br /><br />One or more journal entry objects                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| data\[].**token**<br /><br />string<br /><br />Returned                                                   | Unique identifier of the journal entry.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| data\[].**related\_token**<br /><br />string<br /><br />Conditionally returned                            | Unique identifier of the original journal entry. If the current journal entry is the original, this field is returned empty.<br /><br />**Allowable Values:**<br /><br />Existing journal entry token                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| data\[].**root\_token**<br /><br />string<br /><br />Conditionally returned                               | Unique identifier of the root journal entry. If the current journal entry is the root, this field is returned empty.<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 associated with the credit card used to make the journal entry.<br /><br />**Allowable Values:**<br /><br />Existing account token                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| data\[].**card\_token**<br /><br />string<br /><br />Returned                                             | Unique identifier of the credit card used to make the journal entry.<br /><br />**Allowable Values:**<br /><br />8–36 chars<br /><br />Existing credit card token                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| data\[].**user\_token**<br /><br />string<br /><br />Returned                                             | Unique identifier of the credit user.<br /><br />**Allowable Values:**<br /><br />Existing user token                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| data\[].**status**<br /><br />string<br /><br />Returned                                                  | Status of the journal entry when it was initially recorded and had an impact on the balance, either `PENDING` or `POSTED`. This field is immutable and may not represent the current status.<br /><br />To view the current status of purchases, refunds, OCTs, and payments, see the `detail_object.state` field. These journal entries start in `PENDING` and can transition to `CLEARED`, `DECLINED`, or `ERROR`. This transition of status is only sent through webhook event notifications.<br /><br />Journal entries that are final transactions, such as clearings, start and remain in a `POSTED` state.<br /><br />**NOTE**: `CLEARED`, `DECLINED`, and `ERROR` are special statuses that do not have an impact on the account balance, and are not recorded in the journal. For these special statuses, `impact_time`, `request_time`, `created_time`, `token`, and `id` are returned blank.<br /><br />**Allowable Values:**<br /><br />`PENDING`, `POSTED`, `DECLINED`, `ERROR`, `CLEARED`                                                                                                                                                                                                                                                                                                                        |
| data\[].**group**<br /><br />string<br /><br />Returned                                                   | Group to which the journal entry belongs.<br /><br />**Allowable Values:**<br /><br />`PURCHASE`, `REFUND`, `DISPUTE`, `ORIGINAL_CREDIT`, `FEE`, `REWARD`, `INTEREST`, `PAYMENT`, `ADJUSTMENT`, `BALANCE_TRANSFER`, `CASH_ADVANCE`, `BALANCE_REFUND`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| data\[].**type**<br /><br />string<br /><br />Returned                                                    | The journal entry event type.<br /><br />**Allowable Values:**<br /><br />Example: `authorization.clearing`<br /><br />A valid <a href="/core-api/event-types/#_credit_journal_entry_events">journal entry event type</a>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| data\[].**id**<br /><br />string<br /><br />Returned                                                      | Eight-digit numeric identifier of the journal entry, an alternate identifier to the UUID that is useful for remembering and referencing.<br /><br />**Allowable Values:**<br /><br />8 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| data\[].**amount**<br /><br />decimal<br /><br />Returned                                                 | Amount of the journal entry.<br /><br />**Allowable Values:**<br /><br />Format: 0.00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| data\[].**currency\_code**<br /><br />string<br /><br />Returned                                          | A 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`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| data\[].**memo**<br /><br />string<br /><br />Returned                                                    | Merchant name or description for the journal entry.<br /><br />**Allowable Values:**<br /><br />Example: Whole Foods Market                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| data\[].**request\_time**<br /><br />datetime<br /><br />Returned                                         | For purchases, the date and time of the authorization, which is when the user initiates the journal entry.<br /><br />For other journal entry groups, equivalent to `impact_time`.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| data\[].**impact\_time**<br /><br />datetime<br /><br />Returned                                          | Date and time when the journal entry impacts the account balance.<br /><br />For purchases, this is the time of the authorization.<br /><br />For purchase authorization clearings, this is the time when the transaction is settled.<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 journal entry was created on Marqeta’s credit platform, in UTC.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| data\[].**dispute\_token**<br /><br />string<br /><br />Conditionally returned                            | Unique identifier of the dispute, if the journal entry is disputed.<br /><br />**Allowable Values:**<br /><br />Existing dispute token                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| data\[].**detail\_token**<br /><br />string<br /><br />Returned                                           | Unique identifier of the journal entry’s full details.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| data\[].**detail\_object**<br /><br />object<br /><br />Conditionally returned                            | Contains the journal entry’s full details. The fields returned in this object vary based on the journal entry group.<br /><br />The following lists each journal entry group and the specific fields returned for each group.<br /><br />- Purchases and refunds: see the <a href="/core-api/transactions/#get_transactions">transactions</a> response fields.<br />- Disputes: see the <a href="/core-api/credit-account-disputes/#retrieve_dispute">account disputes response fields.</a><br />- Original credit transaction (OCT): see the <a href="/core-api/push-to-card-payments-hidden/#_create_push_to_card_disbursement">Push-to-Card disbursement</a> fields.<br />- Rewards: see the <a href="/core-api/credit-account-rewards/#create_reward">account reward</a> response fields.<br />- Payments: see the <a href="/core-api/credit-account-payments/#retrieve_payment">account payment</a> response fields.<br />- Balance refunds: see the <a href="/core-api/credit-account-balance-refunds/#create_balance_refund">balance refund</a> response fields.<br />- Adjustments: see the <a href="/core-api/credit-account-adjustments/#retrieve_adjustment">account adjustment</a> response fields.<br />- Interest and fees: see fields below.<br /><br />**Allowable Values:**<br /><br />Existing detail object |
| data\[].detail\_object.**token**<br /><br />string<br /><br />Conditionally returned                      | Unique identifier of the interest charge or fee.<br /><br />If in the `detail_object`, unique identifier of the detail object.<br /><br />Returned for interest or fees.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| data\[].detail\_object.**account\_token**<br /><br />string<br /><br />Conditionally returned             | Unique identifier of the credit account on which the interest or fee was charged.<br /><br />Returned for interest or fees.<br /><br />**Allowable Values:**<br /><br />36 char max<br /><br />Existing account token                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| data\[].detail\_object.**type**<br /><br />string<br /><br />Conditionally returned                       | Type of fee.<br /><br />Returned for fees.<br /><br />**Allowable Values:**<br /><br />`FOREIGN_TRANSACTION_FEE`, `OVER_LIMIT_FEE`, `LATE_PAYMENT_FEE`, `RETURNED_PAYMENT_FEE`, `CARD_REPLACEMENT_FEE`, `MINIMUM_INTEREST_FEE`, `MINIMUM_INTEREST_FEE_REVERSAL`, `ANNUAL_FEE`, `MONTHLY_FEE`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| data\[].detail\_object.**method**<br /><br />string<br /><br />Conditionally returned                     | Method used to calculate the fee value.<br /><br />Returned for fees.<br /><br />**Allowable Values:**<br /><br />`PERCENTAGE`, `FLAT`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| data\[].detail\_object.**value**<br /><br />decimal<br /><br />Conditionally returned                     | Value of the fee configured on the account.<br /><br />Equivalent to `config.fees.schedule.value` on the credit account. Send a `GET` request to `/credit/accounts/{account_token}` to retrieve an existing credit account.<br /><br />Returned for fees.<br /><br />**Allowable Values:**<br /><br />Format: 0.00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| data\[].detail\_object.**currency\_code**<br /><br />string<br /><br />Conditionally returned             | A 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`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| data\[].detail\_object.**amount**<br /><br />decimal<br /><br />Conditionally returned                    | Amount of the fee.<br /><br />Returned for fees.<br /><br />**Allowable Values:**<br /><br />Format: 0.00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| data\[].detail\_object.**applied\_to\_amount**<br /><br />decimal<br /><br />Conditionally returned       | The total amount to which a percentage fee method is applied (for example, if a 3% fee is applied to 100, then `100` is the `applied_to_amount` value).<br /><br />This field is not applicable for a flat fee method.<br /><br />Returned for fees.<br /><br />**NOTE:** This field is currently not supported and returns `null`.<br /><br />**Allowable Values:**<br /><br />Format: 0.00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| data\[].detail\_object.**description**<br /><br />string<br /><br />Conditionally returned                | Description of the fee.<br /><br />Returned for fees.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| data\[].detail\_object.**created**<br /><br />datetime<br /><br />Conditionally returned                  | Date and time when the fee was created.<br /><br />Returned for fees.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| data\[].detail\_object.**statement\_token**<br /><br />string<br /><br />Conditionally returned           | Unique identifier of the statement summary from which you want to retrieve interest details.<br /><br />Returned for interest.<br /><br />**Allowable Values:**<br /><br />Existing statement summary token                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| data\[].detail\_object.**statement\_opening\_date**<br /><br />datetime<br /><br />Conditionally returned | Opening date of the statement summary from which you want to retrieve interest details.<br /><br />Returned for interest.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| data\[].detail\_object.**statement\_closing\_date**<br /><br />datetime<br /><br />Conditionally returned | Closing date of the statement summary from which you want to retrieve interest details.<br /><br />Returned for interest.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| data\[].detail\_object.**statement\_balance**<br /><br />decimal<br /><br />Conditionally returned        | Balance on the statement summary from which you want to retrieve interest details.<br /><br />Returned for interest.<br /><br />**Allowable Values:**<br /><br />Format: 0.00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| data\[].detail\_object.**average\_daily\_balance**<br /><br />decimal<br /><br />Conditionally returned   | Average daily balance used to calculate interest.<br /><br />Returned for interest.<br /><br />**Allowable Values:**<br /><br />Format: 0.00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| data\[].detail\_object.**goto\_apr**<br /><br />decimal<br /><br />Conditionally returned                 | Annual percentage rate.<br /><br />Returned for interest.<br /><br />**Allowable Values:**<br /><br />0–100                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| data\[].detail\_object.**daily\_periodic\_rate**<br /><br />decimal<br /><br />Conditionally returned     | Daily rate used to calculate interest.<br /><br />Returned for interest.<br /><br />**Allowable Values:**<br /><br />0–100                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| data\[].detail\_object.**days\_in\_billing\_cycle**<br /><br />integer<br /><br />Conditionally returned  | Number of days in the billing cycle.<br /><br />Returned for interest.<br /><br />**Allowable Values:**<br /><br />1–31                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| data\[].detail\_object.**interest\_amount**<br /><br />decimal<br /><br />Conditionally returned          | Amount of interest calculated for the billing period.<br /><br />Returned for interest.<br /><br />**Allowable Values:**<br /><br />Format: 0.00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| data\[].detail\_object.**created\_date**<br /><br />datetime<br /><br />Conditionally returned            | Date and time when the interest was created.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| data\[].detail\_object.**updated\_date**<br /><br />datetime<br /><br />Conditionally returned            | Date and time when the interest was last updated.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |

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

```json JSON expandable lines wrap theme={null}
{
  "count": 3,
  "start_index": 0,
  "end_index": 4,
  "is_more": true,
  "data": [
    {
      "token": "interest_journal_entry_token1111",
      "account_token": "my_account_token_12",
      "user_token": "user_token1111",
      "card_token": "my_credit_card_token7794",
      "status": "POSTED",
      "group": "INTEREST",
      "type": "account.interest",
      "id": "11112222",
      "amount": 2.31,
      "currency_code": "USD",
      "memo": "Interest charge on purchases",
      "request_time": "2021-08-01T03:59:59Z",
      "impact_time": "2021-08-01T03:59:59Z",
      "created_time": "2021-08-01T07:00:19Z",
      "detail_token": "detail_token_96749",
      "detail_object": {
        "token": "detail_token_96749",
        "account_token": "my_account_token_12",
        "statement_token": "statement_token_75b",
        "statement_opening_date": "2021-07-01T04:00:00Z",
        "statement_closing_date": "2021-08-01T03:59:59Z",
        "statement_balance": 208.93,
        "average_daily_balance": 181.67,
        "goto_apr": 14.99,
        "daily_periodic_rate": 0.00041068,
        "days_in_billing_cycle": 31,
        "interest_amount": 2.31,
        "currency_code": "USD",
        "created_date": "2021-08-01T07:00:19Z",
        "updated_date": "2021-08-01T07:00:19Z"
      }
    },
    {
      "token": "fee_journal_entry_token2121",
      "account_token": "my_account_token_12",
      "user_token": "user_token2121",
      "card_token": "my_credit_card_token7794",
      "status": "POSTED",
      "group": "FEE",
      "type": "account.fee.payment.late",
      "id": "44445678",
      "amount": 15,
      "currency_code": "USD",
      "memo": "Late payment fee",
      "request_time": "2021-07-01T03:59:59Z",
      "impact_time": "2021-07-01T03:59:59Z",
      "created_time": "2021-07-01T07:00:24Z",
      "detail_token": "detail_token_11221",
      "detail_object": {
        "token": "detail_token_11221",
        "account_token": "my_account_token_12",
        "type": "LATE_PAYMENT_FEE",
        "method": "FLAT",
        "value": 25,
        "currency_code": "USD",
        "amount": 15,
        "description": "Late Payment Fee",
        "created": "2021-07-01T07:00:24Z"
      }
    },
    {
      "token": "purchase_journal_entry_token6789",
      "related_token": "journal_entry_token2460",
      "root_token": "journal_entry_token2460",
      "account_token": "my_account_token_12",
      "user_token": "user_token12",
      "card_token": "my_credit_card_token7794",
      "status": "POSTED",
      "group": "PURCHASE",
      "type": "authorization.clearing",
      "id": "12345678",
      "amount": 9.11,
      "currency_code": "USD",
      "memo": "SWEET TREATS 0484",
      "request_time": "2021-09-25T20:59:43Z",
      "impact_time": "2021-09-26T11:53:48Z",
      "created_time": "2021-09-26T11:53:48Z",
      "detail_token": "detail_token_645736",
      "detail_object": {
        "type": "authorization.clearing",
        "state": "COMPLETION",
        "identifier": 6457,
        "token": "detail_token_645736",
        "user_token": "user_token4632",
        "acting_user_token": "user_token4632",
        "card_token": "my_credit_card_token7794",
        "preceding_related_transaction_token": "journal_entry_token2460",
        "gpa": {
          "currency_code": "USD",
          "ledger_balance": 61.7,
          "available_balance": 0,
          "credit_balance": 0,
          "pending_credits": 0,
          "impacted_amount": -9.11,
          "balances": {
            "USD": {
              "currency_code": "USD",
              "ledger_balance": 61.7,
              "available_balance": 0,
              "credit_balance": 0,
              "pending_credits": 0,
              "impacted_amount": -9.11
            }
          }
        },
        "gpa_order": {
          "token": "gpa_order_token2c2c5",
          "amount": 9.11,
          "created_time": "2021-09-25T20:59:43Z",
          "last_modified_time": "2021-09-26T11:53:47Z",
          "transaction_token": "transaction_token42352a",
          "state": "COMPLETION",
          "response": {
            "code": 0,
            "memo": "Approved or completed successfully"
          },
          "funding": {
            "amount": 9.11,
            "source": {
              "type": "programgateway",
              "token": "funding_source_token6789",
              "active": true,
              "name": "My Funding Source",
              "is_default_account": false,
              "created_time": "2021-06-22T18:41:14Z",
              "last_modified_time": "2021-06-22T18:41:14Z"
            }
          },
          "funding_source_token": "funding_source_token6789",
          "jit_funding": {
            "token": "jit_funding_token43a3",
            "method": "pgfs.authorization.capture",
            "user_token": "user_token4632",
            "acting_user_token": "user_token4632",
            "amount": 9.11,
            "original_jit_funding_token": "jit_funding_token4be7"
          },
          "user_token": "user_token4632",
          "currency_code": "USD"
        },
        "duration": 378,
        "created_time": "2021-09-26T11:53:46Z",
        "user_transaction_time": "2021-09-25T20:59:43Z",
        "settlement_date": "2021-09-26T00:00:00Z",
        "request_amount": 9.11,
        "amount": 9.11,
        "currency_conversion": {
          "network": {
            "original_amount": 9.11,
            "conversion_rate": 1,
            "original_currency_code": 840
          }
        },
        "issuer_interchange_amount": 0.19131,
        "currency_code": "USD",
        "approval_code": 946791,
        "response": {
          "code": 0,
          "memo": "Approved or completed successfully"
        },
        "network": "VISA",
        "subnetwork": "VISANET",
        "acquirer_fee_amount": 0,
        "acquirer": {
          "system_trace_audit_number": 0
        },
        "fees": {
          "type": "INTERCHANGE_FEE",
          "amount": 0.19131,
          "credit_debit": "C"
        },
        "user": {
          "metadata": {
            "notification_email": "hello@myemail.com"
          }
        },
        "card": {
          "last_four": 4489,
          "metadata": {}
        },
        "issuer_received_time": "2021-09-26T11:53:46Z",
        "issuer_payment_node": "042f97a3458b59e3cce0269f66e864d8",
        "network_reference_id": "000218552461989029",
        "clearing_record_sequence_number": 0,
        "batch_number": 2021048291031352,
        "acquirer_reference_data": 4.355106395860054e+22,
        "card_acceptor": {
          "mid": "000555600244811",
          "mcc": 5814,
          "name": "SWEET TREATS 0484",
          "city": "OAKLAND",
          "state": "CA",
          "postal_code": 94612,
          "country_code": "US"
        },
        "pos": {
          "terminal_id": 65,
          "pin_present": false,
          "partial_approval_capable": false,
          "purchase_amount_only": false,
          "is_recurring": false,
          "is_installment": false
        },
        "transaction_metadata": {
          "payment_channel": "OTHER"
        },
        "network_metadata": {
          "product_id": "VISA_TRADITIONAL",
          "program_id": ""
        }
      }
    }
  ]
}
```

<h2 id="list_statement_ledger_entries">
  List account statement ledger entries
</h2>

**Action:** `GET`\
**Endpoint:** `/credit/accounts/{account_token}/statements/{statement_summary_token}/ledgerentries`

<Warning>
  **Important**\
  This feature is being deprecated and replaced by statement journal entries. To list statement journal entries, see [List account statement journal entries](/core-api/credit-account-statements/#list_statement_journal_entries).
</Warning>

Retrieve an array of ledger entries on a credit account’s statement summary.

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

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

| Fields                                                          | Description                                                                                                                                                                                                                                                                                 |
| --------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| account\_token<br /><br />string<br /><br />Required            | The unique identifier of the credit account for which to retrieve the statement ledger entries.<br /><br />Send a `GET` request to `/credit/accounts` to retrieve existing credit account tokens.<br /><br />**Allowable Values:**<br /><br />Existing account token                        |
| statement\_summary\_token<br /><br />string<br /><br />Required | The unique identifier of the statement summary from which to retrieve ledger entries.<br /><br />Send a `GET` request to `/credit/accounts/{token}/statements/` to retrieve existing statement summary tokens.<br /><br />**Allowable Values:**<br /><br />Existing statement summary token |

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

| Fields                                         | Description                                                                                                                                                                                                                                                                                                                                                                                                  |
| ---------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| expand<br /><br />string<br /><br />Optional   | Embeds the specified object into the response.<br /><br />**Allowable Values:**<br /><br />`detailObject`                                                                                                                                                                                                                                                                                                    |
| 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` |

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

| Fields                                                                                            | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| ------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| token<br /><br />string<br /><br />Returned                                                       | Unique identifier of the ledger entry.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| related\_token<br /><br />string<br /><br />Conditionally returned                                | Unique identifier of the original ledger entry. If the current ledger entry is the original, this field is returned empty.<br /><br />**Allowable Values:**<br /><br />Existing ledger entry token                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| root\_token<br /><br />string<br /><br />Conditionally returned                                   | Unique identifier of the root ledger entry. If the current ledger entry is the root, this field is returned empty.<br /><br />**Allowable Values:**<br /><br />Existing ledger entry token                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| account\_token<br /><br />string<br /><br />Returned                                              | Unique identifier of the credit account associated with the credit card used to make the ledger entry.<br /><br />**Allowable Values:**<br /><br />Existing account token                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| card\_token<br /><br />string<br /><br />Returned                                                 | Unique identifier of the credit card used to make the ledger entry.<br /><br />**Allowable Values:**<br /><br />8–36 chars<br /><br />Existing credit card token                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| status<br /><br />string<br /><br />Returned                                                      | Status of the ledger entry when it was initially recorded and had an impact on the balance, either `PENDING` or `POSTED`. This field is immutable and may not represent the current status.<br /><br />To view the current status of purchases, refunds, OCTs, and payments, see the `detail_object.state` field. These ledger entries start in `PENDING` and can transition to `CLEARED`, `DECLINED`, or `ERROR`. This transition of status is only sent through webhook event notifications.<br /><br />Ledger entries that are final transactions, such as clearings, start and remain in a `POSTED` state.<br /><br />**NOTE**: `CLEARED`, `DECLINED`, and `ERROR` are special statuses that do not have an impact on the account balance, and are not recorded in the ledger. For these special statuses, `impact_time`, `request_time`, `created_time`, `token`, and `id` are returned blank.<br /><br />**Allowable Values:**<br /><br />`PENDING`, `POSTED`, `DECLINED`, `ERROR`, `CLEARED`                                                                                                                                                                                                                                                                                                                         |
| group<br /><br />string<br /><br />Returned                                                       | Group to which the ledger entry belongs.<br /><br />**Allowable Values:**<br /><br />`PURCHASE`, `INTERNAL`, `FEE`, `REWARD`, `INTEREST`, `PAYMENT`, `ADJUSTMENT`, `BALANCE_TRANSFER`, `CASH_ADVANCE`, `BALANCE_REFUND`, `ORIGINAL_CREDIT`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| type<br /><br />string<br /><br />Returned                                                        | The ledger entry event type.<br /><br />**Allowable Values:**<br /><br />Example: `authorization.clearing`<br /><br />A valid <a href="/core-api/event-types/#_credit_ledger_entry_events">ledger entry event type</a>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| id<br /><br />string<br /><br />Returned                                                          | Eight-digit numeric identifier of the ledger entry, an alternate identifier to the UUID that is useful for remembering and referencing.<br /><br />**Allowable Values:**<br /><br />8 chars                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| amount<br /><br />decimal<br /><br />Returned                                                     | Amount of the ledger entry.<br /><br />**Allowable Values:**<br /><br />Format: 0.00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| currency\_code<br /><br />string<br /><br />Returned                                              | A 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`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| memo<br /><br />string<br /><br />Returned                                                        | Merchant name or description for the ledger entry.<br /><br />**Allowable Values:**<br /><br />Example: Whole Foods Market                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| request\_time<br /><br />datetime<br /><br />Returned                                             | For purchases, the date and time of the authorization, which is when the user initiates the ledger entry.<br /><br />For other ledger entry groups, equivalent to `impact_time`.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| impact\_time<br /><br />datetime<br /><br />Returned                                              | Date and time when the ledger entry impacts the account balance.<br /><br />For purchases, this is the time of the authorization.<br /><br />For purchase authorization clearings, this is the time when the transaction is settled.<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 ledger entry was created on Marqeta’s credit platform, in UTC.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| dispute\_token<br /><br />string<br /><br />Conditionally returned                                | Unique identifier of the dispute, if the ledger entry is disputed.<br /><br />**Allowable Values:**<br /><br />Existing dispute token                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| detail\_token<br /><br />string<br /><br />Returned                                               | Unique identifier of the ledger entry’s full details.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| detail\_object<br /><br />object<br /><br />Conditionally returned                                | Contains the ledger entry’s full details. The fields returned in this object vary based on the ledger entry group.<br /><br />The following lists each ledger entry group and the specific fields returned for each group.<br /><br />- Purchases and refunds: see the <a href="/core-api/transactions/#get_transactions">transactions</a> response fields.<br />- Disputes: see the <a href="/core-api/credit-account-disputes/#retrieve_dispute">account disputes response fields.</a><br />- Original credit transaction (OCT): see the <a href="/core-api/push-to-card-payments-hidden/#_create_push_to_card_disbursement">Push-to-Card disbursement</a> fields.<br />- Rewards: see the <a href="/core-api/credit-account-rewards/#create_reward">account reward</a> response fields.<br />- Payments: see the <a href="/core-api/credit-account-payments/#retrieve_payment">account payment</a> response fields.<br />- Balance refunds: see the <a href="/core-api/credit-account-balance-refunds/#create_balance_refund">balance refund</a> response fields.<br />- Adjustments: see the <a href="/core-api/credit-account-adjustments/#retrieve_adjustment">account adjustment</a> response fields.<br />- Interest and fees: see fields below.<br /><br />**Allowable Values:**<br /><br />Existing detail object |
| detail\_object.**token**<br /><br />string<br /><br />Conditionally returned                      | Unique identifier of the interest charge or fee.<br /><br />If in the `detail_object`, unique identifier of the detail object.<br /><br />Returned for interest or fees.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| detail\_object.**account\_token**<br /><br />string<br /><br />Conditionally returned             | Unique identifier of the credit account on which the interest or fee was charged.<br /><br />Returned for interest or fees.<br /><br />**Allowable Values:**<br /><br />36 char max<br /><br />Existing account token                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| detail\_object.**type**<br /><br />string<br /><br />Conditionally returned                       | Type of fee.<br /><br />Returned for fees.<br /><br />**Allowable Values:**<br /><br />`FOREIGN_TRANSACTION_FEE`, `OVER_LIMIT_FEE`, `LATE_PAYMENT_FEE`, `RETURNED_PAYMENT_FEE`, `CARD_REPLACEMENT_FEE`, `MINIMUM_INTEREST_FEE`, `MINIMUM_INTEREST_FEE_REVERSAL`, `ANNUAL_FEE`, `MONTHLY_FEE`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| detail\_object.**method**<br /><br />string<br /><br />Conditionally returned                     | Method used to calculate the fee value.<br /><br />Returned for fees.<br /><br />**Allowable Values:**<br /><br />`PERCENTAGE`, `FLAT`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| detail\_object.**value**<br /><br />decimal<br /><br />Conditionally returned                     | Value of the fee configured on the account.<br /><br />Equivalent to `config.fees.schedule.value` on the credit account. Send a `GET` request to `/credit/accounts/{account_token}` to retrieve an existing credit account.<br /><br />Returned for fees.<br /><br />**Allowable Values:**<br /><br />Format: 0.00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| detail\_object.**currency\_code**<br /><br />string<br /><br />Conditionally returned             | A 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`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| detail\_object.**amount**<br /><br />decimal<br /><br />Conditionally returned                    | Amount of the fee.<br /><br />Returned for fees.<br /><br />**Allowable Values:**<br /><br />Format: 0.00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| detail\_object.**applied\_to\_amount**<br /><br />decimal<br /><br />Conditionally returned       | The total amount to which a percentage fee method is applied (for example, if a 3% fee is applied to 100, then `100` is the `applied_to_amount` value).<br /><br />This field is not applicable for a flat fee method.<br /><br />Returned for fees.<br /><br />**NOTE:** This field is currently not supported and returns `null`.<br /><br />**Allowable Values:**<br /><br />Format: 0.00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| detail\_object.**description**<br /><br />string<br /><br />Conditionally returned                | Description of the fee.<br /><br />Returned for fees.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| detail\_object.**created**<br /><br />datetime<br /><br />Conditionally returned                  | Date and time when the fee was created.<br /><br />Returned for fees.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| detail\_object.**statement\_token**<br /><br />string<br /><br />Conditionally returned           | Unique identifier of the statement summary from which you want to retrieve interest details.<br /><br />Returned for interest.<br /><br />**Allowable Values:**<br /><br />Existing statement summary token                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| detail\_object.**statement\_opening\_date**<br /><br />datetime<br /><br />Conditionally returned | Opening date of the statement summary from which you want to retrieve interest details.<br /><br />Returned for interest.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| detail\_object.**statement\_closing\_date**<br /><br />datetime<br /><br />Conditionally returned | Closing date of the statement summary from which you want to retrieve interest details.<br /><br />Returned for interest.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| detail\_object.**statement\_balance**<br /><br />decimal<br /><br />Conditionally returned        | Balance on the statement summary from which you want to retrieve interest details.<br /><br />Returned for interest.<br /><br />**Allowable Values:**<br /><br />Format: 0.00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| detail\_object.**average\_daily\_balance**<br /><br />decimal<br /><br />Conditionally returned   | Average daily balance used to calculate interest.<br /><br />Returned for interest.<br /><br />**Allowable Values:**<br /><br />Format: 0.00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| detail\_object.**goto\_apr**<br /><br />decimal<br /><br />Conditionally returned                 | Annual percentage rate.<br /><br />Returned for interest.<br /><br />**Allowable Values:**<br /><br />0–100                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| detail\_object.**daily\_periodic\_rate**<br /><br />decimal<br /><br />Conditionally returned     | Daily rate used to calculate interest.<br /><br />Returned for interest.<br /><br />**Allowable Values:**<br /><br />0–100                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| detail\_object.**days\_in\_billing\_cycle**<br /><br />integer<br /><br />Conditionally returned  | Number of days in the billing cycle.<br /><br />Returned for interest.<br /><br />**Allowable Values:**<br /><br />1–31                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| detail\_object.**interest\_amount**<br /><br />decimal<br /><br />Conditionally returned          | Amount of interest calculated for the billing period.<br /><br />Returned for interest.<br /><br />**Allowable Values:**<br /><br />Format: 0.00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| detail\_object.**created\_date**<br /><br />datetime<br /><br />Conditionally returned            | Date and time when the interest was created.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| detail\_object.**updated\_date**<br /><br />datetime<br /><br />Conditionally returned            | Date and time when the interest was last updated.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |

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

```json JSON expandable lines wrap theme={null}
[
  {
    "token": "ledger_entry_token6789",
    "related_token": "ledger_entry_token2460",
    "root_token": "ledger_entry_token2460",
    "account_token": "my_account_token_12",
    "card_token": "my_credit_card_token7794",
    "status": "POSTED",
    "group": "PURCHASE",
    "type": "authorization.clearing",
    "id": "12345678",
    "amount": 9.11,
    "currency_code": "USD",
    "memo": "SWEET TREATS 0484",
    "request_time": "2021-09-25T20:59:43Z",
    "impact_time": "2021-09-26T11:53:48Z",
    "created_time": "2021-09-26T11:53:48Z",
    "detail_token": "detail_token_645736",
    "detail_object": {
      "type": "authorization.clearing",
      "state": "COMPLETION",
      "identifier": 6457,
      "token": "detail_token_645736",
      "user_token": "user_token4632",
      "acting_user_token": "user_token4632",
      "card_token": "my_credit_card_token7794",
      "preceding_related_transaction_token": "ledger_entry_token2460",
      "gpa": {
        "currency_code": "USD",
        "ledger_balance": 61.7,
        "available_balance": 0,
        "credit_balance": 0,
        "pending_credits": 0,
        "impacted_amount": -9.11,
        "balances": {
          "USD": {
            "currency_code": "USD",
            "ledger_balance": 61.7,
            "available_balance": 0,
            "credit_balance": 0,
            "pending_credits": 0,
            "impacted_amount": -9.11
          }
        }
      },
      "gpa_order": {
        "token": "gpa_order_token2c2c5",
        "amount": 9.11,
        "created_time": "2021-09-25T20:59:43Z",
        "last_modified_time": "2021-09-26T11:53:47Z",
        "transaction_token": "transaction_token42352a",
        "state": "COMPLETION",
        "response": {
          "code": 0,
          "memo": "Approved or completed successfully"
        },
        "funding": {
          "amount": 9.11,
          "source": {
            "type": "programgateway",
            "token": "funding_source_token6789",
            "active": true,
            "name": "My Funding Source",
            "is_default_account": false,
            "created_time": "2021-06-22T18:41:14Z",
            "last_modified_time": "2021-06-22T18:41:14Z"
          }
        },
        "funding_source_token": "funding_source_token6789",
        "jit_funding": {
          "token": "jit_funding_token43a3",
          "method": "pgfs.authorization.capture",
          "user_token": "user_token4632",
          "acting_user_token": "user_token4632",
          "amount": 9.11,
          "original_jit_funding_token": "jit_funding_token4be7"
        },
        "user_token": "user_token4632",
        "currency_code": "USD"
      },
      "duration": 378,
      "created_time": "2021-09-26T11:53:46Z",
      "user_transaction_time": "2021-09-25T20:59:43Z",
      "settlement_date": "2021-09-26T00:00:00Z",
      "request_amount": 9.11,
      "amount": 9.11,
      "currency_conversion": {
        "network": {
          "original_amount": 9.11,
          "conversion_rate": 1,
          "original_currency_code": 840
        }
      },
      "issuer_interchange_amount": 0.19131,
      "currency_code": "USD",
      "approval_code": 946791,
      "response": {
        "code": 0,
        "memo": "Approved or completed successfully"
      },
      "network": "VISA",
      "subnetwork": "VISANET",
      "acquirer_fee_amount": 0,
      "acquirer": {
        "system_trace_audit_number": 0
      },
      "fees": {
        "type": "INTERCHANGE_FEE",
        "amount": 0.19131,
        "credit_debit": "C"
      },
      "user": {
        "metadata": {
          "notification_email": "hello@myemail.com"
        }
      },
      "card": {
        "last_four": 4489,
        "metadata": {}
      },
      "issuer_received_time": "2021-09-26T11:53:46Z",
      "issuer_payment_node": "042f97a3458b59e3cce0269f66e864d8",
      "network_reference_id": "000218552461989029",
      "clearing_record_sequence_number": 0,
      "batch_number": 2021048291031352,
      "acquirer_reference_data": 4.355106395860054e+22,
      "card_acceptor": {
        "mid": "000555600244811",
        "mcc": 5814,
        "name": "SWEET TREATS 0484",
        "city": "OAKLAND",
        "state": "CA",
        "postal_code": 94612,
        "country_code": "US"
      },
      "pos": {
        "terminal_id": 65,
        "pin_present": false,
        "partial_approval_capable": false,
        "purchase_amount_only": false,
        "is_recurring": false,
        "is_installment": false
      },
      "transaction_metadata": {
        "payment_channel": "OTHER"
      },
      "network_metadata": {
        "product_id": "VISA_TRADITIONAL",
        "program_id": ""
      }
    }
  }
]
```

<h2 id="retrieve_statement_interest_charges">
  Retrieve account statement interest charges
</h2>

**Action:** `GET`\
**Endpoint:** `/credit/accounts/{account_token}/statements/{statement_summary_token}/interestcharges`

Retrieve the interest charges on a credit account’s statement summary.

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

| Fields                                                          | Description                                                                                                                                                                                                                                                                                       |
| --------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| account\_token<br /><br />string<br /><br />Required            | The unique identifier of the credit account for which you want to retrieve the statement interest charges.<br /><br />Send a `GET` request to `/credit/accounts` to retrieve existing credit account tokens.<br /><br />**Allowable Values:**<br /><br />Existing account token                   |
| statement\_summary\_token<br /><br />string<br /><br />Required | The unique identifier of the statement summary from which to retrieve the interest charges.<br /><br />Send a `GET` request to `/credit/accounts/{token}/statements/` to retrieve existing statement summary tokens.<br /><br />**Allowable Values:**<br /><br />Existing statement summary token |

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

| Fields                                                                                                | Description                                                                                                                                          |
| ----------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
| account\_token<br /><br />string<br /><br />Returned                                                  | Unique identifier of the credit account on which the statement interest charge is generated.<br /><br />**Allowable Values:**<br /><br />36 char max |
| statement\_summary\_token<br /><br />string<br /><br />Returned                                       | Unique identifier of the statement summary.<br /><br />**Allowable Values:**<br /><br />Existing statement summary token                             |
| data<br /><br />array of objects<br /><br />Returned                                                  | Contains one or more interest charges on a statement.<br /><br />**Allowable Values:**<br /><br />One or more interest charge objects                |
| data\[].**balance\_type**<br /><br />string<br /><br />Conditionally returned                         | Type of balance.<br /><br />- `PURCHASE` - The balance on purchases.<br /><br />**Allowable Values:**<br /><br />`PURCHASE`                          |
| data\[].**apr\_value**<br /><br />decimal<br /><br />Conditionally returned                           | Annual percentage rate.<br /><br />**Allowable Values:**<br /><br />0–100                                                                            |
| data\[].**apr\_type**<br /><br />string<br /><br />Conditionally returned                             | Type of APR.<br /><br />**Allowable Values:**<br /><br />`GO_TO`                                                                                     |
| data\[].**balance\_subject\_to\_interest\_rate**<br /><br />decimal<br /><br />Conditionally returned | Average daily balance used to calculate interest.<br /><br />**Allowable Values:**<br /><br />Format: 0.00                                           |
| data\[].**amount**<br /><br />decimal<br /><br />Conditionally returned                               | Amount of interest calculated for the billing period.<br /><br />**Allowable Values:**<br /><br />Format: 0.00                                       |

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

```json JSON lines wrap theme={null}
{
  "account_token": "credit_account_token1234",
  "user_token": "user_token1234",
  "statement_summary_token": "statement_summary_token1234",
  "data": [
    {
      "balance_type": "PURCHASE",
      "apr_value": 14.99,
      "apr_type": "GO_TO",
      "balance_subject_to_interest_rate": 181.67,
      "amount": 2.31
    }
  ]
}
```

<h2 id="retrieve_statement_reward">
  Retrieve account statement rewards
</h2>

**Action:** `GET`\
**Endpoint:** `/credit/accounts/{account_token}/statements/{statement_summary_token}/rewards`

Retrieve the rewards on a credit account’s statement summary.

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

| Fields                                                          | Description                                                                                                                                                                                                                                                                          |
| --------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| account\_token<br /><br />string<br /><br />Required            | The unique identifier of the credit account from which to retrieve statement rewards.<br /><br />Send a `GET` request to `/credit/accounts` to retrieve existing credit account tokens.<br /><br />**Allowable Values:**<br /><br />Existing account token                           |
| statement\_summary\_token<br /><br />string<br /><br />Required | The unique identifier of the statement summary from which to retrieve rewards.<br /><br />Send a `GET` request to `/credit/accounts/{token}/statements/` to retrieve existing statement summary tokens.<br /><br />**Allowable Values:**<br /><br />Existing statement summary token |

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

| Fields                                                                                | Description                                                                                                                                                        |
| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| token<br /><br />string<br /><br />Conditionally returned                             | Unique identifier of the rewards for a specific statement.<br /><br />**Allowable Values:**<br /><br />36 char max                                                 |
| previous\_billing\_cycle\_reward<br /><br />decimal<br /><br />Conditionally returned | Amount of rewards received in the previous billing cycle.<br /><br />**Allowable Values:**<br /><br />Format: 0.00                                                 |
| current\_billing\_cycle\_reward<br /><br />decimal<br /><br />Conditionally returned  | Amount of rewards received in the current billing cycle.<br /><br />**Allowable Values:**<br /><br />Format: 0.00                                                  |
| created\_time<br /><br />datetime<br /><br />Conditionally returned                   | Date and time when the statement reward 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_7">
  Sample response body
</h3>

```json JSON lines wrap theme={null}
{
  "token": "account_statement_reward1234",
  "previous_billing_cycle_reward": 0,
  "current_billing_cycle_reward": 0,
  "created_time": "2022-09-01T00:27:09Z"
}
```

<h2 id="retrieve_year_to_date_for_statement_summary">
  Retrieve account statement year-to-date totals
</h2>

**Action:** `GET`\
**Endpoint:** `/credit/accounts/{account_token}/statements/{statement_summary_token}/yeartodate`

Retrieve the year-to-date fee and interest totals on a credit account’s statement summary.

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

| Fields                                                          | Description                                                                                                                                                                                                                                                                                      |
| --------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| account\_token<br /><br />string<br /><br />Required            | The unique identifier of the credit account from which to retrieve statement year-to-date totals.<br /><br />Send a `GET` request to `/credit/accounts` to retrieve existing credit account tokens.<br /><br />**Allowable Values:**<br /><br />Existing account token                           |
| statement\_summary\_token<br /><br />string<br /><br />Required | The unique identifier of the statement summary from which to retrieve year-to-date totals.<br /><br />Send a `GET` request to `/credit/accounts/{token}/statements/` to retrieve existing statement summary tokens.<br /><br />**Allowable Values:**<br /><br />Existing statement summary token |

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

| Fields                                                              | Description                                                                                                                                                          |
| ------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| token<br /><br />uuid<br /><br />Conditionally returned             | Unique identifier of the year-to-date total.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                 |
| account\_token<br /><br />string<br /><br />Returned                | Unique identifier of the associated credit account.<br /><br />**Allowable Values:**<br /><br />36 char max<br /><br />Existing account token                        |
| statement\_token<br /><br />uuid<br /><br />Returned                | Unique identifier of the statement summary from which to retrieve year-to-date totals.<br /><br />**Allowable Values:**<br /><br />Existing statement summary token  |
| total\_fees<br /><br />decimal<br /><br />Returned                  | Total fees charged year-to-date.<br /><br />**Allowable Values:**<br /><br />Format: 0.00                                                                            |
| total\_interest<br /><br />decimal<br /><br />Returned              | Total interest charged year-to-date.<br /><br />**Allowable Values:**<br /><br />Format: 0.00                                                                        |
| created\_time<br /><br />datetime<br /><br />Conditionally returned | Date and time when the year-to-date total 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_8">
  Sample response body
</h3>

```json JSON lines wrap theme={null}
{
  "token": "c40b683b-ad88-51b6-a1fa-bc9961bc011e",
  "account_token": "my_account_token_12",
  "statement_token": "c07918af-2ffa-4da9-972c-6b3d24b2a772",
  "total_fees": 0,
  "total_interest": 0,
  "created_time": "2021-07-01T00:27:09Z"
}
```

<h2 id="retrieve_statement_files">
  List files for a statement summary
</h2>

**Action:** `GET`\
**Endpoint:** `/credit/accounts/{account_token}/statements/{statement_summary_token}/files`

Retrieve an array of statement files for a specific statement summary.

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

| Fields                                                          | Description                                                                                                                                                                                                                                                                                     |
| --------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| account\_token<br /><br />string<br /><br />Required            | The unique identifier of the credit account for which to retrieve statement files for a statement summary.<br /><br />Send a `GET` request to `/credit/accounts` to retrieve existing credit account tokens.<br /><br />**Allowable Values:**<br /><br />Existing account token                 |
| statement\_summary\_token<br /><br />string<br /><br />Required | The unique identifier of the statement summary whose statement files you want to retrieve.<br /><br />Send a `GET` request to `/credit/accounts/{token}/statements` to retrieve existing statement summary tokens.<br /><br />**Allowable Values:**<br /><br />Existing statement summary token |

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

| Fields                                              | Description                                                                                             |
| --------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
| count<br /><br />integer<br /><br />Optional        | The number of statement files to return.<br /><br />**Allowable Values:**<br /><br />1–100              |
| start\_index<br /><br />integer<br /><br />Optional | Sort order index from which to begin returning files.<br /><br />**Allowable Values:**<br /><br />0 min |

<h3 id="_response_body_9">
  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                                    | List of statement files.<br /><br />**Allowable Values:**<br /><br />One or more statement files                                                                                |
| data\[].**token**<br /><br />string<br /><br />Conditionally returned                   | Unique identifier of the statement file.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                |
| data\[].**account\_token**<br /><br />string<br /><br />Conditionally returned          | Unique identifier of the credit account on which the statement PDF file is generated.<br /><br />**Allowable Values:**<br /><br />36 char max<br /><br />Existing account token |
| data\[].**statement\_summary\_token**<br /><br />uuid<br /><br />Conditionally returned | Unique identifier of the statement summary.<br /><br />**Allowable Values:**<br /><br />Existing statement summary token                                                        |
| data\[].**opening\_date**<br /><br />datetime<br /><br />Conditionally returned         | Date and time when the statement period began.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                         |
| data\[].**closing\_date**<br /><br />datetime<br /><br />Conditionally returned         | Date and time when the statement period ended.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                         |
| data\[].**signed\_url**<br /><br />string<br /><br />Conditionally returned             | The signed URL to retrieve the statement PDF file.<br /><br />**Allowable Values:**<br /><br />A valid signed URL                                                               |
| data\[].**type**<br /><br />string<br /><br />Conditionally returned                    | Type of file.<br /><br />**Allowable Values:**<br /><br />`STATEMENT_PDF`                                                                                                       |

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

```json JSON lines wrap theme={null}
{
  "count": 1,
  "start_index": 0,
  "end_index": 0,
  "is_more": false,
  "data": [
    {
      "token": "file_token",
      "account_token": "credit_account_token1234",
      "statement_summary_token": "37f07818-2a2c-4c82-a721-a479936d5b2e",
      "opening_date": "2021-07-01T00:27:09Z",
      "closing_date": "2021-07-31T00:27:09Z",
      "signed_url": "<signed_https_url_pointing_to_a_resource_on_S3>",
      "type": "STATEMENT_PDF"
    }
  ]
}
```

<h2 id="get_statement_files_by_account">
  List files for an account
</h2>

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

Retrieve an array of statement files for a specific credit account.

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

| Fields                                               | Description                                                                                                                                                                                                                                             |
| ---------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| account\_token<br /><br />string<br /><br />Required | The unique identifier of the credit account for which to retrieve statement files.<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_5">
  URL query parameters
</h3>

| Fields                                              | Description                                                                                                                                                                                                                                                                                                                                                                             |
| --------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| start\_date<br /><br />datetime<br /><br />Optional | The start date of the statement files to return.<br /><br />**Allowable Values:**<br /><br />Example: 2020-01-01T00:00:00Z                                                                                                                                                                                                                                                              |
| end\_date<br /><br />datetime<br /><br />Optional   | The end date of the statement files to return.<br /><br />**Allowable Values:**<br /><br />Example: 2020-03-01T03:59:59Z                                                                                                                                                                                                                                                                |
| count<br /><br />integer<br /><br />Optional        | The number of 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 `createdTime`, and not by the field names appearing in response bodies such as `created_time`.<br /><br />**Allowable Values:**<br /><br />`createdTime`, `-createdTime` |

<h3 id="_response_body_10">
  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                                    | List of statement files.<br /><br />**Allowable Values:**<br /><br />One or more statement files                                                                                |
| data\[].**token**<br /><br />string<br /><br />Conditionally returned                   | Unique identifier of the statement file.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                |
| data\[].**account\_token**<br /><br />string<br /><br />Conditionally returned          | Unique identifier of the credit account on which the statement PDF file is generated.<br /><br />**Allowable Values:**<br /><br />36 char max<br /><br />Existing account token |
| data\[].**statement\_summary\_token**<br /><br />uuid<br /><br />Conditionally returned | Unique identifier of the statement summary.<br /><br />**Allowable Values:**<br /><br />Existing statement summary token                                                        |
| data\[].**opening\_date**<br /><br />datetime<br /><br />Conditionally returned         | Date and time when the statement period began.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                         |
| data\[].**closing\_date**<br /><br />datetime<br /><br />Conditionally returned         | Date and time when the statement period ended.<br /><br />**Allowable Values:**<br /><br />Format: yyyy-MM-ddThh:mm:ssZ                                                         |
| data\[].**signed\_url**<br /><br />string<br /><br />Conditionally returned             | The signed URL to retrieve the statement PDF file.<br /><br />**Allowable Values:**<br /><br />A valid signed URL                                                               |
| data\[].**type**<br /><br />string<br /><br />Conditionally returned                    | Type of file.<br /><br />**Allowable Values:**<br /><br />`STATEMENT_PDF`                                                                                                       |

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

```json JSON expandable lines wrap theme={null}
{
  "count": 1,
  "start_index": 0,
  "end_index": 0,
  "is_more": false,
  "data": [
    {
      "token": "file_token",
      "account_token": "credit_account_token1234",
      "statement_summary_token": "37f07818-2a2c-4c82-a721-a479936d5b2e",
      "opening_date": "2021-07-01T00:27:09Z",
      "closing_date": "2021-07-31T00:27:09Z",
      "signed_url": "<signed_https_url_pointing_to_a_resource_on_S3>",
      "type": "STATEMENT_PDF"
    },
    {
      "token": "file_token",
      "account_token": "credit_account_token4567",
      "statement_summary_token": "79938791-5e15-456a-bf13-c39142c9a763",
      "opening_date": "2021-06-01T00:27:09Z",
      "closing_date": "2021-06-30T00:27:09Z",
      "signed_url": "<signed_https_url_pointing_to_a_resource_on_S3>",
      "type": "STATEMENT_PDF"
    }
  ]
}
```

<h2 id="resend_webhook_event">
  Resend credit event notification
</h2>

**Action:** `POST`\
**Endpoint:** `/credit/webhooks/{event_type}/{resource_token}`

Resends a credit event notification to your webhook endpoint.

Although you send this request as a `POST`, all parameters are passed in the URL and the body is empty. The event notification is resent to your webhook endpoint and also returned in the response to this request.

For details on how to configure your webhook endpoint, see the About Webhooks [tutorial](/developer-guides/about-webhooks/#_tutorial). For the complete `/webhooks` endpoint reference, see [Webhooks](/core-api/webhooks/).

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

| Fields                                                | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| ----------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| event\_type<br /><br />string<br /><br />Required     | Specifies the type of event you want to resend.<br /><br />**Allowable Values:**<br /><br />`ledgerentry`, `journalentry`, `accounttransition`, `accountstatement`, `paymenttransition`, `delinquencytransition`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| resource\_token<br /><br />string<br /><br />Required | The unique identifier of the resource for which you want to resend a notification.<br /><br />Send a `GET` request to `/credit/accounts/{account_token}/journalentries` to retrieve existing journal entry tokens.<br /><br />Send a `GET` request to `/credit/accounts/{account_token}/ledgerentries` to retrieve existing ledger entry tokens.<br /><br />Send a `GET` request to `/accounts/{account_token}/accounttransitions` to retrieve existing account transition tokens.<br /><br />Send a `GET` request to `/credit/accounts/{account_token}/payments/{payment_token}` to retrieve existing payment transition tokens.<br /><br />Send a `GET` request to `/accounts/{account_token}/statements` to retrieve existing statement summary tokens.<br /><br />Send a `GET` request to `/accounts/{account_token}/delinquencystate/transitions` to retrieve existing delinquency transition tokens.<br /><br />**Allowable Values:**<br /><br />Existing journal entry token, ledger entry token, account transition token, payment transition token, statement summary token, or delinquency transition token |

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

| Fields                                                     | Description                                                                                                                           |
| ---------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- |
| unused<br /><br />string<br /><br />Conditionally returned | The event notification that was resent to your webhook endpoint.<br /><br />**Allowable Values:**<br /><br />Valid event notification |

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

The following code block shows a sample of a resent `creditaccounttransitions` event.

```json JSON lines wrap theme={null}
{
  "token": "my_credit_account_transition_token1234",
  "account_token": "my_credit_account_token1234",
  "original_status": "UNACTIVATED",
  "status": "ACTIVE",
  "created_time": "2021-08-18T20:25:10.408Z"
}
```

The following code block shows a sample of a resent `creditaccountstatements` event.

```json JSON lines wrap theme={null}
{
  "token": "my_credit_account_statement_token",
  "account_token": "my_credit_account_token",
  "opening_balance": 496.45,
  "closing_balance": 506.41,
  "credit_limit": 500,
  "available_credit": 0,
  "past_due_amount": 10,
  "purchases": 0,
  "interest": 4.96,
  "fees": 15,
  "credits": 0,
  "payments": 10,
  "days_in_billing_cycle": 31,
  "cycle_type": "REVOLVING",
  "opening_date": "2023-03-01T05:00:00.000Z",
  "closing_date": "2023-04-01T03:59:59.999Z",
  "created_time": "2021-08-18T22:04:31.261Z"
}
```

The following code block shows a sample of a resent `creditjournalentries` event.

```json JSON expandable lines wrap theme={null}
{
  "token": "my_journal_entry_token1234",
  "related_token": null,
  "root_token": null,
  "account_token": "my_credit_account_token1234",
  "card_token": "my_credit_card_token1234",
  "status": "PENDING",
  "group": "PURCHASE",
  "type": "authorization",
  "id": "12345678",
  "amount": 10,
  "currency_code": "USD",
  "memo": "Jane's Bakery",
  "request_time": "2021-08-18T22:06:52.000Z",
  "impact_time": "2021-08-18T22:07:21.422Z",
  "created_time": "2021-08-18T22:07:21.422Z",
  "dispute_token": null,
  "detail_token": "my_detail_token1234",
  "detail_object": {
    "type": "authorization",
    "state": "PENDING",
    "identifier": "234",
    "token": "my_detail_token1234",
    "user_token": "my_user_token",
    "acting_user_token": "my_user_token",
    "card_token": "my_credit_card_token1234",
    "gpa": {
      "currency_code": "USD",
      "ledger_balance": 510.87,
      "available_balance": 0,
      "credit_balance": 0,
      "pending_credits": 0,
      "impacted_amount": -10,
      "balances": {
        "USD": {
          "currency_code": "USD",
          "ledger_balance": 510.87,
          "available_balance": 0,
          "credit_balance": 0,
          "pending_credits": 0,
          "impacted_amount": -10
        }
      }
    },
    "gpa_order": {
      "token": "my_gpa_order_token1234",
      "amount": 10,
      "created_time": "2021-08-18T22:06:53Z",
      "last_modified_time": "2021-08-18T22:06:53Z",
      "transaction_token": "my_transaction_token1234",
      "state": "PENDING",
      "response": {
        "code": "0000",
        "memo": "Approved or completed successfully"
      },
      "funding": {
        "amount": 10,
        "source": {
          "type": "programgateway",
          "token": "**********1ab2",
          "active": true,
          "name": "credit_backed_funding_source",
          "is_default_account": false,
          "created_time": "2021-10-14T17:26:35Z",
          "last_modified_time": "2021-10-14T17:26:35Z"
        },
        "gateway_log": {
          "order_number": "my_gateway_token12345",
          "transaction_id": "my_transaction_id1234",
          "message": "Approved or completed successfully",
          "duration": 485,
          "timed_out": false,
          "response": {
            "code": "200",
            "data": {
              "jit_funding": {
                "token": "my_jit_funding_token1234",
                "method": "pgfs.authorization",
                "user_token": "my_user_token",
                "acting_user_token": "my_user_token",
                "amount": 10
              }
            }
          }
        }
      },
      "funding_source_token": "**********1ab2",
      "jit_funding": {
        "token": "my_transaction_id1234",
        "method": "pgfs.authorization",
        "user_token": "my_user_token",
        "acting_user_token": "my_user_token",
        "amount": 10
      },
      "user_token": "my_user_token",
      "currency_code": "USD"
    },
    "duration": 837,
    "created_time": "2021-08-18T22:06:52Z",
    "user_transaction_time": "2021-08-18T22:06:52Z",
    "settlement_date": "2021-08-18T00:00:00Z",
    "request_amount": 10,
    "amount": 10,
    "currency_code": "USD",
    "approval_code": "974406",
    "response": {
      "code": "0000",
      "memo": "Approved or completed successfully"
    },
    "network": "DISCOVER",
    "acquirer_fee_amount": 0,
    "acquirer": {
      "system_trace_audit_number": "376582"
    },
    "user": {
      "metadata": {
        "key1": "value1",
        "key2": "value2",
        "notification_email": "user@domain.com",
        "notification_language": "spa"
      }
    },
    "card": {
      "last_four": "9949",
      "metadata": {}
    },
    "issuer_received_time": "2021-08-18T22:06:52.771Z",
    "issuer_payment_node": "f8205a67b12b90d695b15704a64c074b",
    "network_reference_id": "484311571095",
    "card_acceptor": {
      "mid": "1234",
      "mcc": "6411",
      "name": "Jane's Bakery",
      "street_address": "1989 Fillmore St",
      "city": "San Francisco",
      "state": "CA",
      "postal_code": "94115",
      "country_code": "USA"
    },
    "pos": {
      "pin_present": false,
      "partial_approval_capable": true,
      "purchase_amount_only": false,
      "is_recurring": false,
      "is_installment": false
    }
  }
}
```

The following code block shows a sample of a resent `creditledgerentries` event.

```json JSON expandable lines wrap theme={null}
{
  "token": "my_ledger_entry_token1234",
  "related_token": null,
  "root_token": null,
  "account_token": "my_credit_account_token1234",
  "card_token": "my_credit_card_token1234",
  "status": "PENDING",
  "group": "PURCHASE",
  "type": "authorization",
  "id": "12345678",
  "amount": 10,
  "currency_code": "USD",
  "memo": "Jane's Bakery",
  "request_time": "2021-08-18T22:06:52.000Z",
  "impact_time": "2021-08-18T22:07:21.422Z",
  "created_time": "2021-08-18T22:07:21.422Z",
  "dispute_token": null,
  "detail_token": "my_detail_token1234",
  "detail_object": {
    "type": "authorization",
    "state": "PENDING",
    "identifier": "234",
    "token": "my_detail_token1234",
    "user_token": "my_user_token",
    "acting_user_token": "my_user_token",
    "card_token": "my_credit_card_token1234",
    "gpa": {
      "currency_code": "USD",
      "ledger_balance": 510.87,
      "available_balance": 0,
      "credit_balance": 0,
      "pending_credits": 0,
      "impacted_amount": -10,
      "balances": {
        "USD": {
          "currency_code": "USD",
          "ledger_balance": 510.87,
          "available_balance": 0,
          "credit_balance": 0,
          "pending_credits": 0,
          "impacted_amount": -10
        }
      }
    },
    "gpa_order": {
      "token": "my_gpa_order_token1234",
      "amount": 10,
      "created_time": "2021-08-18T22:06:53Z",
      "last_modified_time": "2021-08-18T22:06:53Z",
      "transaction_token": "my_transaction_token1234",
      "state": "PENDING",
      "response": {
        "code": "0000",
        "memo": "Approved or completed successfully"
      },
      "funding": {
        "amount": 10,
        "source": {
          "type": "programgateway",
          "token": "**********1ab2",
          "active": true,
          "name": "credit_backed_funding_source",
          "is_default_account": false,
          "created_time": "2021-10-14T17:26:35Z",
          "last_modified_time": "2021-10-14T17:26:35Z"
        },
        "gateway_log": {
          "order_number": "my_gateway_token12345",
          "transaction_id": "my_transaction_id1234",
          "message": "Approved or completed successfully",
          "duration": 485,
          "timed_out": false,
          "response": {
            "code": "200",
            "data": {
              "jit_funding": {
                "token": "my_jit_funding_token1234",
                "method": "pgfs.authorization",
                "user_token": "my_user_token",
                "acting_user_token": "my_user_token",
                "amount": 10
              }
            }
          }
        }
      },
      "funding_source_token": "**********1ab2",
      "jit_funding": {
        "token": "my_transaction_id1234",
        "method": "pgfs.authorization",
        "user_token": "my_user_token",
        "acting_user_token": "my_user_token",
        "amount": 10
      },
      "user_token": "my_user_token",
      "currency_code": "USD"
    },
    "duration": 837,
    "created_time": "2021-08-18T22:06:52Z",
    "user_transaction_time": "2021-08-18T22:06:52Z",
    "settlement_date": "2021-08-18T00:00:00Z",
    "request_amount": 10,
    "amount": 10,
    "currency_code": "USD",
    "approval_code": "974406",
    "response": {
      "code": "0000",
      "memo": "Approved or completed successfully"
    },
    "network": "DISCOVER",
    "acquirer_fee_amount": 0,
    "acquirer": {
      "system_trace_audit_number": "376582"
    },
    "user": {
      "metadata": {
        "key1": "value1",
        "key2": "value2",
        "notification_email": "user@domain.com",
        "notification_language": "spa"
      }
    },
    "card": {
      "last_four": "9949",
      "metadata": {}
    },
    "issuer_received_time": "2021-08-18T22:06:52.771Z",
    "issuer_payment_node": "f8205a67b12b90d695b15704a64c074b",
    "network_reference_id": "484311571095",
    "card_acceptor": {
      "mid": "1234",
      "mcc": "6411",
      "name": "Jane's Bakery",
      "street_address": "1989 Fillmore St",
      "city": "San Francisco",
      "state": "CA",
      "postal_code": "94115",
      "country_code": "USA"
    },
    "pos": {
      "pin_present": false,
      "partial_approval_capable": true,
      "purchase_amount_only": false,
      "is_recurring": false,
      "is_installment": false
    }
  }
}
```

The following code block shows a sample of a resent `creditpaymenttransitions` event.

```json JSON lines wrap theme={null}
{
  "token": "my_payment_transition_token1234",
  "account_token": "my_credit_account_token1234",
  "payment_token": "my_credit_account_payment_token1234",
  "status": "COMPLETED",
  "refund_details": null,
  "created_time": "2021-08-17T18:26:47.591Z"
}
```

The following code block shows a sample of a resent `creditdelinquencytransitions` event.

```json JSON lines wrap theme={null}
{
  "token": "my_delinquency_transition_token1234",
  "account_token": "my_credit_account_token1234",
  "transition_trigger_reason": "STATEMENT_GENERATION",
  "transition_trigger_time": "2023-03-01 04:59:59.999",
  "original_status": "CURRENT",
  "status": "DELINQUENT",
  "impact_time": "2023-03-01 04:59:59.999",
  "total_past_due": 100,
  "current_due": 40,
  "total_due": 140,
  "oldest_payment_due_date": "2023-02-01 04:59:59.999",
  "bucket_count": 2,
  "is_invalidated": false,
  "created_time": "2023-03-01 04:59:59.999",
  "updated_time": "2023-03-01 04:59:59.999"
}
```


## Related topics

- [Credit Statements](/docs/diva-api/credit-statements.md)
- [Cardholder Statements](/docs/core-api/cardholder-statements.md)
- [About Credit Account Statements](/docs/developer-guides/about-credit-account-statements.md)
- [Transfers](/docs/core-api/digital-banking-transfers.md)
- [Payments](/docs/core-api/credit-account-payments.md)
