> ## Documentation Index
> Fetch the complete documentation index at: https://dev.chargily.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Retrieve a checkout's items

> Retrieves all the items of a checkout.

## Path parameters

<ParamField path="id" type="string">
  The ID of the checkout.
</ParamField>

## Query parameters

<ParamField query="per_page" type="integer">
  A numeric value indicating the quantity of checkouts to be returned with the
  request, with a minimum value of 1 and a maximum value of 50.
</ParamField>

## Returns

A key-value array, containing a data property which is an array of all the items of the checkout, limited to a maximum of `per_page` value.

<ResponseExample>
  ```json Response theme={null}
  {
    "livemode": false,
    "current_page": 1,
    "data": [
      {
        "id": "01hhhtkgqfqq3azf2dag3qv0eh",
        "entity": "price",
        "amount": 2500,
        "quantity": 1,
        "currency": "dzd",
        "metadata": null,
        "created_at": 1702479119,
        "updated_at": 1702479119,
        "product_id": "01hhhtkg70gca88n1h65wpe8gn"
      },
      {
        "id": "01hhhtkgqsxmdsse82vnmeg26n",
        "entity": "price",
        "amount": 5000,
        "quantity": 10,
        "currency": "dzd",
        "metadata": null,
        "created_at": 1702479119,
        "updated_at": 1702479119,
        "product_id": "01hhhtkg70gca88n1h65wpe8gn"
      }
    ],
    "first_page_url": "https://pay.chargily.net/test/api/v2/checkouts/01hhhv1s23gpcsx40az6z9sy71/items?page=1",
    "last_page": 1,
    "last_page_url": "https://pay.chargily.net/test/api/v2/checkouts/01hhhv1s23gpcsx40az6z9sy71/items?page=1",
    "next_page_url": null,
    "path": "https://pay.chargily.net/test/api/v2/checkouts/01hhhv1s23gpcsx40az6z9sy71/items",
    "per_page": 10,
    "prev_page_url": null,
    "total": 2
  }
  ```
</ResponseExample>
