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

# قائمة شحنات الإنترنت

> احصل على قائمة مقسَّمة إلى صفحات لمعاملات شحن الإنترنت

<div dir="rtl">
  ## نظرة عامة

  يعيد قائمة مقسَّمة إلى صفحات لجميع معاملات شحن الإنترنت مع إمكانية التصفية حسب التاريخ.

  ## معاملات الاستعلام

  <ParamField query="page" type="integer" default={1}>
    رقم الصفحة (الحد الأدنى: 1)
  </ParamField>

  <ParamField query="pageSize" type="integer" default={20}>
    العناصر في الصفحة (الحد الأدنى: 1، الحد الأقصى: 100)
  </ParamField>

  <ParamField query="from" type="string">
    تاريخ البداية (ISO 8601)
  </ParamField>

  <ParamField query="to" type="string">
    تاريخ النهاية (ISO 8601)
  </ParamField>

  ## أمثلة

  <CodeGroup>
    ```bash cURL theme={null}
    curl "https://api.oneclickdz.com/v3/internet/list?page=1&pageSize=20" \
      -H "X-Access-Token: YOUR_API_KEY"
    ```

    ```javascript Node.js theme={null}
    const response = await fetch(
      "https://api.oneclickdz.com/v3/internet/list?page=1&pageSize=20",
      { headers: { "X-Access-Token": "YOUR_API_KEY" } }
    );
    const { data } = await response.json();
    ```

    ```python Python theme={null}
    response = requests.get(
        'https://api.oneclickdz.com/v3/internet/list',
        headers={'X-Access-Token': 'YOUR_API_KEY'},
        params={'page': 1, 'pageSize': 20}
    )
    ```

    ```php PHP theme={null}
    <?php
    $ch = curl_init();
    $url = 'https://api.oneclickdz.com/v3/internet/list?page=1&pageSize=20';
    curl_setopt($ch, CURLOPT_URL, $url);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    curl_setopt($ch, CURLOPT_HTTPHEADER, ['X-Access-Token: YOUR_API_KEY']);
    $response = curl_exec($ch);
    $data = json_decode($response, true);
    ?>
    ```
  </CodeGroup>

  ### مثال الاستجابة

  ```json theme={null}
  {
    "success": true,
    "data": {
      "topups": [
        {
          "_id": "6901616fe9e88196b4eb64b2",
          "ref": "internet-order-001",
          "status": "FULFILLED",
          "type": "ADSL",
          "number": "036362608",
          "topup_amount": 1000,
          "card_code": "123456789012",
          "num_trans": "AT-2025-12345",
          "created_at": "2025-10-29T01:00:00.000Z"
        }
      ]
    },
    "meta": {
      "pagination": {
        "currentPage": 1,
        "totalPages": 5,
        "totalItems": 87,
        "hasNextPage": true
      }
    }
  }
  ```

  ## روابط ذات صلة

  <CardGroup cols={2}>
    <Card title="إرسال الشحن" href="/ar/api-reference/internet/send-topup">
      إنشاء طلب جديد
    </Card>

    <Card title="قائمة المنتجات" href="/ar/api-reference/internet/list-products">
      البطاقات المتاحة
    </Card>
  </CardGroup>
</div>
