# Billing cycles

`GET /v1/service/@id/cycle` · scope `services:read`

The current billing cycle and the cycles it can be changed to.

## HTTP request

| Item | Value |
| --- | --- |
| URL | `https://api.tino.vn/v1/service/@id/cycle` |
| Method | `GET` |
| Scope | `services:read` |
| Header | `Authorization: Bearer <token>` |
| Content-Type | — (no body) |
| Tokens that can call it | app tokens (`tinoat_`), personal API tokens (`tinopat_`) |

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | integer | yes | Service ID |

## Example request

```bash
curl "https://api.tino.vn/v1/service/100001/cycle" \
  -H "Authorization: Bearer $TINO_TOKEN"
```

`$TINO_TOKEN` is a token with the scope `services:read`. Path parameters in the example are sample values.

SDK ([SDK & examples](/en/docs/sdk)): Python `client.services.get_billing_cycles(id)`, Node.js `await client.services.getBillingCycles(id);`, PHP `$client->services->getBillingCycles($id);`.

## Example response

```json
{
 "current": "m",
 "cycles": []
}
```

Live sample from a test account with personal data masked; long arrays and strings are trimmed (`… N more item(s)`, `… N more line(s)`).
