# List checkout sessions

`GET https://morzepay.com/v1/checkout/sessions`

GET`/v1/checkout/sessions`

Returns your checkout sessions and payment pages, newest first.

Permission`checkout:read`

### Query parameters

`status`string

`open`, `complete` or `expired`.

`reference`string

Only sessions with this reference of yours.

`limit`integerdefault: 25

How many items to return, 1 to 100.

`starting_after`string

An `id` from the previous page. Returns the items after it.

### Returns

A list of checkout sessions.



## Example request

```bash
curl "https://morzepay.com/v1/checkout/sessions?status=complete&reference=order-77812" \
  -H "Authorization: Bearer $MORZEPAY_KEY"
```

## Example response (200)

```json
{
  "success": true,
  "data": {
    "items": [
      {
        "id": "cs_J9WN4dg0YnY6VjMMwq0kL1",
        "object": "checkout.session",
        "livemode": true,
        "status": "complete",
        "reusable": false,
        "url": "https://morzepay.com/c/83513594a9ee455aacf23ca24eeff21b",
        "title": "Order #77812",
        "description": null,
        "line_items": [
          {
            "description": "Rolex combo",
            "quantity": 2,
            "unit_amount": "7000.00",
            "amount": "14000.00"
          }
        ],
        "amount_total": "14000.00",
        "allow_custom_amount": false,
        "min_amount": null,
        "currency": "UGX",
        "fee_bearer": "wallet",
        "wallet_id": "wal_8fK2mQx7RtP4nVb9LcHs2w",
        "require_email": false,
        "require_name": false,
        "success_url": "https://yourshop.ug/thanks?session={CHECKOUT_SESSION_ID}",
        "cancel_url": "https://yourshop.ug/cart",
        "reference": "order-77812",
        "customer": {
          "name": null,
          "email": null,
          "phone": null
        },
        "metadata": null,
        "payments_count": 1,
        "amount_collected": "14000.00",
        "transaction_id": "txn_Rk3Lp9WmQ2vX7bN4cTz8Hd",
        "receipt_id": "rcpt_Gm4Tk8Wq2Nz6Lc3Vb7Xd9P",
        "receipt_url": "https://morzepay.com/r/9a8b7c6d5e4f30211a2b3c4d5e6f7a8b",
        "expires_at": "2026-10-29T09:00:23+03:00",
        "completed_at": "2026-10-28T09:03:40+03:00",
        "created_at": "2026-10-28T09:00:23+03:00"
      }
    ],
    "has_more": false
  }
}
```
