Skip to content
Docs
API 1.0.0 · 22 Nov 2026

Search the docs

    Română

    Tills

    The tills of your account: the current order, the network, the queue of stored sales and the card reader.

    On this page

    List tills

    GET /pos/v1/tills

    Returns the tills of your account. Each carries the id of its current order, its business day, the state of its network and its queue of stored sales, and the state of its card reader.

    Parameters

    NameInTypeRequiredMeaning
    limit query integer Nooptional Records per page, from 1 to 500. Default 100 Range 1 – 500
    cursor query string Nooptional The nextCursor of the previous page.

    Responses

    StatusMeaningBody
    200 A page of tills. TillPage
    401 The token is missing, not valid or has ended. Error
    403 The token does not give access to this data. Error
    429 Too many requests. The request was not processed. Retry-After gives the seconds to wait. Error
    503 The service cannot answer now. Error

    Request

    curl

    curl "$RDC_BASE_URL/pos/v1/tills?limit=20" \
      -H "Authorization: Bearer $RDC_TOKEN"

    JavaScript

    const response = await fetch(`${process.env.RDC_BASE_URL}/pos/v1/tills?limit=20`, {
      method: 'GET',
      headers: {
        Authorization: `Bearer ${process.env.RDC_TOKEN}`,
      },
    });
    const result = await response.json();

    Python

    import os
    import requests
    
    response = requests.request(
        'GET',
        f'{os.environ["RDC_BASE_URL"]}/pos/v1/tills?limit=20',
        headers={
            'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
        },
    )
    result = response.json()

    PHP

    <?php
    
    $curl = curl_init(getenv('RDC_BASE_URL') . '/pos/v1/tills?limit=20');
    curl_setopt_array($curl, [
        CURLOPT_CUSTOMREQUEST => 'GET',
        CURLOPT_RETURNTRANSFER => true,
        CURLOPT_HTTPHEADER => [
            'Authorization: Bearer ' . getenv('RDC_TOKEN'),
        ],
    ]);
    $result = json_decode(curl_exec($curl), true);
    curl_close($curl);

    C#

    using System.Net.Http.Headers;
    
    var client = new HttpClient();
    var request = new HttpRequestMessage(HttpMethod.Get, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/pos/v1/tills?limit=20");
    request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
    var response = await client.SendAsync(request);
    var result = await response.Content.ReadAsStringAsync();

    Response 200

    JSON

    {
      "items": [
        {
          "id": "e57a3b65-d690-4e6c-8a6b-8f946c4e6610",
          "code": "till-1",
          "name": "Till 1",
          "cashier": "Cristina Lungu",
          "businessDayId": "aaed5ba1-2a19-4c94-ac7f-119c9288a12c",
          "currentOrderId": "9d8c072d-afa0-4272-97ab-4443d54d5b62",
          "network": "online",
          "queue": {
            "count": 0,
            "oldestAt": null,
            "ageSeconds": 0
          },
          "reader": {
            "state": "idle",
            "orderId": null,
            "amount": "0.00",
            "attempt": 0
          }
        }
      ],
      "nextCursor": null
    }

    Get a till

    GET /pos/v1/tills/{tillId}

    Returns the till. network is offline while the till has no network; then cash sales are stored in its queue (queue.count) and posted in order when the network is back.

    Parameters

    NameInTypeRequiredMeaning
    tillId path string (uuid) Yesrequired The till.

    Responses

    StatusMeaningBody
    200 The till. Till
    401 The token is missing, not valid or has ended. Error
    403 The token does not give access to this data. Error
    404 The till does not exist in your account. Error
    429 Too many requests. The request was not processed. Retry-After gives the seconds to wait. Error
    503 The service cannot answer now. Error

    Request

    curl

    curl "$RDC_BASE_URL/pos/v1/tills/e57a3b65-d690-4e6c-8a6b-8f946c4e6610" \
      -H "Authorization: Bearer $RDC_TOKEN"

    JavaScript

    const response = await fetch(`${process.env.RDC_BASE_URL}/pos/v1/tills/e57a3b65-d690-4e6c-8a6b-8f946c4e6610`, {
      method: 'GET',
      headers: {
        Authorization: `Bearer ${process.env.RDC_TOKEN}`,
      },
    });
    const result = await response.json();

    Python

    import os
    import requests
    
    response = requests.request(
        'GET',
        f'{os.environ["RDC_BASE_URL"]}/pos/v1/tills/e57a3b65-d690-4e6c-8a6b-8f946c4e6610',
        headers={
            'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
        },
    )
    result = response.json()

    PHP

    <?php
    
    $curl = curl_init(getenv('RDC_BASE_URL') . '/pos/v1/tills/e57a3b65-d690-4e6c-8a6b-8f946c4e6610');
    curl_setopt_array($curl, [
        CURLOPT_CUSTOMREQUEST => 'GET',
        CURLOPT_RETURNTRANSFER => true,
        CURLOPT_HTTPHEADER => [
            'Authorization: Bearer ' . getenv('RDC_TOKEN'),
        ],
    ]);
    $result = json_decode(curl_exec($curl), true);
    curl_close($curl);

    C#

    using System.Net.Http.Headers;
    
    var client = new HttpClient();
    var request = new HttpRequestMessage(HttpMethod.Get, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/pos/v1/tills/e57a3b65-d690-4e6c-8a6b-8f946c4e6610");
    request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
    var response = await client.SendAsync(request);
    var result = await response.Content.ReadAsStringAsync();

    Response 200

    JSON

    {
      "id": "e57a3b65-d690-4e6c-8a6b-8f946c4e6610",
      "code": "till-1",
      "name": "Till 1",
      "cashier": "Cristina Lungu",
      "businessDayId": "aaed5ba1-2a19-4c94-ac7f-119c9288a12c",
      "currentOrderId": "9d8c072d-afa0-4272-97ab-4443d54d5b62",
      "network": "online",
      "queue": {
        "count": 0,
        "oldestAt": null,
        "ageSeconds": 0
      },
      "reader": {
        "state": "idle",
        "orderId": null,
        "amount": "0.00",
        "attempt": 0
      }
    }