# Історія версій SDK

## Версія 0.2.2603-85

2026-02-27 22:51

* Додана можливість передачі `barcode` в ордері для відображення у фіскальному чеку Вчасно

## Версія 0.2.2508-80

2025-08-02 00:23

* Додана моживість отримання статусу оплати `getStatusByPaymentId()` за `paymentId`
* Додана можливість отримання квитанції `getReceiptByPaymentId()` за `paymentId`

## Версія 0.2.2406-70

2024-06-25 16:20

* Додана моживість отримання переліку `paymentType`, які доступні поточному мерчанти у відповіді на `defin.init()`
* Додана можливість отримання переліку paymentType окремим методом `defin?.availablePaymentTypes()`
* Додана можливість перевірки доступності метода оплати `defin?.isAvailablePaymentType()`

## Версія 0.2.2403-67

2024-03-26 03:47

* Виправлена помилка розрахунку ціни, зелажної від кількості
* Додана можливість відправки фіскального чеку, який створено за допомогою сервіса Вчасно. Якщо до ордера додати спецфиічні поля (email чи phone), Вчасно самостійно відправить створений чек клієнту

## Версія 0.2.2311-56

2023-11-16 16:50

* Назва змінної `userId` змінилась на `cashierId`

## Версія 0.2.2311-51

2023-11-01 09:48

* Додана відповідь на запит `defin.receipt`, яка має фіскальний чек у форматі `json`

## Версія 0.2.2310-49

2023-10-16 14:50

* Метод tap2phone став доступним для використання за допомогою загальної функції `defin.checkout`


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.defin.com.ua/sdk-documentation/readme/version_changes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
