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

# Cardholder Statements

> Use these endpoints to create and manage cardholder statements.

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 this API endpoint to generate statement information for cardholder accounts.

<h2 id="get_cardholder_statements">
  Retrieve statement data
</h2>

**Action:** `GET`\
**Endpoint:** `/v3/statements/{cardholderToken}/{issuedDate}`

Use this endpoint to retrieve a specific statement for a cardholder.

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

| Fields                                                                                            | Description                                                                                                                                                                                                                                                                                   |
| ------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| data<br /><br />array of objects<br /><br />Returned                                              | List of available statement objects.<br /><br />**Allowable Values:**<br /><br />Valid array of one or more `statement` objects                                                                                                                                                               |
| data\[].**start\_date**<br /><br />date<br /><br />Returned                                       | Date when the statement period began.<br /><br />**Allowable Values:**<br /><br />**Format:**<br />yyyy-MM-dd                                                                                                                                                                                 |
| data\[].**end\_date**<br /><br />date<br /><br />Returned                                         | Date when the statement period ended.<br /><br />**Allowable Values:**<br /><br />**Format:**<br />yyyy-MM-dd                                                                                                                                                                                 |
| data\[].**account\_numbers**<br /><br />array of strings<br /><br />Conditionally returned        | Array of account numbers associated with the cardholder.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                             |
| data\[].**routing\_number**<br /><br />string<br /><br />Conditionally returned                   | Bank routing number.<br /><br />**Allowable Values:**<br /><br />255 char max                                                                                                                                                                                                                 |
| data\[].**cycle\_start\_balance**<br /><br />decimal<br /><br />Returned                          | Starting balance of the statement cycle.<br /><br />**Allowable Values:**<br /><br />decimal<br /><br />**Format:**<br />0.00                                                                                                                                                                 |
| data\[].**cycle\_end\_balance**<br /><br />decimal<br /><br />Returned                            | Ending balance of the statement cycle.<br /><br />**Allowable Values:**<br /><br />decimal<br /><br />**Format:**<br />0.00                                                                                                                                                                   |
| data\[].**transactions**<br /><br />array of objects<br /><br />Returned                          | List of transaction objects made during the statement cycle.<br /><br />**Allowable Values:**<br /><br />Valid array of one or more `transaction` objects                                                                                                                                     |
| data\[].transactions\[].**amount**<br /><br />decimal<br /><br />Returned                         | Amount of the given transaction.<br /><br />**Allowable Values:**<br /><br />decimal<br /><br />**Format:**<br />0.00                                                                                                                                                                         |
| data\[].transactions\[].**date**<br /><br />datetime<br /><br />Returned                          | Date when the transaction took place.<br /><br />**Allowable Values:**<br /><br />**Format:**<br />yyyy-MM-dd                                                                                                                                                                                 |
| data\[].transactions\[].**transaction\_type**<br /><br />string<br /><br />Returned               | Type of transaction.<br /><br />**Allowable Values:**<br /><br />For a full list of transaction event types, see <a href="/core-api/event-types/#_transaction_events">transaction events</a>.                                                                                                 |
| data\[].transactions\[].**cardholder\_token**<br /><br />string<br /><br />Returned               | Unique identifier of the cardholder.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                                                                                                  |
| data\[].transactions\[].**account\_token**<br /><br />string<br /><br />Conditionally returned    | Unique identifier of the account.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                                                                                                     |
| data\[].transactions\[].**token**<br /><br />string<br /><br />Returned                           | Unique identifier of the transaction.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                                                                                                 |
| data\[].transactions\[].**currency\_code**<br /><br />string<br /><br />Conditionally returned    | The currency code of the transaction.<br /><br />**Allowable Values:**<br /><br />Valid three-character <a href="https://www.iso.org/iso-4217-currency-codes.html" target="_blank" rel="noopener">ISO 4217 currency code</a>, such as `EUR` or `USD`                                          |
| data\[].transactions\[].**transaction\_data**<br /><br />object<br /><br />Conditionally returned | Dynamic object containing transaction-specific fields. Structure can vary depending on `transaction_type`.<br /><br />**Allowable Values:**<br /><br />Existing JSON object containing information about a specific transaction                                                               |
| data\[].**cardholder\_tokens**<br /><br />array of strings<br /><br />Returned                    | List of tokens identifying the cardholders in the statement.<br /><br />**Allowable Values:**<br /><br />One or more cardholder tokens                                                                                                                                                        |
| data\[].**sort\_code**<br /><br />string<br /><br />Conditionally returned                        | Sort code for UK bank accounts.<br /><br />**Allowable Values:**<br /><br />6 char max                                                                                                                                                                                                        |
| data\[].**account\_type**<br /><br />undefined<br /><br />Conditionally returned                  | Type of account.<br /><br />**Allowable Values:**<br /><br />`CHECKING`, `SAVINGS`, `WALLET`, `DEPOSIT_ACCOUNT`                                                                                                                                                                               |
| data\[].**account\_token**<br /><br />string<br /><br />Conditionally returned                    | Unique identifier of the account.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                                                                                                     |
| data\[].**interest\_apy**<br /><br />decimal<br /><br />Conditionally returned                    | Annual Percentage Yield (APY) for interest calculations.<br /><br />**Allowable Values:**<br /><br />decimal<br /><br />**Format:**<br />0.00                                                                                                                                                 |
| data\[].**interest\_earned\_ytd**<br /><br />decimal<br /><br />Conditionally returned            | Interest earned year-to-date.<br /><br />**Allowable Values:**<br /><br />decimal<br /><br />**Format:**<br />0.00                                                                                                                                                                            |
| data\[].**fees\_ytd**<br /><br />decimal<br /><br />Conditionally returned                        | Sum of fees charged to the account year-to-date.<br /><br />**Allowable Values:**<br /><br />decimal<br /><br />**Format:**<br />0.00                                                                                                                                                         |
| data\[].**currency**<br /><br />string<br /><br />Conditionally returned                          | Currency used in a transaction.<br /><br />**Allowable Values:**<br /><br />Valid three-character <a href="https://www.iso.org/iso-4217-currency-codes.html" target="_blank" rel="noopener">ISO 4217 currency code</a>, such as `EUR` or `USD`                                                |
| is\_more<br /><br />boolean<br /><br />Returned                                                   | - A value of `true` indicates that more unreturned resources exist.<br />- A value of `false` indicates that no more unreturned resources exist.<br /><br />This field is returned if there are resources in your returned array.<br /><br />**Allowable Values:**<br /><br />`true`, `false` |
| start\_index<br /><br />integer<br /><br />Returned                                               | Sort order index of the first resource in the returned array. This field is returned if there are resources in your 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. This field is returned if there are resources in your returned array.<br /><br />**Allowable Values:**<br /><br />Any integer                                                                                                    |

<h2 id="get_statements_config_for_cardholder">
  Retrieve cardholder cycle date
</h2>

**Action:** `GET`\
**Endpoint:** `/v3/statements/config/{cardholderToken}`

Use this endpoint to retrieve the current cycle date for a cardholder.

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

| Fields                                             | Description                                                                   |
| -------------------------------------------------- | ----------------------------------------------------------------------------- |
| cycle\_date<br /><br />integer<br /><br />Returned | Date of the statement cycle.<br /><br />**Allowable Values:**<br /><br />1–31 |

<h2 id="update_statements_config_for_cardholder">
  Update cardholder cycle date
</h2>

**Action:** `PUT`\
**Endpoint:** `/v3/statements/config/{cardholderToken}`

Use this endpoint to update the statement cycle date for a cardholder.

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

| Fields                                             | Description                                                                   |
| -------------------------------------------------- | ----------------------------------------------------------------------------- |
| cycle\_date<br /><br />integer<br /><br />Required | Date of the statement cycle.<br /><br />**Allowable Values:**<br /><br />1–31 |

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

| Fields                                             | Description                                                                   |
| -------------------------------------------------- | ----------------------------------------------------------------------------- |
| cycle\_date<br /><br />integer<br /><br />Returned | Date of the statement cycle.<br /><br />**Allowable Values:**<br /><br />1–31 |

<h2 id="get_statements_config_for_program">
  Retrieve program configuration
</h2>

**Action:** `GET`\
**Endpoint:** `/v3/statements/config`

Use this endpoint to create the statement configuration data for a program. Sets one cycle date for the entire program.

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

| Fields                                                            | Description                                                                                                               |
| ----------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
| cycle\_date<br /><br />integer<br /><br />Conditionally returned  | Date of the statement cycle for all cardholders in the program.<br /><br />**Allowable Values:**<br /><br />1–31          |
| pdf\_enabled<br /><br />boolean<br /><br />Conditionally returned | Indicates whether PDF statements are enabled for the program.<br /><br />**Allowable Values:**<br /><br />`true`, `false` |

<h2 id="update_statements_config_for_program">
  Update program configuration
</h2>

**Action:** `PUT`\
**Endpoint:** `/v3/statements/config`

Use this endpoint to update the statement configuration data for a program. Sets one cycle date for entire program.

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

| Fields                                              | Description                                                                                                               |
| --------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
| cycle\_date<br /><br />integer<br /><br />Optional  | Date of the statement cycle for all cardholders in the program.<br /><br />**Allowable Values:**<br /><br />1–31          |
| pdf\_enabled<br /><br />boolean<br /><br />Optional | Indicates whether PDF statements are enabled for the program.<br /><br />**Allowable Values:**<br /><br />`true`, `false` |

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

| Fields                                                            | Description                                                                                                               |
| ----------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
| cycle\_date<br /><br />integer<br /><br />Conditionally returned  | Date of the statement cycle for all cardholders in the program.<br /><br />**Allowable Values:**<br /><br />1–31          |
| pdf\_enabled<br /><br />boolean<br /><br />Conditionally returned | Indicates whether PDF statements are enabled for the program.<br /><br />**Allowable Values:**<br /><br />`true`, `false` |

<h2 id="get_statements">
  Retrieve statement list
</h2>

**Action:** `GET`\
**Endpoint:** `/v3/statements/{cardholderToken}`

Use this endpoint to retrieve a list of available statements for a cardholder.

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

| Fields                                                  | Description                                                                                           |
| ------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
| issued\_start\_date<br /><br />date<br /><br />Optional | Start date for the statement.<br /><br />**Allowable Values:**<br /><br />**Format:**<br />yyyy-MM-dd |
| issued\_end\_date<br /><br />date<br /><br />Optional   | End date for the statement.<br /><br />**Allowable Values:**<br /><br />**Format:**<br />yyyy-MM-dd   |
| account\_token<br /><br />string<br /><br />Optional    | Token associated with a specific account.<br /><br />**Allowable Values:**<br /><br />64 char max     |

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

| Fields                                                                            | Description                                                                                                                                                                                                                                                                                   |
| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| data<br /><br />array of objects<br /><br />Returned                              | List of available statement summary objects.<br /><br />**Allowable Values:**<br /><br />Valid array of one or more `statement summary` objects                                                                                                                                               |
| data\[].**issued\_date**<br /><br />date<br /><br />Returned                      | Date the statement was issued.<br /><br />**Allowable Values:**<br /><br />**Format:**<br />yyyy-MM-dd                                                                                                                                                                                        |
| data\[].**cardholder\_token**<br /><br />string<br /><br />Conditionally returned | Unique identifier of the cardholder.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                                                                                                  |
| data\[].**account\_token**<br /><br />string<br /><br />Conditionally returned    | Unique identifier of the account.<br /><br />**Allowable Values:**<br /><br />36 char max                                                                                                                                                                                                     |
| is\_more<br /><br />boolean<br /><br />Returned                                   | - A value of `true` indicates that more unreturned resources exist.<br />- A value of `false` indicates that no more unreturned resources exist.<br /><br />This field is returned if there are resources in your returned array.<br /><br />**Allowable Values:**<br /><br />`true`, `false` |
| start\_index<br /><br />integer<br /><br />Returned                               | Sort order index of the first resource in the returned array. This field is returned if there are resources in your 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. This field is returned if there are resources in your returned array.<br /><br />**Allowable Values:**<br /><br />Any integer                                                                                                    |

<h2 id="get_cardholder_statements_download_url">
  Retrieve signed URL
</h2>

**Action:** `GET`\
**Endpoint:** `/v3/statements/{cardholderToken}/{issuedDate}/download`

Use this endpoint to retrieve a signed URL for downloading a PDF asset for a cardholder statement.

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

| Fields                                               | Description                                                                               |
| ---------------------------------------------------- | ----------------------------------------------------------------------------------------- |
| account\_token<br /><br />string<br /><br />Optional | Unique identifier of the account.<br /><br />**Allowable Values:**<br /><br />36 char max |

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

| Fields                                                                | Description                                                                                                                               |
| --------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
| token<br /><br />string<br /><br />Returned                           | Identifier of the statement asset.<br /><br />**Allowable Values:**<br /><br />255 char max                                               |
| short\_code<br /><br />string<br /><br />Returned                     | Short code associated with the card program.<br /><br />**Allowable Values:**<br /><br />Valid program short code                         |
| state<br /><br />string<br /><br />Returned                           | Status of the statement asset.<br /><br />**Allowable Values:**<br /><br />`PENDING`, `RENDERED`, `FAILED`                                |
| signed\_url<br /><br />object<br /><br />Returned                     | S3 URL location of the statement asset in PDF or HTML format.<br /><br />**Allowable Values:**<br /><br />Valid URL                       |
| signed\_url.**pdf**<br /><br />url<br /><br />Conditionally returned  | URL of the statement asset in PDF format.<br /><br />**Allowable Values:**<br /><br />Valid URL                                           |
| signed\_url.**html**<br /><br />url<br /><br />Conditionally returned | URL of the statement asset in HTML format.<br /><br />**Allowable Values:**<br /><br />Valid URL                                          |
| created\_time<br /><br />datetime<br /><br />Returned                 | Date and time when the statement was created, in UTC.<br /><br />**Allowable Values:**<br /><br />**Format:**<br />yyyy-MM-dd’T’HH:mm:ssZ |

<h2 id="create_cardholder_statements_asset">
  Create PDF asset
</h2>

**Action:** `POST`\
**Endpoint:** `/v3/statements/{cardholderToken}/{issuedDate}/download`

Use this endpoint to create a PDF asset for a cardholder statement.

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

| Fields                                               | Description                                                                               |
| ---------------------------------------------------- | ----------------------------------------------------------------------------------------- |
| account\_token<br /><br />string<br /><br />Optional | Unique identifier of the account.<br /><br />**Allowable Values:**<br /><br />64 char max |

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

| Fields                                                                | Description                                                                                                                               |
| --------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
| token<br /><br />string<br /><br />Returned                           | Identifier of the statement asset.<br /><br />**Allowable Values:**<br /><br />255 char max                                               |
| short\_code<br /><br />string<br /><br />Returned                     | Short code associated with the card program.<br /><br />**Allowable Values:**<br /><br />Valid program short code                         |
| state<br /><br />string<br /><br />Returned                           | Status of the statement asset.<br /><br />**Allowable Values:**<br /><br />`PENDING`, `RENDERED`, `FAILED`                                |
| signed\_url<br /><br />object<br /><br />Returned                     | S3 URL location of the statement asset in PDF or HTML format.<br /><br />**Allowable Values:**<br /><br />Valid URL                       |
| signed\_url.**pdf**<br /><br />url<br /><br />Conditionally returned  | URL of the statement asset in PDF format.<br /><br />**Allowable Values:**<br /><br />Valid URL                                           |
| signed\_url.**html**<br /><br />url<br /><br />Conditionally returned | URL of the statement asset in HTML format.<br /><br />**Allowable Values:**<br /><br />Valid URL                                          |
| created\_time<br /><br />datetime<br /><br />Returned                 | Date and time when the statement was created, in UTC.<br /><br />**Allowable Values:**<br /><br />**Format:**<br />yyyy-MM-dd’T’HH:mm:ssZ |


## Related topics

- [Statements](/docs/core-api/credit-account-statements.md)
- [Credit Statements](/docs/diva-api/credit-statements.md)
- [About Credit Account Statements](/docs/developer-guides/about-credit-account-statements.md)
- [2022 Release Notes](/docs/developer-guides/release-notes-2022.md)
- [2021 Release Notes](/docs/developer-guides/release-notes-2021.md)
