> ## Documentation Index
> Fetch the complete documentation index at: https://docs.r28.ai/charter/llms.txt
> Use this file to discover all available pages before exploring further.

# checkout_sessions_line_items

> List what a checkout session sold, with amounts and quantities.

<div className="tool-route"><span className="tool-row-method" data-method="GET">GET</span><code>{"https://api.stripe.com/v1/checkout/sessions/{session}/line_items"}</code></div>

```python stripe_checkout_sessions_line_items.py theme={null}
from charter.packs import stripe

result = await stripe.checkout_sessions_line_items.ainvoke({"session": ...})
```

<Note>
  Pages by cursor: `data[-1].id` is sent back as `starting_after`.
</Note>

## Path parameters

<div className="reference-table">
  | Field                                                           | Type     | Description                     |
  | --------------------------------------------------------------- | -------- | ------------------------------- |
  | `session` <span className="required" title="required">\*</span> | `string` | The ID of the checkout session. |
</div>

## Query parameters

<div className="reference-table">
  | Field           | Type      | Description                                                                                                                                                          |
  | --------------- | --------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `limit`         | `integer` | A limit on the number of objects to be returned, between 1 and 100. Defaults to 10. <span className="field-constraints">≥ 1; ≤ 100; defaults to `10`</span>          |
  | `startingAfter` | `string`  | A cursor for use in pagination: an object ID that defines your place in the list. To get the next page, pass the id of the last object in the current page.          |
  | `endingBefore`  | `string`  | A cursor for use in pagination: an object ID that defines your place in the list. Returns the page before the named object. Mutually exclusive with starting\_after. |
</div>
