# List orders

Source: https://checkslip.com/en/docs/list-orders

GET `https://api.checkslip.com/api/billing/orders`

API key

Lists the account's credit-package orders, newest first, with their status: PENDING (waiting for payment), PAID, CANCELLED or FLAGGED (being checked by our team). Needs an API key with billing:read.

## Parameters

| Field | In | Type | Required |
| --- | --- | --- | --- |
| `cursor` | query | `string` | no |
| `limit` | query | `integer` | no |
| `status` | query | `PENDING \| PAID \| CANCELLED \| FLAGGED` | no |

## Responses

### 200 `application/json`

### Possible errors

400 401 403 500

An error as Problem Details. All codes are listed at [Error codes](https://checkslip.com/en/docs/errors)

**cURL**

```bash
curl https://api.checkslip.com/api/billing/orders \
  -H "Authorization: Bearer $CHECKSLIP_API_KEY"
```

**Node.js**

```javascript
const res = await fetch("https://api.checkslip.com/api/billing/orders", {
  headers: {
    Authorization: `Bearer ${process.env.CHECKSLIP_API_KEY}`,
  },
});
const data = await res.json();
```

**Python**

```python
import os

import requests

res = requests.get(
    "https://api.checkslip.com/api/billing/orders",
    headers={
        "Authorization": f"Bearer {os.environ['CHECKSLIP_API_KEY']}",
    },
)
data = res.json()
```

```json
{
  "next_cursor": "string",
  "items": [
    {
      "id": "0b6c2f5e-8a41-4d1e-9c3a-5f7e2d18a6b4",
      "status": "PENDING",
      "package_code": "string",
      "package_name_th": "string",
      "credits": 1,
      "amount": {
        "satang": 5000,
        "currency": "THB"
      },
      "payment_method": "CARD",
      "receipt_id": "0b6c2f5e-8a41-4d1e-9c3a-5f7e2d18a6b4",
      "created_at": "2026-11-05T09:30:00+07:00",
      "paid_at": "2026-11-05T09:30:00+07:00",
      "cancelled_at": "2026-11-05T09:30:00+07:00",
      "confirming": true,
      "review_reason": "string"
    }
  ]
}
```
