# Chứng chỉ có thể mua

`GET /v1/certificate/order` · quyền `services:read`

Các loại chứng chỉ SSL đang bán, kèm giá theo số năm.

## HTTP request

| Mục | Giá trị |
| --- | --- |
| URL | `https://api.tino.vn/v1/certificate/order` |
| Method | `GET` |
| Quyền (scope) | `services:read` |
| Header | `Authorization: Bearer <token>` |
| Content-Type | — (không có body) |
| Token gọi được | token ứng dụng (`tinoat_`), token API cá nhân (`tinopat_`) |

## Tham số

Route này không có tham số.

## Example request

```bash
curl "https://api.tino.vn/v1/certificate/order" \
  -H "Authorization: Bearer $TINO_TOKEN"
```

`$TINO_TOKEN` là token có quyền `services:read`.

SDK ([SDK & Ví dụ](/docs/sdk)): Python `client.certificates.list_products()`, Node.js `await client.certificates.listProducts();`, PHP `$client->certificates->listProducts();`.

## Example response

```json
{
 "products": [
  {
   "id": "26",
   "name": "Comodo PositiveSSL",
   "description": "<ul></ul>",
   "category": "Comodo SSL",
   "category_url": "comodo-ssl",
   "periods": [
    {
     "years": 1,
     "price": 175000,
     "renew": 175000
    },
    {
     "years": 2,
     "price": 297600,
     "renew": 297600
    },
    "… 1 more item(s)"
   ]
  },
  {
   "id": "27",
   "name": "Comodo PositiveSSL Wildcard",
   "description": "<ul></ul>",
   "category": "Comodo SSL",
   "category_url": "comodo-ssl",
   "periods": [
    {
     "years": 1,
     "price": 2139000,
     "renew": 2139000
    },
    {
     "years": 2,
     "price": 4278000,
     "renew": 4278000
    },
    "… 1 more item(s)"
   ]
  },
  "… 12 more item(s)"
 ]
}
```

Mẫu thật từ tài khoản thử, đã che dữ liệu cá nhân; mảng và chuỗi dài được rút gọn (`… N more item(s)`, `… N more line(s)`).
