# List checkout sessions (/docs/api/checkout-sessions/list-checkout-sessions)

## List checkout sessions

`GET https://runepay.co/api/v1/checkout_sessions`

Scope: `checkout_sessions:read`

| Parameter | In | Type | Description |
| --- | --- | --- | --- |
| `limit` | query | integer | Page size, 1 to 100. |
| `starting_after` | query | string | An object id from the previous page; the page starts after it. |
| `expand[]` | query | string |  |
| `status` | query | string (`open`, `complete`, `expired`) |  |
| `payment_link` | query | string |  |
| `customer` | query | string |  |
| `client_reference_id` | query | string |  |
| `created[gte]` | query | string |  |
| `created[lte]` | query | string |  |

Response `200`:

```json
{
  "data": [
    {
      "id": "cs_01KA4XZY8T2R5M7P1Q4W6E8R0T",
      "object": "checkout_session",
      "livemode": false,
      "status": "open",
      "payment_status": "unpaid",
      "amount_subtotal": 1999,
      "amount_tax": 0,
      "amount_total": 1999,
      "currency": "USD",
      "tax_behavior": "exclusive",
      "line_items": {
        "object": "list",
        "url": "/api/v1/checkout_sessions/cs_01KA4XZY8T2R5M7P1Q4W6E8R0T/line_items",
        "data": [
          {
            "id": "li_01KA4XZY8T2R5M7P1Q4W6E8R0T",
            "object": "item",
            "currency": "USD",
            "quantity": 1,
            "price_data": {
              "currency": "USD",
              "unit_amount": 1999,
              "product_data": {
                "name": "Pro plan, 1 month"
              },
              "tax_code": "saas",
              "tax_behavior": "exclusive"
            },
            "amount_subtotal": 1999,
            "amount_tax": 0,
            "amount_total": 1999
          }
        ],
        "has_more": false
      },
      "description": "Pro plan, 1 month",
      "customer_email": null,
      "customer": null,
      "client_reference_id": "order_1042",
      "payment": null,
      "payment_link": null,
      "success_url": "https://merchant.example/thanks?session={CHECKOUT_SESSION_ID}",
      "cancel_url": null,
      "metadata": {
        "order_id": "1042"
      },
      "locale": "auto",
      "url": "https://runepay.co/pay/cs_01KA4XZY8T2R5M7P1Q4W6E8R0T",
      "expires_at": 1767312000,
      "expired_at": null,
      "created": 1767225600
    }
  ],
  "has_more": false
}
```

Errors: 400, 401, 403, 500, 503, with the [error shape](/docs/api/errors).
